#include <cdlist.h>
Inheritance diagram for CVC3::CDList< T >:
Definition at line 41 of file cdlist.h.
typedef std::deque<T>::const_iterator CVC3::CDList< T >::const_iterator |
CVC3::CDList< T >::CDList | ( | const CDList< T > & | l | ) | [inline, private] |
CVC3::CDList< T >::CDList | ( | Context * | context | ) | [inline] |
virtual CVC3::CDList< T >::~CDList | ( | ) | [inline, virtual] |
virtual ContextObj* CVC3::CDList< T >::makeCopy | ( | ContextMemoryManager * | cmm | ) | [inline, private, virtual] |
Make a copy of the current object so it can be restored to its current state.
Implements CVC3::ContextObj.
virtual void CVC3::CDList< T >::restoreData | ( | ContextObj * | data | ) | [inline, private, virtual] |
virtual void CVC3::CDList< T >::setNull | ( | void | ) | [inline, private, virtual] |
unsigned CVC3::CDList< T >::size | ( | ) | const [inline] |
Definition at line 64 of file cdlist.h.
Referenced by CVC3::TheoryArithOld::DifferenceLogicGraph::addEdge(), CVC3::TheoryUF::assertFact(), CVC3::TheoryArithOld::assertFact(), CVC3::TheoryArith3::assertFact(), CVC3::CDList< SmartCDO< Theorem > >::at(), CVC3::CDList< SmartCDO< Theorem > >::back(), CVC3::SearchEngineFast::bcp(), CVC3::SearchSat::check(), CVC3::TheoryUF::checkSat(), CVC3::TheoryQuant::checkSat(), CVC3::TheoryDatatypeLazy::checkSat(), CVC3::TheoryDatatype::checkSat(), CVC3::TheoryBitvector::checkSat(), CVC3::TheoryArray::checkSat(), CVC3::TheoryArithOld::checkSat(), CVC3::TheoryArith3::checkSat(), CVC3::SearchEngineFast::checkValidInternal(), CVC3::TheoryQuant::collectChangedTerms(), CVC3::TheoryQuant::debug(), CVC3::DatatypeTheoremProducer::dummyTheorem(), CVC3::TheoryArithOld::findBounds(), CVC3::TheoryArithNew::findBounds(), CVC3::TheoryArith3::findBounds(), CVC3::SearchEngineFast::findSplitter(), CVC3::TheoryCore::getImpliedLiteral(), CVC3::TheoryCore::getImpliedLiteralByIndex(), CVC3::TheoryArithOld::DifferenceLogicGraph::hasIncoming(), CVC3::TheoryArithOld::DifferenceLogicGraph::hasOutgoing(), CVC3::TheoryQuant::instantiate(), CVC3::TheoryQuant::iterBKList(), CVC3::TheoryQuant::iterFWList(), CVC3::TheoryQuant::mapTermsByType(), CVC3::TheoryQuant::naiveCheckSat(), CVC3::TheoryQuant::notifyInconsistent(), CVC3::TheoryCore::numImpliedLiterals(), CVC3::CDList< SmartCDO< Theorem > >::operator[](), CVC3::TheoryArithOld::processBuffer(), CVC3::TheoryArith3::processBuffer(), CVC3::TheoryArithOld::processFiniteIntervals(), CVC3::TheoryArithNew::processFiniteIntervals(), CVC3::TheoryArith3::processFiniteIntervals(), CVC3::TheoryArithOld::projectInequalities(), CVC3::TheoryArith3::projectInequalities(), CVC3::VCL::query(), CVC3::TheoryQuant::recInstantiate(), CVC3::TheoryQuant::recMultMatchDebug(), CVC3::TheoryQuant::recMultMatchOldWay(), CVC3::TheoryQuant::recursiveMap(), CVC3::DatatypeTheoremProducer::rewriteSelCons(), CVC3::TheoryQuant::saveContext(), CVC3::NotifyList::size(), CVC3::TheoryQuant::synNewInst(), CVC3::TheoryQuant::update(), and CVC3::TheoryArithOld::DifferenceLogicGraph::writeGraph().
bool CVC3::CDList< T >::empty | ( | ) | const [inline] |
T& CVC3::CDList< T >::push_back | ( | const T & | data, | |
int | scope = -1 | |||
) | [inline] |
Definition at line 66 of file cdlist.h.
Referenced by CVC3::NotifyList::add(), CVC3::SearchEngineFast::addNewClause(), CVC3::SearchEngineFast::addNonLiteralFact(), CVC3::TheoryBitvector::addSharedTerm(), CVC3::TheoryArray::addSharedTerm(), CVC3::TheoryArithOld::addSharedTerm(), CVC3::SearchImplBase::addSplitter(), CVC3::SearchEngineFast::addSplitter(), CVC3::TheoryArithOld::addToBuffer(), CVC3::TheoryArithNew::addToBuffer(), CVC3::TheoryArith3::addToBuffer(), CVC3::TheoryCore::addToVarDB(), CVC3::TheoryUF::assertFact(), CVC3::TheoryQuant::assertFact(), CVC3::TheoryBitvector::assertFact(), CVC3::TheoryArithOld::assertFact(), CVC3::TheoryArith3::assertFact(), CVC3::VCL::assertFormula(), CVC3::SearchSat::assertLit(), CVC3::SearchEngineFast::bcp(), CVC3::TheoryQuant::checkSat(), CVC3::TheoryDatatypeLazy::checkSat(), CVC3::TheoryBitvector::checkSat(), CVC3::TheoryQuant::collectChangedTerms(), CVC3::TheoryQuant::combineOldNewTrigs(), CVC3::TheoryBitvector::comparebv(), CVC3::SearchSat::getAssumptions(), CVC3::TheoryDatatypeLazy::initializeLabels(), CVC3::TheoryDatatype::initializeLabels(), CVC3::TheoryDatatypeLazy::instantiate(), CVC3::TheoryQuant::mapTermsByType(), CVC3::TheoryQuant::matchListOld(), CVC3::TheoryDatatypeLazy::mergeLabels(), CVC3::TheoryDatatype::mergeLabels(), SAT::CD_CNF_Formula::newClause(), CVC3::SearchEngineFast::newIntAssumption(), CVC3::SearchSat::newUserAssumptionInt(), CVC3::DecisionEngine::pushDecision(), CVC3::TheoryQuant::recursiveMap(), CVC3::TheoryQuant::registerTrig(), CVC3::TheoryCore::setFindLiteral(), CVC3::TheoryUF::setup(), CVC3::TheoryDatatypeLazy::setup(), CVC3::TheoryDatatype::setup(), CVC3::TheoryArray::setup(), CVC3::TheoryCore::setupTerm(), CVC3::TheoryQuant::synNewInst(), CVC3::TheoryQuant::update(), CVC3::TheoryDatatypeLazy::update(), CVC3::TheoryDatatype::update(), and CVC3::TheoryArray::update().
void CVC3::CDList< T >::pop_back | ( | ) | [inline] |
const T& CVC3::CDList< T >::operator[] | ( | unsigned | i | ) | const [inline] |
const T& CVC3::CDList< T >::at | ( | unsigned | i | ) | const [inline] |
const T& CVC3::CDList< T >::back | ( | ) | const [inline] |
const_iterator CVC3::CDList< T >::begin | ( | ) | const [inline] |
Definition at line 88 of file cdlist.h.
Referenced by CVC3::TheoryCore::buildModel(), CVC3::TheoryBitvector::checkSat(), CVC3::TheoryCore::collectBasicVars(), CVC3::TheoryUF::computeModel(), CVC3::TheoryArray::computeModel(), CVC3::TheoryUF::computeModelTerm(), CVC3::TheoryArray::computeModelTerm(), CVC3::CDList< SmartCDO< Theorem > >::end(), CVC3::SearchSat::getAssumptions(), CVC3::SearchSat::getInternalAssumptions(), and CVC3::SearchSat::getUserAssumptions().
const_iterator CVC3::CDList< T >::end | ( | ) | const [inline] |
Definition at line 91 of file cdlist.h.
Referenced by CVC3::TheoryCore::buildModel(), CVC3::TheoryCore::collectBasicVars(), CVC3::TheoryUF::computeModel(), CVC3::TheoryArray::computeModel(), CVC3::TheoryUF::computeModelTerm(), CVC3::TheoryArray::computeModelTerm(), CVC3::SearchSat::getAssumptions(), CVC3::SearchSat::getInternalAssumptions(), and CVC3::SearchSat::getUserAssumptions().
std::deque<T>* CVC3::CDList< T >::d_list [private] |
The actual data.
Use deque because it doesn't create/destroy data on resize. This pointer is only non-NULL in the master copy.
Definition at line 45 of file cdlist.h.
Referenced by CVC3::CDList< SmartCDO< Theorem > >::at(), CVC3::CDList< SmartCDO< Theorem > >::back(), CVC3::CDList< SmartCDO< Theorem > >::begin(), CVC3::CDList< SmartCDO< Theorem > >::CDList(), CVC3::CDList< SmartCDO< Theorem > >::operator[](), CVC3::CDList< SmartCDO< Theorem > >::pop_back(), CVC3::CDList< SmartCDO< Theorem > >::push_back(), CVC3::CDList< SmartCDO< Theorem > >::restoreData(), CVC3::CDList< SmartCDO< Theorem > >::setNull(), and CVC3::CDList< SmartCDO< Theorem > >::~CDList().
unsigned CVC3::CDList< T >::d_size [private] |
Definition at line 46 of file cdlist.h.
Referenced by CVC3::CDList< SmartCDO< Theorem > >::empty(), CVC3::CDList< SmartCDO< Theorem > >::end(), CVC3::CDList< SmartCDO< Theorem > >::pop_back(), CVC3::CDList< SmartCDO< Theorem > >::push_back(), CVC3::CDList< SmartCDO< Theorem > >::restoreData(), CVC3::CDList< SmartCDO< Theorem > >::setNull(), and CVC3::CDList< SmartCDO< Theorem > >::size().