MiniSat::Clause Class Reference

#include <minisat_types.h>

Collaboration diagram for MiniSat::Clause:

Collaboration graph
[legend]

List of all members.

Public Member Functions

Static Public Member Functions

Private Attributes

Static Private Attributes

Friends


Detailed Description

Definition at line 101 of file minisat_types.h.


Constructor & Destructor Documentation

MiniSat::Clause::Clause ( bool  learnt,
const std::vector< Lit > &  ps,
CVC3::Theorem  theorem,
int  id,
int  pushID 
) [inline]

Definition at line 119 of file minisat_types.h.

References d_activity, d_data, d_id, d_pushID, d_size_learnt, and d_theorem.


Member Function Documentation

int MiniSat::Clause::size ( void   )  const [inline]

bool MiniSat::Clause::learnt (  )  const [inline]

Lit MiniSat::Clause::operator[] ( int  i  )  const [inline]

Definition at line 135 of file minisat_types.h.

References d_data.

Lit& MiniSat::Clause::operator[] ( int  i  )  [inline]

Definition at line 136 of file minisat_types.h.

References d_data.

int MiniSat::Clause::id (  )  const [inline]

int MiniSat::Clause::pushID (  )  const [inline]

float MiniSat::Clause::activity (  )  const [inline]

void MiniSat::Clause::setActivity ( float  activity  )  [inline]

Definition at line 148 of file minisat_types.h.

References d_activity, DebugAssert, and learnt().

Referenced by MiniSat::Solver::claBumpActivity(), and MiniSat::Solver::insertLemma().

void MiniSat::Clause::toLit ( std::vector< Lit > &  literals  )  const

Definition at line 72 of file minisat_types.cpp.

References d_data, and size().

Referenced by MiniSat::Solver::insertLemma(), and MiniSat::Solver::toString().

CVC3::Theorem MiniSat::Clause::getTheorem (  )  const [inline]

Definition at line 153 of file minisat_types.h.

References d_theorem.

Referenced by MiniSat::Solver::addClause(), and MiniSat::Derivation::createProof().

static int MiniSat::Clause::ClauseIDNull (  )  [inline, static]

Definition at line 155 of file minisat_types.h.

Clause * MiniSat::Clause::Decision (  )  [static]

Clause * MiniSat::Clause::TheoryImplication (  )  [static]

std::string MiniSat::Clause::toString (  )  const [inline]

Definition at line 163 of file minisat_types.h.

References d_data, size(), and MiniSat::Lit::toString().

Referenced by MiniSat::Derivation::printDerivation().

bool MiniSat::Clause::contains ( Lit  l  )  [inline]

Definition at line 174 of file minisat_types.h.

References d_data, and size().


Friends And Related Function Documentation

Clause* Clause_new ( const std::vector< Lit > &  ps,
CVC3::Theorem  theorem,
int  id 
) [friend]

Definition at line 44 of file minisat_types.cpp.

Referenced by Decision(), and TheoryImplication().

Clause* Lemma_new ( const std::vector< Lit > &  ps,
int  id,
int  pushID 
) [friend]

Definition at line 49 of file minisat_types.cpp.


Member Data Documentation

unsigned int MiniSat::Clause::d_size_learnt [private]

Definition at line 102 of file minisat_types.h.

Referenced by Clause(), learnt(), and size().

int MiniSat::Clause::d_id [private]

Definition at line 103 of file minisat_types.h.

Referenced by Clause(), and id().

Definition at line 104 of file minisat_types.h.

Referenced by Clause(), and pushID().

float MiniSat::Clause::d_activity [private]

Definition at line 105 of file minisat_types.h.

Referenced by activity(), Clause(), and setActivity().

Definition at line 107 of file minisat_types.h.

Referenced by Clause(), and getTheorem().

Definition at line 108 of file minisat_types.h.

Referenced by Clause(), contains(), operator[](), toLit(), and toString().

Clause * MiniSat::Clause::s_decision = NULL [static, private]

Definition at line 110 of file minisat_types.h.

Referenced by Decision().

Clause * MiniSat::Clause::s_theoryImplication = NULL [static, private]

Definition at line 111 of file minisat_types.h.

Referenced by TheoryImplication().


The documentation for this class was generated from the following files:

Generated on Thu Oct 15 22:27:23 2009 for CVC3 by  doxygen 1.5.8