SAT::CNF_Formula_Impl Class Reference

#include <cnf.h>

Inheritance diagram for SAT::CNF_Formula_Impl:

Inheritance graph
[legend]
Collaboration diagram for SAT::CNF_Formula_Impl:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Private Member Functions

Private Attributes


Detailed Description

Definition at line 145 of file cnf.h.


Constructor & Destructor Documentation

SAT::CNF_Formula_Impl::CNF_Formula_Impl (  )  [inline]

Definition at line 152 of file cnf.h.

SAT::CNF_Formula_Impl::CNF_Formula_Impl ( const CNF_Formula cnf  )  [inline]

Definition at line 153 of file cnf.h.

SAT::CNF_Formula_Impl::~CNF_Formula_Impl (  )  [inline]

Definition at line 154 of file cnf.h.


Member Function Documentation

void SAT::CNF_Formula_Impl::setNumVars ( unsigned  numVars  )  [inline, private, virtual]

Implements SAT::CNF_Formula.

Definition at line 150 of file cnf.h.

bool SAT::CNF_Formula_Impl::empty (  )  const [inline, virtual]

Implements SAT::CNF_Formula.

Definition at line 156 of file cnf.h.

const Clause& SAT::CNF_Formula_Impl::operator[] ( int  i  )  const [inline, virtual]

Implements SAT::CNF_Formula.

Definition at line 157 of file cnf.h.

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]

Implements SAT::CNF_Formula.

Definition at line 161 of file cnf.h.

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().


Member Data Documentation

std::hash_map<int, bool> SAT::CNF_Formula_Impl::d_lits [private]

Definition at line 146 of file cnf.h.

Referenced by registerUnit(), reset(), and simplify().

std::deque<Clause> SAT::CNF_Formula_Impl::d_formula [private]

Definition at line 147 of file cnf.h.

Referenced by newClause(), reset(), and simplify().

unsigned SAT::CNF_Formula_Impl::d_numVars [private]

Definition at line 148 of file cnf.h.

Referenced by reset().


The documentation for this class was generated from the following files:
Generated on Wed Nov 18 16:18:52 2009 for CVC3 by  doxygen 1.5.2