diff options
author | Tim King <taking@cs.nyu.edu> | 2011-10-19 17:25:00 +0000 |
---|---|---|
committer | Tim King <taking@cs.nyu.edu> | 2011-10-19 17:25:00 +0000 |
commit | b34cdc14238b5d215e6014d6b3db2971859a0b9d (patch) | |
tree | 4921160626d036c344ffcd44ba7eaabd73fa044a /src/theory/arith/arith_utilities.h | |
parent | bb59480a36fb0f799af53676c07b8fca43c2fff4 (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.h | 5 |
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); |