#include <minisat_types.h>
Collaboration diagram for MiniSat::Clause:
Definition at line 100 of file minisat_types.h.
MiniSat::Clause::Clause | ( | bool | learnt, | |
const std::vector< Lit > & | ps, | |||
int | id_ | |||
) | [inline] |
int MiniSat::Clause::size | ( | void | ) | const [inline] |
Definition at line 129 of file minisat_types.h.
References size_learnt.
Referenced by activity(), MiniSat::Solver::addClause(), MiniSat::Solver::analyze(), MiniSat::Solver::analyze_minimize(), MiniSat::Solver::checkClause(), MiniSat::Solver::checkTrail(), MiniSat::Solver::checkWatched(), MiniSat::Derivation::computeRootReason(), MiniSat::Derivation::finish(), MiniSat::Solver::getConflictLevel(), MiniSat::Solver::getImplicationLevel(), id(), MiniSat::Solver::insertClause(), MiniSat::Solver::insertLemma(), MiniSat::Solver::isPermSatisfied(), MiniSat::Solver::isReason(), reduceDB_lt::operator()(), MiniSat::Solver::propagate(), pushID(), MiniSat::Derivation::registerClause(), MiniSat::Solver::remove(), MiniSat::Solver::setPushID(), toLit(), toString(), and MiniSat::Solver::updateConflict().
bool MiniSat::Clause::learnt | ( | ) | const [inline] |
Definition at line 130 of file minisat_types.h.
References size_learnt.
Referenced by activity(), MiniSat::Solver::addClause(), MiniSat::Solver::insertClause(), pushID(), and MiniSat::Solver::remove().
Lit MiniSat::Clause::operator[] | ( | int | i | ) | const [inline] |
Lit& MiniSat::Clause::operator[] | ( | int | i | ) | [inline] |
int& MiniSat::Clause::id | ( | ) | const [inline] |
Definition at line 134 of file minisat_types.h.
Referenced by MiniSat::Inference::add(), MiniSat::Solver::addClause(), MiniSat::Solver::analyze(), Clause(), MiniSat::Derivation::computeRootReason(), MiniSat::Derivation::finish(), MiniSat::Derivation::printProof(), pushID(), and MiniSat::Derivation::registerClause().
int& MiniSat::Clause::pushID | ( | ) | const [inline] |
Definition at line 139 of file minisat_types.h.
References data, id(), learnt(), and size().
Referenced by MiniSat::Solver::analyze(), MiniSat::Lemma_new(), MiniSat::Derivation::pop(), and MiniSat::Solver::setPushID().
float& MiniSat::Clause::activity | ( | ) | const [inline] |
Definition at line 145 of file minisat_types.h.
References data, DebugAssert, learnt(), and size().
Referenced by MiniSat::Solver::claBumpActivity(), Clause(), MiniSat::Solver::insertLemma(), and reduceDB_lt::operator()().
void MiniSat::Clause::toLit | ( | std::vector< Lit > & | literals | ) | const |
Definition at line 79 of file minisat_types.cpp.
Referenced by MiniSat::Solver::insertLemma(), and MiniSat::Solver::toString().
static int MiniSat::Clause::ClauseIDNull | ( | ) | [inline, static] |
Definition at line 151 of file minisat_types.h.
Clause * MiniSat::Clause::Decision | ( | ) | [static] |
Definition at line 61 of file minisat_types.cpp.
References Clause_new, and s_decision.
Referenced by MiniSat::Solver::analyze(), MiniSat::Solver::analyze_minimize(), MiniSat::Solver::analyze_removable(), MiniSat::Solver::assume(), MiniSat::Solver::checkTrail(), MiniSat::Derivation::computeRootReason(), MiniSat::Solver::printDIMACS(), MiniSat::Solver::printState(), MiniSat::Solver::protocolPropagation(), and MiniSat::Solver::setPushID().
Clause * MiniSat::Clause::TheoryImplication | ( | ) | [static] |
Definition at line 70 of file minisat_types.cpp.
References Clause_new, and s_theoryImplication.
Referenced by MiniSat::Solver::analyze(), MiniSat::Solver::analyze_removable(), MiniSat::Solver::checkTrail(), MiniSat::Solver::getReason(), MiniSat::Solver::push(), MiniSat::Solver::resolveTheoryImplication(), MiniSat::Solver::search(), and MiniSat::Solver::setPushID().
std::string MiniSat::Clause::toString | ( | ) | const [inline] |
Definition at line 159 of file minisat_types.h.
References data, size(), and MiniSat::Lit::toString().
Definition at line 45 of file minisat_types.cpp.
uint MiniSat::Clause::size_learnt [private] |
Lit MiniSat::Clause::data[1] [private] |
Definition at line 102 of file minisat_types.h.
Referenced by activity(), Clause(), id(), operator[](), pushID(), toLit(), and toString().
Clause * MiniSat::Clause::s_decision [static, private] |
Clause * MiniSat::Clause::s_theoryImplication [static, private] |