diff options
author | Tim King <taking@cs.nyu.edu> | 2015-06-14 15:03:15 +0200 |
---|---|---|
committer | Tim King <taking@cs.nyu.edu> | 2015-06-14 15:03:15 +0200 |
commit | 232782d690e1dc333ebc7bec1a9302f086c947b6 (patch) | |
tree | bc9f54e8cf714ee8b37643a3e5fbb0abc6c70c37 /src/theory/arith/constraint.h | |
parent | d101e7fed051685673c13317cb45166ba5ef7798 (diff) |
Fixes for shared term normalization in replay for constraint construction.
Diffstat (limited to 'src/theory/arith/constraint.h')
-rw-r--r-- | src/theory/arith/constraint.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/theory/arith/constraint.h b/src/theory/arith/constraint.h index 795798450..0e0b35020 100644 --- a/src/theory/arith/constraint.h +++ b/src/theory/arith/constraint.h @@ -96,6 +96,13 @@ namespace CVC4 { namespace theory { namespace arith { +class Comparison; +} +} +} +namespace CVC4 { +namespace theory { +namespace arith { /** * Logs the types of different proofs. @@ -448,6 +455,7 @@ private: void initialize(ConstraintDatabase* db, SortedConstraintMapIterator v, ConstraintP negation); + class ConstraintRuleCleanup { public: inline void operator()(ConstraintRule* crp){ @@ -517,6 +525,8 @@ private: public: + static ConstraintType constraintTypeOfComparison(const Comparison& cmp); + inline ConstraintType getType() const { return d_type; } |