#include <variable.h>
Definition at line 206 of file variable.h.
CVC3::VariableValue::VariableValue | ( | VariableManager * | vm, | |
const Expr & | e | |||
) | [inline, private] |
Definition at line 245 of file variable.h.
CVC3::VariableValue::~VariableValue | ( | ) |
const Expr& CVC3::VariableValue::getExpr | ( | ) | const [inline] |
Definition at line 255 of file variable.h.
References d_expr.
Referenced by CVC3::Variable::getExpr(), CVC3::VariableManager::VariableManager::EqLV::operator()(), CVC3::VariableManager::VariableManager::HashLV::operator()(), CVC3::operator<<(), and setValue().
const Expr& CVC3::VariableValue::getNegExpr | ( | ) | const [inline] |
Definition at line 257 of file variable.h.
References d_expr, d_neg, CVC3::Expr::isNull(), and CVC3::Expr::negate().
Referenced by CVC3::Variable::getNegExpr().
int CVC3::VariableValue::getValue | ( | ) | const [inline] |
Definition at line 265 of file variable.h.
References d_val, and CVC3::CDO< T >::get().
Referenced by CVC3::Variable::getValue(), CVC3::operator<<(), and setValue().
int CVC3::VariableValue::getScope | ( | ) | const [inline] |
Definition at line 270 of file variable.h.
References d_scope, and CVC3::CDO< T >::get().
Referenced by CVC3::Variable::getScope(), CVC3::operator<<(), and setValue().
const Theorem& CVC3::VariableValue::getTheorem | ( | ) | const [inline] |
Definition at line 275 of file variable.h.
References d_thm, and CVC3::CDO< T >::get().
Referenced by CVC3::Variable::getTheorem(), CVC3::operator<<(), and setValue().
const Clause& CVC3::VariableValue::getAntecedent | ( | ) | const [inline] |
Definition at line 281 of file variable.h.
References d_ante, and CVC3::CDO< T >::get().
Referenced by CVC3::Variable::getAntecedent(), CVC3::operator<<(), and setValue().
int CVC3::VariableValue::getAntecedentIdx | ( | ) | const [inline] |
Definition at line 287 of file variable.h.
References d_anteIdx, and CVC3::CDO< T >::get().
Referenced by CVC3::Variable::getAntecedentIdx(), and CVC3::operator<<().
const Theorem& CVC3::VariableValue::getAssumpThm | ( | ) | const [inline] |
Definition at line 292 of file variable.h.
References d_assump, and CVC3::CDO< T >::get().
Referenced by CVC3::Variable::getAssumpThm().
void CVC3::VariableValue::setValue | ( | int | val, | |
const Clause & | c, | |||
int | idx | |||
) |
Definition at line 242 of file variable.cpp.
References d_ante, d_anteIdx, d_scope, d_thm, d_val, d_vm, DebugAssert, CVC3::VariableManager::getCM(), CVC3::ContextManager::getCurrentContext(), getExpr(), getScope(), CVC3::Clause::getScope(), getTheorem(), getValue(), IF_DEBUG, CVC3::int2string(), CVC3::CDO< T >::set(), CVC3::Clause::size(), CVC3::Expr::toString(), and CVC3::Clause::toString().
Referenced by CVC3::Variable::deriveThmRec(), and CVC3::Variable::setValue().
void CVC3::VariableValue::setValue | ( | const Theorem & | thm, | |
int | scope | |||
) |
Definition at line 295 of file variable.cpp.
References d_ante, d_expr, d_scope, d_thm, d_val, d_vm, DebugAssert, getAntecedent(), CVC3::VariableManager::getCM(), CVC3::ContextManager::getCurrentContext(), CVC3::Theorem::getExpr(), IF_DEBUG, CVC3::CDO< T >::set(), CVC3::Expr::toString(), and CVC3::Theorem::toString().
void CVC3::VariableValue::setAssumpThm | ( | const Theorem & | a, | |
int | scope | |||
) |
Definition at line 328 of file variable.cpp.
References d_assump, d_val, d_vm, CVC3::VariableManager::getCM(), CVC3::ContextManager::getCurrentContext(), IF_DEBUG, and CVC3::CDO< T >::set().
Referenced by CVC3::Variable::setAssumpThm().
unsigned& CVC3::VariableValue::count | ( | bool | neg | ) | [inline] |
Definition at line 308 of file variable.h.
References d_count, and d_negCount.
Referenced by CVC3::Variable::count().
unsigned& CVC3::VariableValue::countPrev | ( | bool | neg | ) | [inline] |
Definition at line 312 of file variable.h.
References d_countPrev, and d_negCountPrev.
Referenced by CVC3::Variable::countPrev().
int& CVC3::VariableValue::score | ( | bool | neg | ) | [inline] |
Definition at line 316 of file variable.h.
References d_negScore, and d_score.
Referenced by CVC3::Variable::score().
bool& CVC3::VariableValue::added | ( | bool | neg | ) | [inline] |
Definition at line 320 of file variable.h.
References d_added, and d_negAdded.
Referenced by CVC3::Variable::added().
void* CVC3::VariableValue::operator new | ( | size_t | size, | |
MemoryManager * | mm | |||
) | [inline] |
void CVC3::VariableValue::operator delete | ( | void * | pMem, | |
MemoryManager * | mm | |||
) | [inline] |
void CVC3::VariableValue::operator delete | ( | void * | ) | [inline] |
Definition at line 332 of file variable.h.
friend class Variable [friend] |
Definition at line 207 of file variable.h.
friend class VariableManager [friend] |
Definition at line 208 of file variable.h.
std::ostream& operator<< | ( | std::ostream & | os, | |
const VariableValue & | v | |||
) | [friend] |
Definition at line 337 of file variable.cpp.
bool operator== | ( | const VariableValue & | v1, | |
const VariableValue & | v2 | |||
) | [friend] |
Definition at line 336 of file variable.h.
VariableManager* CVC3::VariableValue::d_vm [private] |
Definition at line 210 of file variable.h.
Referenced by CVC3::Variable::deriveThmRec(), CVC3::Variable::operator=(), setAssumpThm(), setValue(), and CVC3::Variable::~Variable().
int CVC3::VariableValue::d_refcount [private] |
Definition at line 211 of file variable.h.
Referenced by CVC3::Variable::operator=(), CVC3::Variable::Variable(), and CVC3::Variable::~Variable().
Expr CVC3::VariableValue::d_expr [private] |
Expr CVC3::VariableValue::d_neg [private] |
unsigned CVC3::VariableValue::d_count [private] |
unsigned CVC3::VariableValue::d_countPrev [private] |
int CVC3::VariableValue::d_score [private] |
unsigned CVC3::VariableValue::d_negCount [private] |
unsigned CVC3::VariableValue::d_negCountPrev [private] |
int CVC3::VariableValue::d_negScore [private] |
bool CVC3::VariableValue::d_added [private] |
bool CVC3::VariableValue::d_negAdded [private] |
std::vector<std::pair<Clause, int> > CVC3::VariableValue::d_wp [private] |
std::vector<std::pair<Clause, int> > CVC3::VariableValue::d_negwp [private] |
CDO<int>* CVC3::VariableValue::d_val [private] |
Definition at line 237 of file variable.h.
Referenced by getValue(), setAssumpThm(), setValue(), and ~VariableValue().
CDO<int>* CVC3::VariableValue::d_scope [private] |
Definition at line 238 of file variable.h.
Referenced by getScope(), setValue(), and ~VariableValue().
CDO<Theorem>* CVC3::VariableValue::d_thm [private] |
Definition at line 240 of file variable.h.
Referenced by getTheorem(), setValue(), and ~VariableValue().
CDO<Clause>* CVC3::VariableValue::d_ante [private] |
Definition at line 241 of file variable.h.
Referenced by getAntecedent(), setValue(), and ~VariableValue().
CDO<int>* CVC3::VariableValue::d_anteIdx [private] |
Definition at line 242 of file variable.h.
Referenced by getAntecedentIdx(), setValue(), and ~VariableValue().
CDO<Theorem>* CVC3::VariableValue::d_assump [private] |
Definition at line 243 of file variable.h.
Referenced by getAssumpThm(), setAssumpThm(), and ~VariableValue().