BooleanFunctions Module
This module implements functions for generating some special boolean functions like arithmetic circuits for addition, subtraction, multiplication, threshold functions, the hidden weighted bit functions, the queen's problem, and the pigeonhole problems.
Functions and values
Function or value | Description |
|
|
|
Make a nxn-bit matrix with variables names xij where x is given as argument
|
|
Make a n-bit vector with variables names xi where x is given as argument
|
|
|
|
|
|
|
|
This function computes the hidden weighted bit function which has only exponentially sized BDDs. It is the disjunction of all formulas x[k] & (MkExactlyKofN (k+1) x) for k in [0..n-1] where n is the length of x, and moreover at least one of the x[i] must hold.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
compute propositional logic formula to state that N queens can be placed on a NxN board such that none can beat any other one.
|