diff options
author | Tim King <taking@cs.nyu.edu> | 2012-03-02 16:32:16 +0000 |
---|---|---|
committer | Tim King <taking@cs.nyu.edu> | 2012-03-02 16:32:16 +0000 |
commit | 730c6a6baa994a646af08c32151ba487d957d383 (patch) | |
tree | e076d12c21ed3744047a64e0719d0f86761efc51 /src/theory | |
parent | 45a138c326da72890bf889a3670aad503ef4aa1e (diff) |
Renamed CDQueue to CDTrailQueue and CDQueue2 to CDQueue. Small changes to function names and documentation.
Diffstat (limited to 'src/theory')
-rw-r--r-- | src/theory/arith/difference_manager.cpp | 3 | ||||
-rw-r--r-- | src/theory/arith/difference_manager.h | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/theory/arith/difference_manager.cpp b/src/theory/arith/difference_manager.cpp index b0ea55dec..b67240d4c 100644 --- a/src/theory/arith/difference_manager.cpp +++ b/src/theory/arith/difference_manager.cpp @@ -91,7 +91,8 @@ void DifferenceManager::addAssertionToEqualityEngine(bool eq, ArithVar s, TNode void DifferenceManager::dequeueLiterals(){ Assert(d_hasSharedTerms); while(!d_literalsQueue.empty()){ - const LiteralsQueueElem& front = d_literalsQueue.dequeue(); + const LiteralsQueueElem& front = d_literalsQueue.front(); + d_literalsQueue.dequeue(); addAssertionToEqualityEngine(front.d_eq, front.d_var, front.d_reason); } diff --git a/src/theory/arith/difference_manager.h b/src/theory/arith/difference_manager.h index d8a0e2c1c..46b070651 100644 --- a/src/theory/arith/difference_manager.h +++ b/src/theory/arith/difference_manager.h @@ -10,7 +10,7 @@ #include "context/cdo.h" #include "context/cdlist.h" #include "context/context.h" -#include "context/cdqueue.h" +#include "context/cdtrail_queue.h" #include "util/stats.h" #include "theory/arith/arith_prop_manager.h" @@ -62,7 +62,7 @@ private: }; /** Stores the queue of assertions. This keeps the Node backing the reasons */ - context::CDQueue<LiteralsQueueElem> d_literalsQueue; + context::CDTrailQueue<LiteralsQueueElem> d_literalsQueue; PropManager& d_queue; |