summaryrefslogtreecommitdiff
path: root/src/theory/arith/arith_utilities.h
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2011-10-19 17:25:00 +0000
committerTim King <taking@cs.nyu.edu>2011-10-19 17:25:00 +0000
commitb34cdc14238b5d215e6014d6b3db2971859a0b9d (patch)
tree4921160626d036c344ffcd44ba7eaabd73fa044a /src/theory/arith/arith_utilities.h
parentbb59480a36fb0f799af53676c07b8fca43c2fff4 (diff)
Merging the branch branches/arithmetic/push-pop-support from r2247 to r2256 into trunk. Arithmetic should now be closer to being able to support push and pop.
Diffstat (limited to 'src/theory/arith/arith_utilities.h')
-rw-r--r--src/theory/arith/arith_utilities.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/theory/arith/arith_utilities.h b/src/theory/arith/arith_utilities.h
index 838285f42..42f4704df 100644
--- a/src/theory/arith/arith_utilities.h
+++ b/src/theory/arith/arith_utilities.h
@@ -26,6 +26,7 @@
#include "expr/node.h"
#include "expr/attribute.h"
#include "theory/arith/delta_rational.h"
+#include "context/cdset.h"
#include <vector>
#include <stdint.h>
#include <limits>
@@ -44,6 +45,10 @@ typedef uint32_t ArithVar;
typedef __gnu_cxx::hash_map<Node, ArithVar, NodeHashFunction> NodeToArithVarMap;
typedef __gnu_cxx::hash_map<ArithVar, Node> ArithVarToNodeMap;
+//Sets of Nodes
+typedef __gnu_cxx::hash_set<Node, NodeHashFunction> NodeSet;
+typedef context::CDSet<Node, NodeHashFunction> CDNodeSet;
+
inline Node mkRationalNode(const Rational& q){
return NodeManager::currentNM()->mkConst<Rational>(q);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback