#include <cnf.h>
Inheritance diagram for SAT::CNF_Formula_Impl:
Definition at line 145 of file cnf.h.
SAT::CNF_Formula_Impl::CNF_Formula_Impl | ( | const CNF_Formula & | cnf | ) | [inline] |
void SAT::CNF_Formula_Impl::setNumVars | ( | unsigned | numVars | ) | [inline, private, virtual] |
bool SAT::CNF_Formula_Impl::empty | ( | ) | const [inline, virtual] |
const Clause& SAT::CNF_Formula_Impl::operator[] | ( | int | i | ) | const [inline, virtual] |
const_iterator SAT::CNF_Formula_Impl::begin | ( | ) | const [inline, virtual] |
Implements SAT::CNF_Formula.
Definition at line 158 of file cnf.h.
Referenced by SAT::DPLLTBasic::addNewClauses(), and SAT::DPLLTBasic::generate_CDB().
const_iterator SAT::CNF_Formula_Impl::end | ( | ) | const [inline, virtual] |
Implements SAT::CNF_Formula.
Definition at line 159 of file cnf.h.
Referenced by SAT::DPLLTBasic::addNewClauses(), and SAT::DPLLTBasic::generate_CDB().
unsigned SAT::CNF_Formula_Impl::numVars | ( | ) | const [inline, virtual] |
Implements SAT::CNF_Formula.
Definition at line 160 of file cnf.h.
Referenced by SAT::DPLLTBasic::addNewClauses(), and SAT::DPLLTBasic::generate_CDB().
unsigned SAT::CNF_Formula_Impl::numClauses | ( | ) | const [inline, virtual] |
void SAT::CNF_Formula_Impl::deleteLast | ( | ) | [inline] |
Definition at line 162 of file cnf.h.
References DebugAssert.
Referenced by CVC3::SearchSat::newUserAssumptionIntHelper().
void CNF_Formula_Impl::newClause | ( | ) | [virtual] |
Implements SAT::CNF_Formula.
Definition at line 137 of file cnf.cpp.
References SAT::CNF_Formula::d_current, and d_formula.
void CNF_Formula_Impl::registerUnit | ( | ) | [virtual] |
Implements SAT::CNF_Formula.
Definition at line 144 of file cnf.cpp.
References SAT::Clause::begin(), SAT::CNF_Formula::d_current, d_lits, DebugAssert, SAT::Lit::getID(), SAT::Clause::setUnit(), and SAT::Clause::size().
void CNF_Formula_Impl::simplify | ( | ) |
Definition at line 153 of file cnf.cpp.
References d_formula, d_lits, Hash::hash_map< _Key, _Data, _HashFcn, _EqualKey >::end(), and Hash::hash_map< _Key, _Data, _HashFcn, _EqualKey >::find().
Referenced by SAT::DPLLTBasic::addNewClauses(), and SAT::DPLLTBasic::generate_CDB().
void CNF_Formula_Impl::reset | ( | ) |
Definition at line 174 of file cnf.cpp.
References Hash::hash_map< _Key, _Data, _HashFcn, _EqualKey >::clear(), SAT::CNF_Formula::d_current, d_formula, d_lits, and d_numVars.
Referenced by MiniSat::Solver::push(), SATDeductionHook(), and MiniSat::Solver::search().
std::hash_map<int, bool> SAT::CNF_Formula_Impl::d_lits [private] |
std::deque<Clause> SAT::CNF_Formula_Impl::d_formula [private] |
unsigned SAT::CNF_Formula_Impl::d_numVars [private] |