summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/theory_quantifiers.h
diff options
context:
space:
mode:
authorDejan Jovanović <dejan.jovanovic@gmail.com>2012-11-26 17:07:46 +0000
committerDejan Jovanović <dejan.jovanovic@gmail.com>2012-11-26 17:07:46 +0000
commit2a731b9164bb178f1232a9af0babc7dd84450cea (patch)
tree57d14d55f1bae93737dbee34c737771858572fad /src/theory/quantifiers/theory_quantifiers.h
parent164163c9c8fd255947cf3e8d236a5b9da1a1fdab (diff)
Adding support for a master equality engine. Each theory gets the master equality engine through the setMasterEqualityEngine method. This is a read-only equality engine, so nothing should be added to it directly. Instead each equality engine that is of interest should have the master equality engine attached to it. To set when to use the master equality engine see TheoryEngine::finishInit().
Diffstat (limited to 'src/theory/quantifiers/theory_quantifiers.h')
-rw-r--r--src/theory/quantifiers/theory_quantifiers.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/theory/quantifiers/theory_quantifiers.h b/src/theory/quantifiers/theory_quantifiers.h
index 7b050bb1c..12b735497 100644
--- a/src/theory/quantifiers/theory_quantifiers.h
+++ b/src/theory/quantifiers/theory_quantifiers.h
@@ -31,6 +31,7 @@ namespace CVC4 {
class TheoryEngine;
namespace theory {
+
namespace quantifiers {
class ModelEngine;
@@ -49,10 +50,14 @@ private:
KEEP_STATISTIC(TimerStat, d_theoryTime, "theory::quantifiers::theoryTime");
+ eq::EqualityEngine* d_masterEqualityEngine;
+
public:
TheoryQuantifiers(context::Context* c, context::UserContext* u, OutputChannel& out, Valuation valuation, const LogicInfo& logicInfo, QuantifiersEngine* qe);
~TheoryQuantifiers();
+ void setMasterEqualityEngine(eq::EqualityEngine* eq);
+
void addSharedTerm(TNode t);
void notifyEq(TNode lhs, TNode rhs);
void preRegisterTerm(TNode n);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback