diff options
author | Tim King <taking@cs.nyu.edu> | 2012-06-27 20:58:37 +0000 |
---|---|---|
committer | Tim King <taking@cs.nyu.edu> | 2012-06-27 20:58:37 +0000 |
commit | 8eea9f5ecc02363e3a8705abe45a6be424d70c4d (patch) | |
tree | 1815dce40631eda44806237da707b76d2146dcbc /src/theory/arith | |
parent | 82fb50f809d708887fc8759ca4db571202a6a93f (diff) |
Adding access to simplex's ArithPriorityQueue to TheoryArith for ArithPriorityQueue::reduce(), ::begin() and ::end().
Diffstat (limited to 'src/theory/arith')
-rw-r--r-- | src/theory/arith/simplex.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/theory/arith/simplex.h b/src/theory/arith/simplex.h index a1c69548c..9ba44b102 100644 --- a/src/theory/arith/simplex.h +++ b/src/theory/arith/simplex.h @@ -230,6 +230,18 @@ public: return d_queue.collectionModeContains(var); } + void reduceQueue(){ + d_queue.reduce(); + } + + ArithPriorityQueue::const_iterator queueBegin() const{ + return d_queue.begin(); + } + + ArithPriorityQueue::const_iterator queueEnd() const{ + return d_queue.end(); + } + private: /** Reports a conflict to on the output channel. */ |