diff options
Diffstat (limited to 'src/theory/arith/arith_utilities.h')
-rw-r--r-- | src/theory/arith/arith_utilities.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/theory/arith/arith_utilities.h b/src/theory/arith/arith_utilities.h index 42f4704df..0168ee043 100644 --- a/src/theory/arith/arith_utilities.h +++ b/src/theory/arith/arith_utilities.h @@ -49,11 +49,17 @@ typedef __gnu_cxx::hash_map<ArithVar, Node> ArithVarToNodeMap; typedef __gnu_cxx::hash_set<Node, NodeHashFunction> NodeSet; typedef context::CDSet<Node, NodeHashFunction> CDNodeSet; +typedef context::CDSet<ArithVar> CDArithVarSet; + inline Node mkRationalNode(const Rational& q){ return NodeManager::currentNM()->mkConst<Rational>(q); } +inline Node mkIntegerNode(const Integer& z){ + return NodeManager::currentNM()->mkConst<Integer>(z); +} + inline Node mkBoolNode(bool b){ return NodeManager::currentNM()->mkConst<bool>(b); } |