SatisfiabilityInstances
SatisfiabilityInstances(boolean-expr, list-of-variables)
test whether the
boolean-expr
is satisfiable by a combination of booleanFalse
andTrue
values for thelist-of-variables
and return exactly one instance ofTrue, False
combinations if possible.
SatisfiabilityInstances(boolean-expr, list-of-variables, combinations)
test whether the
boolean-expr
is satisfiable by a combination of booleanFalse
andTrue
values for thelist-of-variables
and return up tocombinations
instances ofTrue, False
combinations if possible.
See
Examples
>> SatisfiabilityInstances((a || b) && (! a || ! b), {a, b}, All){{False,True},{True,False}}
Implementation status
- ✅ - full supported