SMT-RAT
24.02
Toolbox for Strategic and Parallel Satisfiability-Modulo-Theories Solving
|
Base class for variable schedulers. More...
#include <VarScheduler.h>
Public Member Functions | |
template<typename BaseModule > | |
VarSchedulerBase (BaseModule &baseModule) | |
void | rebuild () |
Rebuild heap. More... | |
void | insert (Minisat::Var) |
Insert a variable. More... | |
Minisat::Lit | pop () |
Returns the next variable to be decided. More... | |
bool | empty () |
Check if empty. More... | |
void | print () const |
Check if variable is contained. More... | |
void | increaseActivity (Minisat::Var) |
void | decreaseActivity (Minisat::Var) |
void | rebuildActivities () |
template<typename Constraints > | |
void | rebuildTheoryVars (const Constraints &) |
void | attachClause (Minisat::CRef) |
void | detachClause (Minisat::CRef) |
void | relocateClauses (std::function< void(Minisat::CRef &)>) |
Protected Attributes | |
std::function< double(Minisat::Var)> | getActivity |
std::function< char(Minisat::Var)> | getPolarity |
std::function< void(Minisat::Var, bool)> | setPolarity |
std::function< bool(Minisat::Var)> | isDecisionVar |
std::function< bool(Minisat::Var)> | isBoolValueUndef |
std::function< bool(Minisat::Var)> | isTheoryAbstraction |
std::function< const FormulaT &(Minisat::Var)> | reabstractVariable |
std::function< const FormulaT &(Minisat::Lit)> | reabstractLiteral |
std::function< const Minisat::Clause &(Minisat::CRef)> | getClause |
std::function< Minisat::lbool(Minisat::Var)> | getBoolVarValue |
std::function< Minisat::lbool(Minisat::Lit)> | getBoolLitValue |
std::function< unsigned(const FormulaT &)> | currentlySatisfiedByBackend |
std::function< Minisat::Var(const FormulaT &)> | abstractVariable |
std::function< const Minisat::Lit(const FormulaT &)> | abstractLiteral |
std::function< bool(const FormulaT &)> | isAbstractedFormula |
Base class for variable schedulers.
Removes the need to implement stubs.
During instantiation, the Scheduler is constructed with a const SATModule& as parameter.
Definition at line 15 of file VarScheduler.h.
|
inline |
Definition at line 36 of file VarScheduler.h.
|
inline |
Definition at line 104 of file VarScheduler.h.
|
inline |
Definition at line 94 of file VarScheduler.h.
|
inline |
Definition at line 107 of file VarScheduler.h.
|
inline |
Check if empty.
Definition at line 77 of file VarScheduler.h.
|
inline |
Definition at line 91 of file VarScheduler.h.
|
inline |
|
inline |
Returns the next variable to be decided.
Returns and removes the next variable to be decided.
Definition at line 72 of file VarScheduler.h.
|
inline |
|
inline |
Rebuild heap.
Definition at line 57 of file VarScheduler.h.
|
inline |
Definition at line 97 of file VarScheduler.h.
|
inline |
Definition at line 101 of file VarScheduler.h.
|
inline |
Definition at line 110 of file VarScheduler.h.
|
protected |
Definition at line 31 of file VarScheduler.h.
|
protected |
Definition at line 30 of file VarScheduler.h.
|
protected |
Definition at line 29 of file VarScheduler.h.
|
protected |
Definition at line 18 of file VarScheduler.h.
|
protected |
Definition at line 28 of file VarScheduler.h.
|
protected |
Definition at line 27 of file VarScheduler.h.
|
protected |
Definition at line 26 of file VarScheduler.h.
|
protected |
Definition at line 19 of file VarScheduler.h.
|
protected |
Definition at line 32 of file VarScheduler.h.
|
protected |
Definition at line 22 of file VarScheduler.h.
|
protected |
Definition at line 21 of file VarScheduler.h.
|
protected |
Definition at line 23 of file VarScheduler.h.
|
protected |
Definition at line 25 of file VarScheduler.h.
|
protected |
Definition at line 24 of file VarScheduler.h.
|
protected |
Definition at line 20 of file VarScheduler.h.