summaryrefslogtreecommitdiff
path: root/src/theory/arith/simplex.h
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2012-06-27 20:58:37 +0000
committerTim King <taking@cs.nyu.edu>2012-06-27 20:58:37 +0000
commit8eea9f5ecc02363e3a8705abe45a6be424d70c4d (patch)
tree1815dce40631eda44806237da707b76d2146dcbc /src/theory/arith/simplex.h
parent82fb50f809d708887fc8759ca4db571202a6a93f (diff)
Adding access to simplex's ArithPriorityQueue to TheoryArith for ArithPriorityQueue::reduce(), ::begin() and ::end().
Diffstat (limited to 'src/theory/arith/simplex.h')
-rw-r--r--src/theory/arith/simplex.h12
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. */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback