package minisat
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=e407a60be9c495d449be8a0ad955941ac1639515bad19fdbacd4a15d5aaf6605
sha512=17a5eafd2afb2cb3e829a0b7eb32c14de5ebeeaed12ecfc4f58410c9b582918595c6c31facbbda126e9fd394d3846e14f961cab529d41ac82b0775930246e5fa
doc/minisat/Minisat/index.html
Module Minisat
Source
Bindings to Minisat.
An instance of minisat (stateful)
Add a clause (as a list of literals) to the solver state.
Add a clause (as an array of literals) to the solver state.
Perform simplifications on the solver state. Speeds up later manipulations on the solver state, e.g. calls to solve
.
Check whether the current solver state is satisfiable, additionally assuming that the literals provided in assumptions
are assigned to true. After solve
terminates (raising Unsat
or not), the solver state is unchanged: the literals in assumptions
are only considered to be true for the duration of the query.
Returns the assignment level for this literal at level 0, if assigned there, or V_undef
. If lit
is not assigned at level 0, this returns V_undef
even when the literal has a value in the current model.
Returns the subset of assumptions of a solver that returned "unsat" when called with solve ~assumptions s
.