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 130 of file cnf.h.


Constructor & Destructor Documentation

SAT::CNF_Formula_Impl::CNF_Formula_Impl  )  [inline]
 

Definition at line 137 of file cnf.h.

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

Definition at line 138 of file cnf.h.

References SAT::CNF_Formula::copy().

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

Definition at line 139 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 135 of file cnf.h.

References d_numVars.

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

Implements SAT::CNF_Formula.

Definition at line 141 of file cnf.h.

References d_formula.

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

Implements SAT::CNF_Formula.

Definition at line 142 of file cnf.h.

References d_formula.

const_iterator SAT::CNF_Formula_Impl::begin  )  const [inline, virtual]
 

Implements SAT::CNF_Formula.

Definition at line 143 of file cnf.h.

References d_formula.

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

const_iterator SAT::CNF_Formula_Impl::end  )  const [inline, virtual]
 

Implements SAT::CNF_Formula.

Definition at line 144 of file cnf.h.

References d_formula.

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

unsigned SAT::CNF_Formula_Impl::numVars  )  const [inline, virtual]
 

Implements SAT::CNF_Formula.

Definition at line 145 of file cnf.h.

References d_numVars.

Referenced by CVCL::SearchSat::check(), and SAT::DPLLTBasic::generate_CDB().

unsigned SAT::CNF_Formula_Impl::numClauses  )  const [inline, virtual]
 

Implements SAT::CNF_Formula.

Definition at line 146 of file cnf.h.

References d_formula.

void CNF_Formula_Impl::newClause  )  [virtual]
 

Implements SAT::CNF_Formula.

Definition at line 111 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 118 of file cnf.cpp.

References SAT::Clause::begin(), SAT::CNF_Formula::d_current, d_lits, SAT::Lit::getID(), SAT::Clause::setUnit(), and SAT::Clause::size().

void CNF_Formula_Impl::simplify  ) 
 

Definition at line 127 of file cnf.cpp.

References d_formula, and d_lits.

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

void CNF_Formula_Impl::reset  ) 
 

Definition at line 148 of file cnf.cpp.

References SAT::CNF_Formula::d_current, d_formula, d_lits, and d_numVars.


Member Data Documentation

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

Definition at line 131 of file cnf.h.

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

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

Definition at line 132 of file cnf.h.

Referenced by begin(), empty(), end(), newClause(), numClauses(), operator[](), reset(), and simplify().

unsigned SAT::CNF_Formula_Impl::d_numVars [private]
 

Definition at line 133 of file cnf.h.

Referenced by numVars(), reset(), and setNumVars().


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