#include <sat_api.h>
Definition at line 24 of file sat_api.h.
typedef enum SatSolver::SATStatus SatSolver::SATStatus |
enum SatSolver::SATStatus |
SatSolver * SatSolver::Create | ( | ) | [static] |
virtual int SatSolver::NumVariables | ( | ) | [pure virtual] |
virtual Var SatSolver::AddVariables | ( | int | nvars | ) | [pure virtual] |
Referenced by SAT::DPLLTBasic::addNewClauses(), AddVariable(), and SAT::DPLLTBasic::generate_CDB().
Var SatSolver::AddVariable | ( | ) | [inline] |
virtual Var SatSolver::GetVar | ( | int | varIndex | ) | [pure virtual] |
Referenced by SAT::DPLLTBasic::checkSat(), SAT::DPLLTBasic::cvc2SAT(), and SAT::DPLLTBasic::getValue().
virtual int SatSolver::GetVarIndex | ( | Var | v | ) | [pure virtual] |
Referenced by SAT::DPLLTBasic::SAT2cvc(), and SATAssignmentHook().
virtual Var SatSolver::GetFirstVar | ( | ) | [pure virtual] |
Referenced by SAT::DPLLTBasic::cvc2SAT().
Referenced by SAT::DPLLTBasic::SAT2cvc(), and SAT::DPLLTBasic::verify_solution().
virtual int SatSolver::GetPhaseFromLit | ( | Lit | lit | ) | [pure virtual] |
Referenced by SAT::DPLLTBasic::SAT2cvc(), and SAT::DPLLTBasic::verify_solution().
virtual int SatSolver::NumClauses | ( | ) | [pure virtual] |
Referenced by PrintStatistics().
virtual bool SatSolver::DeleteClause | ( | Clause | clause | ) | [inline, virtual] |
virtual Clause SatSolver::GetClause | ( | int | clauseIndex | ) | [pure virtual] |
virtual Clause SatSolver::GetFirstClause | ( | ) | [pure virtual] |
Referenced by SAT::DPLLTBasic::verify_solution().
Referenced by SAT::DPLLTBasic::verify_solution().
Referenced by SAT::DPLLTBasic::verify_solution().
virtual SATStatus SatSolver::Satisfiable | ( | bool | allowNewClauses = false |
) | [pure virtual] |
Referenced by SAT::DPLLTBasic::checkSat().
virtual int SatSolver::GetVarAssignment | ( | Var | var | ) | [pure virtual] |
Referenced by SAT::DPLLTBasic::checkSat(), SAT::DPLLTBasic::getValue(), and SAT::DPLLTBasic::verify_solution().
virtual SATStatus SatSolver::Continue | ( | ) | [pure virtual] |
Referenced by SAT::DPLLTBasic::continueCheck().
virtual void SatSolver::Restart | ( | ) | [pure virtual] |
virtual void SatSolver::Reset | ( | ) | [pure virtual] |
virtual void SatSolver::RegisterDLevelHook | ( | void(*)(void *, int) | f, | |
void * | cookie | |||
) | [pure virtual] |
Referenced by SAT::DPLLTBasic::createManager().
virtual void SatSolver::RegisterDecisionHook | ( | Lit(*)(void *, bool *) | f, | |
void * | cookie | |||
) | [pure virtual] |
Referenced by SAT::DPLLTBasic::createManager().
virtual void SatSolver::RegisterAssignmentHook | ( | void(*)(void *, Var, int) | f, | |
void * | cookie | |||
) | [pure virtual] |
Referenced by SAT::DPLLTBasic::createManager().
virtual void SatSolver::RegisterDeductionHook | ( | void(*)(void *) | f, | |
void * | cookie | |||
) | [pure virtual] |
Referenced by SAT::DPLLTBasic::createManager().
virtual bool SatSolver::SetBudget | ( | int | budget | ) | [inline, virtual] |
virtual bool SatSolver::SetMemLimit | ( | int | mem_limit | ) | [inline, virtual] |
virtual bool SatSolver::SetRandomness | ( | int | n | ) | [inline, virtual] |
virtual bool SatSolver::SetRandSeed | ( | int | seed | ) | [inline, virtual] |
virtual bool SatSolver::EnableClauseDeletion | ( | ) | [inline, virtual] |
virtual bool SatSolver::DisableClauseDeletion | ( | ) | [inline, virtual] |
virtual int SatSolver::GetBudgetUsed | ( | ) | [inline, virtual] |
virtual int SatSolver::GetMemUsed | ( | ) | [inline, virtual] |
virtual int SatSolver::GetNumDecisions | ( | ) | [inline, virtual] |
virtual int SatSolver::GetNumConflicts | ( | ) | [inline, virtual] |
virtual int SatSolver::GetNumExtConflicts | ( | ) | [inline, virtual] |
virtual float SatSolver::GetTotalTime | ( | ) | [inline, virtual] |
virtual float SatSolver::GetSATTime | ( | ) | [inline, virtual] |
virtual int SatSolver::GetNumLiterals | ( | ) | [inline, virtual] |
virtual int SatSolver::GetNumDeletedClauses | ( | ) | [inline, virtual] |
virtual int SatSolver::GetNumDeletedLiterals | ( | ) | [inline, virtual] |
virtual int SatSolver::GetNumImplications | ( | ) | [inline, virtual] |
virtual int SatSolver::GetMaxDLevel | ( | ) | [inline, virtual] |
void SatSolver::PrintStatistics | ( | std::ostream & | os = std::cout |
) |
Definition at line 21 of file sat_api.cpp.
References std::endl(), GetBudgetUsed(), GetMaxDLevel(), GetMemUsed(), GetNumConflicts(), GetNumDecisions(), GetNumDeletedClauses(), GetNumDeletedLiterals(), GetNumExtConflicts(), GetNumImplications(), GetNumLiterals(), GetSATTime(), GetTotalTime(), NumClauses(), and NumVariables().
Referenced by SAT::DPLLTBasic::handle_result().