|
Basic bdd operations.
The bdd_apply function performs all of the basic bdd operations with two operands, such as AND, OR etc. The l argument is the left bdd operand and r is the right operand. The op argument is the requested operation and must be one of the following
Identifier | Description | Truth table | C++ opr |
bddop_and | logical and () | [0,0,0,1] | & |
bddop_xor | logical xor () | [0,1,1,0] | \^ |
bddop_or | logical or () | [0,1,1,1] | | |
bddop_nand | logical not-and | [1,1,1,0] | |
bddop_nor | logical not-or | [1,0,0,0] | |
bddop_imp | implication () | [1,1,0,1] | >> |
bddop_biimp | bi-implication () | [1,0,0,1] | |
bddop_diff | set difference () | [0,0,1,0] | - |
bddop_less | less than () | [0,1,0,0] | < |
bddop_invimp | reverse implication () | [1,0,1,1] | << |
- Returns:
- The result of the operation.
- See also:
- bdd_ite
|