#include <cnf.h>
Inheritance diagram for SAT::CD_CNF_Formula:
Definition at line 166 of file cnf.h.
SAT::CD_CNF_Formula::CD_CNF_Formula | ( | CVC3::Context * | context | ) | [inline] |
void SAT::CD_CNF_Formula::setNumVars | ( | unsigned | numVars | ) | [inline, private, virtual] |
bool SAT::CD_CNF_Formula::empty | ( | ) | const [inline, virtual] |
const Clause& SAT::CD_CNF_Formula::operator[] | ( | int | i | ) | const [inline, virtual] |
const_iterator SAT::CD_CNF_Formula::begin | ( | ) | const [inline, virtual] |
const_iterator SAT::CD_CNF_Formula::end | ( | ) | const [inline, virtual] |
unsigned SAT::CD_CNF_Formula::numVars | ( | ) | const [inline, virtual] |
Implements SAT::CNF_Formula.
Definition at line 180 of file cnf.h.
References d_numVars, and CVC3::CDO< T >::get().
unsigned SAT::CD_CNF_Formula::numClauses | ( | ) | const [inline, virtual] |
Implements SAT::CNF_Formula.
Definition at line 181 of file cnf.h.
References d_formula.
Referenced by CVC3::SearchSat::check(), CVC3::SearchSat::checkConsistent(), SAT::DPLLTBasic::checkSat(), SAT::DPLLTBasic::continueCheck(), and CVC3::SearchSat::getNewClauses().
void SAT::CD_CNF_Formula::deleteLast | ( | ) | [inline] |
Definition at line 182 of file cnf.h.
References d_formula.
Referenced by CVC3::SearchSat::getNewClauses().
void CD_CNF_Formula::newClause | ( | ) | [virtual] |
Implements SAT::CNF_Formula.
Definition at line 166 of file cnf.cpp.
References SAT::CNF_Formula::d_current, and d_formula.
void CD_CNF_Formula::registerUnit | ( | ) | [virtual] |
Implements SAT::CNF_Formula.
Definition at line 173 of file cnf.cpp.
References SAT::CNF_Formula::d_current, DebugAssert, SAT::Clause::setUnit(), and SAT::Clause::size().
CVC3::CDList<Clause> SAT::CD_CNF_Formula::d_formula [private] |
Definition at line 167 of file cnf.h.
Referenced by begin(), deleteLast(), empty(), end(), newClause(), numClauses(), and operator[]().
CVC3::CDO<unsigned> SAT::CD_CNF_Formula::d_numVars [private] |