diff options
author | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2011-07-05 16:21:50 +0000 |
---|---|---|
committer | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2011-07-05 16:21:50 +0000 |
commit | 7342d1ca87397f3d5beb2c04b819243303e69a7c (patch) | |
tree | 9e166f1884275be7d4b33b13b8bcfe9418e61033 /src/theory/arith/arith_static_learner.h | |
parent | af25c3f8498198dd6dd114c3b4ef39af54611e1e (diff) |
updated preprocessing and rewriting input equalities into inequalities for LRA
Diffstat (limited to 'src/theory/arith/arith_static_learner.h')
-rw-r--r-- | src/theory/arith/arith_static_learner.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/theory/arith/arith_static_learner.h b/src/theory/arith/arith_static_learner.h index f2405cd5c..0ed9cbe85 100644 --- a/src/theory/arith/arith_static_learner.h +++ b/src/theory/arith/arith_static_learner.h @@ -44,10 +44,19 @@ private: VarToNodeSetMap d_miplibTrick; std::list<TNode> d_miplibTrickKeys; + /** + * Map from a node to it's minimum and maximum. + */ + typedef __gnu_cxx::hash_map<Node, DeltaRational, NodeHashFunction> NodeToMinMaxMap; + NodeToMinMaxMap d_minMap; + NodeToMinMaxMap d_maxMap; + public: ArithStaticLearner(); void staticLearning(TNode n, NodeBuilder<>& learned); + void addBound(TNode n); + void clear(); private: |