#include <dpllt.h>
Inheritance diagram for SAT::DPLLT:
Definition at line 19 of file dpllt.h.
|
|
|
|
|
Constructor. The client constructing DPLLT must provide an implementation of TheoryAPI. It may also optionally provide an implementation of Decider. If decider is NULL, then the DPLLT class must make its own decisions. |
|
|
|
Definition at line 105 of file dpllt.h. References d_theoryAPI. Referenced by SATAssignmentHook(), SATDecisionHook(), SATDeductionHook(), and SATDLevelHook(). |
|
Definition at line 106 of file dpllt.h. References d_decider. Referenced by SATDecisionHook(). |
|
Check the satisfiability of a set of clauses in the current context. If the result is SATISFIABLE, the DPLLT engine should remain in the state containing the satisfiable assignment until returnFromSat() is called. If the result is UNSAT or ABORT, the DPLLT engine should return to the state it was in when called. Note that it should be possible to call checkSat multiple times, even if the result is true (each additional call should use the context left by the previous call). Implemented in SAT::DPLLTBasic. Referenced by CVCL::SearchSat::check(). |
|
Continue checking the last check with additional constraints. Should only be called after a previous call to checkSat (or continueCheck) that returned SATISFIABLE. It should add the clauses in cnf to the existing clause database and search for a satisfying assignment. As with checkSat, if the result is SATISFIABLE, the DPLLT engine should remain in the state containing the satisfiable assignment until returnFromSat() is called. Note that returnFromSat should return to the state just before the last call to checkSat, NOT the last call to continueCheck. Similarly, if the result is UNSAT or ABORT, the DPLLT engine should return to the state it was in when checkSat was last called. Implemented in SAT::DPLLTBasic. Referenced by CVCL::SearchSat::check(). |
|
Get value of variable: unassigned, false, or true.
Implemented in SAT::DPLLTBasic. |
|
Return to the state just before the last satisfiable call to checkSat. Each time a call to checkSat returns SATISFIABLE, the resulting assignment is retained. Multiple calls to checkSat can be used to refine assignments, adding additional constraints each time. returnFromSat() returns to the state just before the last call to checkSat which returned SATISFIABLE. Implemented in SAT::DPLLTBasic. Referenced by CVCL::SearchSat::restoreDPLLT(). |
|
Definition at line 92 of file dpllt.h. Referenced by SAT::DPLLTBasic::checkSat(), SAT::DPLLTBasic::continueCheck(), and theoryAPI(). |
|
Definition at line 93 of file dpllt.h. Referenced by decider(). |