Adding access to simplex's ArithPriorityQueue to TheoryArith for ArithPriorityQueue...
authorTim King <taking@cs.nyu.edu>
Wed, 27 Jun 2012 20:58:37 +0000 (20:58 +0000)
committerTim King <taking@cs.nyu.edu>
Wed, 27 Jun 2012 20:58:37 +0000 (20:58 +0000)
src/theory/arith/simplex.h

index a1c69548c386ad58785cac01ea0053228e81f3f0..9ba44b102060000e714050443c4ce4232f8c5601 100644 (file)
@@ -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. */