CVC3
2.4.1
|
#include <cdmap.h>
Classes | |
class | iterator |
class | orderedIterator |
Public Types | |
typedef CDOmap< Key, Data, HashFcn > & | ElementReference |
Public Member Functions | |
CDMap (Context *context, int scope=-1) | |
~CDMap () | |
size_t | size () const |
size_t | count (const Key &k) const |
CDOmap< Key, Data, HashFcn > & | operator[] (const Key &k) |
void | insert (const Key &k, const Data &d, int scope=-1) |
iterator | begin () const |
iterator | end () const |
orderedIterator | orderedBegin () const |
orderedIterator | orderedEnd () const |
iterator | find (const Key &k) const |
![]() | |
ContextObj (Context *context) | |
Create a new ContextObj. | |
virtual | ~ContextObj () |
int | level () const |
bool | isCurrent (int scope=-1) const |
void | makeCurrent (int scope=-1) |
void * | operator new (size_t size, MemoryManager *mm) |
void | operator delete (void *pMem, MemoryManager *mm) |
void * | operator new (size_t size, bool b) |
void | operator delete (void *pMem, bool b) |
void | operator delete (void *) |
Private Member Functions | |
virtual ContextObj * | makeCopy (ContextMemoryManager *cmm) |
virtual void | restoreData (ContextObj *data) |
void | emptyTrash () |
virtual void | setNull (void) |
Private Attributes | |
std::hash_map< Key, CDOmap < Key, Data, HashFcn > *, HashFcn > | d_map |
std::vector< CDOmap< Key, Data, HashFcn > * > | d_trash |
CDOmap< Key, Data, HashFcn > * | d_first |
Context * | d_context |
Friends | |
class | CDOmap< Key, Data, HashFcn > |
Additional Inherited Members | |
![]() | |
ContextObj (const ContextObj &co) | |
Copy constructor (defined mainly for debugging purposes) | |
ContextObj & | operator= (const ContextObj &co) |
Assignment operator (defined mainly for debugging purposes) | |
virtual ContextObj * | makeCopy (ContextMemoryManager *cmm)=0 |
Make a copy of the current object so it can be restored to its current state. | |
virtual void | restoreData (ContextObj *data) |
Restore the current object from the given data. | |
const ContextObj * | getRestore () |
virtual void | setNull (void)=0 |
Set the current object to be invalid. | |
ContextMemoryManager * | getCMM () |
Return our name (for debugging) |
typedef CDOmap<Key, Data, HashFcn>& CVC3::CDMap< Key, Data, HashFcn >::ElementReference |
|
inline |
|
inline |
|
inlineprivatevirtual |
|
inlineprivatevirtual |
|
inlineprivate |
Definition at line 144 of file cdmap.h.
Referenced by CVC3::CDMap< Expr, Expr, HashFcn >::insert(), CVC3::CDMap< Expr, Expr, HashFcn >::operator[](), and CVC3::CDMap< Expr, Expr, HashFcn >::setNull().
|
inlineprivatevirtual |
Definition at line 153 of file cdmap.h.
Referenced by CVC3::CDMap< Expr, Expr, HashFcn >::~CDMap().
|
inline |
Definition at line 171 of file cdmap.h.
Referenced by CVC3::SearchEngineFast::addNonLiteralFact(), and CVC3::TheoryCore::incomplete().
|
inline |
Definition at line 172 of file cdmap.h.
Referenced by CVC3::SearchEngineFast::addNonLiteralFact(), CVC3::TheoryArray::addSharedTerm(), CVC3::SearchImplBase::addToCNFCache(), CVC3::SearchSimple::checkValidInternal(), CVC3::SearchEngineFast::checkValidInternal(), CVC3::SearchImplBase::enqueueCNFrec(), CVC3::SearchImplBase::isAssumption(), CVC3::SearchEngineFast::isAssumption(), CVC3::SearchImplBase::isCNFVar(), CVC3::SearchImplBase::newIntAssumption(), CVC3::TheoryQuant::recursiveMap(), CVC3::SearchSimple::restartInternal(), CVC3::SearchEngineFast::restartInternal(), CVC3::TheoryArray::setup(), CVC3::TheoryQuant::trans2Found(), CVC3::TheoryQuant::transFound(), and CVC3::TheoryArray::update().
|
inline |
|
inline |
Definition at line 190 of file cdmap.h.
Referenced by CVC3::SearchEngineFast::addLiteralFact(), CVC3::SearchImplBase::addToCNFCache(), CVC3::TheoryDatatypeLazy::initializeLabels(), CVC3::TheoryDatatype::initializeLabels(), CVC3::SearchEngineFast::recordFact(), CVC3::TheoryCore::setIncomplete(), CVC3::CommonTheoremProducer::skolemize(), and CVC3::CommonTheoremProducer::varIntroSkolem().
|
inline |
Definition at line 257 of file cdmap.h.
Referenced by CVC3::TheoryArithNew::boundsAsString(), CVC3::SearchEngineFast::checkValidMain(), CVC3::TheoryCore::incomplete(), CVC3::TheoryQuant::matchListOld(), CVC3::SearchImplBase::newUserAssumption(), CVC3::TheoryArithNew::refineCounterExample(), CVC3::TheoryArith3::refineCounterExample(), and CVC3::TheoryArithOld::refineCounterExample().
|
inline |
Definition at line 258 of file cdmap.h.
Referenced by CVC3::TheoryDatatype::addSharedTerm(), CVC3::TheoryArithOld::addSharedTerm(), CVC3::TheoryArithOld::addToBuffer(), CVC3::SearchImplBase::applyCNFRules(), CVC3::TheoryDatatype::assertFact(), CVC3::TheoryBitvector::bitBlastTerm(), CVC3::TheoryArithNew::boundsAsString(), CVC3::TheoryDatatype::canCollapse(), CVC3::TheoryDatatypeLazy::checkSat(), CVC3::TheoryUF::checkSat(), CVC3::TheoryArray::checkSat(), CVC3::TheoryDatatype::checkSat(), CVC3::TheoryArithOld::checkSat(), CVC3::SearchEngineFast::checkValidMain(), CVC3::TheoryQuant::combineOldNewTrigs(), CVC3::TheoryArith3::currentMaxCoefficient(), CVC3::TheoryQuant::enqueueInst(), CVC3::SearchImplBase::findInCNFCache(), CVC3::TheoryArithNew::getBeta(), CVC3::SearchSat::getExplanation(), CVC3::TheoryArithNew::getLowerBound(), CVC3::TheoryArithOld::getLowerBound(), CVC3::TheoryArithNew::getLowerBoundThm(), CVC3::TheoryArithNew::getUpperBound(), CVC3::TheoryArithOld::getUpperBound(), CVC3::TheoryArithNew::getUpperBoundThm(), CVC3::TheoryCore::incomplete(), CVC3::TheoryDatatypeLazy::initializeLabels(), CVC3::TheoryDatatype::initializeLabels(), CVC3::TheoryArithOld::isConstrainedAbove(), CVC3::TheoryArithOld::isConstrainedBelow(), CVC3::TheoryArithOld::isUnconstrained(), CVC3::TheoryQuant::matchListOld(), CVC3::TheoryDatatypeLazy::mergeLabels(), CVC3::TheoryDatatype::mergeLabels(), CVC3::SearchImplBase::newUserAssumption(), CVC3::TheoryArithNew::refineCounterExample(), CVC3::TheoryArith3::refineCounterExample(), CVC3::TheoryArithOld::refineCounterExample(), CVC3::TheoryArithOld::registerAtom(), CVC3::SearchImplBase::replaceITE(), CVC3::TheoryDatatypeLazy::setup(), CVC3::TheoryDatatype::setup(), CVC3::CommonTheoremProducer::skolemize(), CVC3::TheoryQuant::synNewInst(), CVC3::TheoryArray::update(), CVC3::TheoryDatatype::update(), CVC3::TheoryBitvector::update(), CVC3::TheoryArithOld::update(), CVC3::TheoryArith3::updateStats(), and CVC3::CommonTheoremProducer::varIntroSkolem().
|
inline |
Definition at line 300 of file cdmap.h.
Referenced by CVC3::SearchImplBase::getAssumptions(), CVC3::SearchImplBase::getInternalAssumptions(), and CVC3::SearchImplBase::getUserAssumptions().
|
inline |
Definition at line 301 of file cdmap.h.
Referenced by CVC3::SearchImplBase::getAssumptions(), CVC3::SearchImplBase::getInternalAssumptions(), and CVC3::SearchImplBase::getUserAssumptions().
|
inline |
Definition at line 303 of file cdmap.h.
Referenced by CVC3::TheoryDatatype::addSharedTerm(), CVC3::TheoryArithOld::addSharedTerm(), CVC3::TheoryArithOld::addToBuffer(), CVC3::SearchImplBase::applyCNFRules(), CVC3::TheoryDatatype::assertFact(), CVC3::TheoryBitvector::bitBlastTerm(), CVC3::TheoryDatatype::canCollapse(), CVC3::TheoryDatatypeLazy::checkSat(), CVC3::TheoryUF::checkSat(), CVC3::TheoryArray::checkSat(), CVC3::TheoryDatatype::checkSat(), CVC3::TheoryArithOld::checkSat(), CVC3::TheoryQuant::combineOldNewTrigs(), CVC3::TheoryArith3::currentMaxCoefficient(), CVC3::TheoryQuant::enqueueInst(), CVC3::SearchImplBase::findInCNFCache(), CVC3::TheoryArithNew::getBeta(), CVC3::SearchSat::getExplanation(), CVC3::TheoryArithNew::getLowerBound(), CVC3::TheoryArithOld::getLowerBound(), CVC3::TheoryArithNew::getLowerBoundThm(), CVC3::TheoryArithNew::getUpperBound(), CVC3::TheoryArithOld::getUpperBound(), CVC3::TheoryArithNew::getUpperBoundThm(), CVC3::TheoryDatatypeLazy::initializeLabels(), CVC3::TheoryDatatype::initializeLabels(), CVC3::TheoryArithOld::isConstrainedAbove(), CVC3::TheoryArithOld::isConstrainedBelow(), CVC3::TheoryArithOld::isUnconstrained(), CVC3::TheoryDatatypeLazy::mergeLabels(), CVC3::TheoryDatatype::mergeLabels(), CVC3::SearchImplBase::newUserAssumption(), CVC3::TheoryArithOld::registerAtom(), CVC3::SearchImplBase::replaceITE(), CVC3::TheoryDatatypeLazy::setup(), CVC3::TheoryDatatype::setup(), CVC3::CommonTheoremProducer::skolemize(), CVC3::TheoryQuant::synNewInst(), CVC3::TheoryArray::update(), CVC3::TheoryDatatype::update(), CVC3::TheoryBitvector::update(), CVC3::TheoryArithOld::update(), CVC3::TheoryArith3::updateStats(), CVC3::TheoryArith3::updateSubsumptionDB(), CVC3::TheoryArithOld::updateSubsumptionDB(), and CVC3::CommonTheoremProducer::varIntroSkolem().
|
friend |
|
private |
Definition at line 131 of file cdmap.h.
Referenced by CVC3::CDMap< Expr, Expr, HashFcn >::begin(), CVC3::CDMap< Expr, Expr, HashFcn >::count(), CVC3::CDMap< Expr, Expr, HashFcn >::end(), CVC3::CDMap< Expr, Expr, HashFcn >::find(), CVC3::CDMap< Expr, Expr, HashFcn >::insert(), CVC3::CDMap< Expr, Expr, HashFcn >::operator[](), CVC3::CDMap< Expr, Expr, HashFcn >::setNull(), and CVC3::CDMap< Expr, Expr, HashFcn >::size().
|
private |
Definition at line 133 of file cdmap.h.
Referenced by CVC3::CDMap< Expr, Expr, HashFcn >::emptyTrash().
|
private |
Definition at line 134 of file cdmap.h.
Referenced by CVC3::CDMap< Expr, Expr, HashFcn >::orderedBegin().
|
private |
Definition at line 135 of file cdmap.h.
Referenced by CVC3::CDMap< Expr, Expr, HashFcn >::insert(), and CVC3::CDMap< Expr, Expr, HashFcn >::operator[]().