SatSolver Class Reference

#include <sat_api.h>

Inheritance diagram for SatSolver:

Inheritance graph
[legend]
List of all members.

Public Types

Public Member Functions

Static Public Member Functions

Classes


Detailed Description

Definition at line 24 of file sat_api.h.


Member Typedef Documentation

typedef enum SatSolver::SATStatus SatSolver::SATStatus
 


Member Enumeration Documentation

enum SatSolver::SATStatus
 

Enumerator:
UNKNOWN 
UNSATISFIABLE 
SATISFIABLE 
BUDGET_EXCEEDED 
OUT_OF_MEMORY 

Definition at line 26 of file sat_api.h.


Constructor & Destructor Documentation

SatSolver::SatSolver  )  [inline]
 

Definition at line 35 of file sat_api.h.

virtual SatSolver::~SatSolver  )  [inline, virtual]
 

Definition at line 36 of file sat_api.h.


Member Function Documentation

SatSolver * SatSolver::Create  )  [static]
 

Definition at line 14 of file xchaff.cpp.

Referenced by SAT::DPLLTBasic::createManager().

virtual int SatSolver::NumVariables  )  [pure virtual]
 

Implemented in Xchaff.

Referenced by SAT::DPLLTBasic::addNewClause(), SAT::DPLLTBasic::generate_CDB(), and SAT::DPLLTBasic::handle_result().

virtual Var SatSolver::AddVariables int  nvars  )  [pure virtual]
 

Implemented in Xchaff.

Referenced by AddVariable(), and SAT::DPLLTBasic::generate_CDB().

Var SatSolver::AddVariable  )  [inline]
 

Definition at line 82 of file sat_api.h.

References AddVariables().

virtual Var SatSolver::GetVar int  varIndex  )  [pure virtual]
 

Implemented in Xchaff.

Referenced by SAT::DPLLTBasic::checkSat(), SAT::DPLLTBasic::cvcl2SAT(), SAT::DPLLTBasic::getValue(), and SAT::DPLLTBasic::handle_result().

virtual int SatSolver::GetVarIndex Var  v  )  [pure virtual]
 

Referenced by SAT::DPLLTBasic::SAT2cvcl(), and SATAssignmentHook().

virtual Var SatSolver::GetFirstVar  )  [pure virtual]
 

Implemented in Xchaff.

virtual Var SatSolver::GetNextVar Var  var  )  [pure virtual]
 

virtual Lit SatSolver::MakeLit Var  var,
int  phase
[pure virtual]
 

Referenced by SAT::DPLLTBasic::cvcl2SAT().

virtual Var SatSolver::GetVarFromLit Lit  lit  )  [pure virtual]
 

Referenced by SAT::DPLLTBasic::SAT2cvcl(), and SAT::DPLLTBasic::verify_solution().

virtual int SatSolver::GetPhaseFromLit Lit  lit  )  [pure virtual]
 

Referenced by SAT::DPLLTBasic::SAT2cvcl(), and SAT::DPLLTBasic::verify_solution().

virtual int SatSolver::NumClauses  )  [pure virtual]
 

Implemented in Xchaff.

virtual Clause SatSolver::AddClause std::vector< Lit > &  lits  )  [pure virtual]
 

Referenced by SAT::DPLLTBasic::addNewClause(), and SAT::DPLLTBasic::generate_CDB().

virtual bool SatSolver::DeleteClause Clause  clause  )  [inline, virtual]
 

Definition at line 123 of file sat_api.h.

virtual Clause SatSolver::GetClause int  clauseIndex  )  [pure virtual]
 

Implemented in Xchaff.

virtual Clause SatSolver::GetFirstClause  )  [pure virtual]
 

Implemented in Xchaff.

Referenced by SAT::DPLLTBasic::verify_solution().

virtual Clause SatSolver::GetNextClause Clause  clause  )  [pure virtual]
 

Referenced by SAT::DPLLTBasic::verify_solution().

virtual void SatSolver::GetClauseLits Clause  clause,
std::vector< Lit > *  lits
[pure virtual]
 

Referenced by SAT::DPLLTBasic::verify_solution().

virtual SATStatus SatSolver::Satisfiable bool  allowNewClauses = false  )  [pure virtual]
 

Implemented in Xchaff.

Referenced by SAT::DPLLTBasic::checkSat().

virtual int SatSolver::GetVarAssignment Var  var  )  [pure virtual]
 

Referenced by SAT::DPLLTBasic::checkSat(), SAT::DPLLTBasic::getValue(), SAT::DPLLTBasic::handle_result(), and SAT::DPLLTBasic::verify_solution().

virtual SATStatus SatSolver::Continue  )  [pure virtual]
 

Implemented in Xchaff.

Referenced by SAT::DPLLTBasic::continueCheck().

virtual void SatSolver::Restart  )  [pure virtual]
 

Implemented in Xchaff.

virtual void SatSolver::Reset  )  [pure virtual]
 

Implemented in Xchaff.

virtual void SatSolver::RegisterDLevelHook void(*)(void *, int)  f,
void *  cookie
[pure virtual]
 

Implemented in Xchaff.

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]
 

Implemented in Xchaff.

Referenced by SAT::DPLLTBasic::createManager().

virtual bool SatSolver::SetBudget int  budget  )  [inline, virtual]
 

Reimplemented in Xchaff.

Definition at line 218 of file sat_api.h.

virtual bool SatSolver::SetMemLimit int  mem_limit  )  [inline, virtual]
 

Reimplemented in Xchaff.

Definition at line 221 of file sat_api.h.

virtual bool SatSolver::SetRandomness int  n  )  [inline, virtual]
 

Reimplemented in Xchaff.

Definition at line 225 of file sat_api.h.

virtual bool SatSolver::SetRandSeed int  seed  )  [inline, virtual]
 

Reimplemented in Xchaff.

Definition at line 226 of file sat_api.h.

virtual bool SatSolver::EnableClauseDeletion  )  [inline, virtual]
 

Reimplemented in Xchaff.

Definition at line 229 of file sat_api.h.

virtual bool SatSolver::DisableClauseDeletion  )  [inline, virtual]
 

Reimplemented in Xchaff.

Definition at line 230 of file sat_api.h.

virtual int SatSolver::GetBudgetUsed  )  [inline, virtual]
 

Reimplemented in Xchaff.

Definition at line 243 of file sat_api.h.

virtual int SatSolver::GetMemUsed  )  [inline, virtual]
 

Reimplemented in Xchaff.

Definition at line 246 of file sat_api.h.

virtual int SatSolver::GetNumDecisions  )  [inline, virtual]
 

Reimplemented in Xchaff.

Definition at line 249 of file sat_api.h.

virtual int SatSolver::GetNumConflicts  )  [inline, virtual]
 

Reimplemented in Xchaff.

Definition at line 252 of file sat_api.h.

virtual int SatSolver::GetNumExtConflicts  )  [inline, virtual]
 

Reimplemented in Xchaff.

Definition at line 256 of file sat_api.h.

virtual float SatSolver::GetTotalTime  )  [inline, virtual]
 

Reimplemented in Xchaff.

Definition at line 259 of file sat_api.h.

virtual float SatSolver::GetSATTime  )  [inline, virtual]
 

Reimplemented in Xchaff.

Definition at line 263 of file sat_api.h.

virtual int SatSolver::GetNumLiterals  )  [inline, virtual]
 

Reimplemented in Xchaff.

Definition at line 266 of file sat_api.h.

virtual int SatSolver::GetNumDeletedClauses  )  [inline, virtual]
 

Reimplemented in Xchaff.

Definition at line 269 of file sat_api.h.

virtual int SatSolver::GetNumDeletedLiterals  )  [inline, virtual]
 

Reimplemented in Xchaff.

Definition at line 272 of file sat_api.h.

virtual int SatSolver::GetNumImplications  )  [inline, virtual]
 

Reimplemented in Xchaff.

Definition at line 275 of file sat_api.h.

virtual int SatSolver::GetMaxDLevel  )  [inline, virtual]
 

Reimplemented in Xchaff.

Definition at line 278 of file sat_api.h.

void SatSolver::PrintStatistics std::ostream &  os = std::cout  ) 
 

Referenced by SAT::DPLLTBasic::handle_result().


The documentation for this class was generated from the following files:
Generated on Thu Apr 13 16:57:37 2006 for CVC Lite by  doxygen 1.4.4