A General use boolean function header unit.
|
|
||
|---|---|---|
| source | ||
| .gitattributes | ||
| .gitignore | ||
| CmakeLists.txt | ||
| README.md | ||
General Boolean Functions
A general-use boolean function header unit with example.
What Does the Header Provide?
The header does provide:
-
A generalized way to define evaluable Boolean formulas of arbitrary logic and arbitrary variables.
-
AND, OR, and NOT operations (easily extendable to new logic operations).
-
Methods to assert if the formula is in CNF/DNF form.
The header does not provide: Though the example shows possible methods for doing all of the following
-
A shorthand to define a formula.
-
A set format for evaluation (i.e., the user must define a function to communicate variable assignments).
-
Any variable naming/organization scheme or tools.