minTruthtable(tt, flags)

版本 1.4.0.0 (31.0 KB) 作者: Petter
Converts a 2^N bits long truth table into an AND-OR net.
1.0K 次下载
更新时间 2017/5/9

查看许可证

This is an implementation of the Quine-McCluskey algorithm, optimized for speed rather than readability.
It may guarantee optimality (controllable using flags). If you have a big problem and an implementation of the Espresso algorithm, use that one instead.
It takes a string containing '0', '1' and/or '-'.
It handles don't-cares.
It converts one single truth table at a time, and hence does NOT handles grid sharing.

引用格式

Petter (2024). minTruthtable(tt, flags) (https://www.mathworks.com/matlabcentral/fileexchange/37118-mintruthtable-tt-flags), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2012a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Dictionaries 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.4.0.0

Speed improvements.
Peak memory reduction in some cases.
Bug fix for 2^15-sized inputs.

1.3.0.0

Fixing a backward compatibility bug, Thank you KuyaRenzMo for pointing it out.

1.2.0.0

1. It can now guarantee optimality (selectable using optional flags), using a built-in optimizer.
2. Verbatim improvement: Also print 8 or 16 element kmap.

1.1.0.0

Added an example in the help text (top comment), and added the "y = ..." string to the printed summary (when nargout=0).

1.0.0.0