diff options
author | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2011-09-15 06:53:33 +0000 |
---|---|---|
committer | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2011-09-15 06:53:33 +0000 |
commit | 72f552ead344b13d90832222157b970ae3dec8ff (patch) | |
tree | b02854356d5c5f98b3873f858f38b6762135bdc1 /src/theory/uf | |
parent | 62a50760346e130345b24e8a14ad0dac0dca5d38 (diff) |
additional stuff for sharing,
Diffstat (limited to 'src/theory/uf')
-rw-r--r-- | src/theory/uf/kinds | 2 | ||||
-rw-r--r-- | src/theory/uf/theory_uf.cpp | 4 | ||||
-rw-r--r-- | src/theory/uf/theory_uf.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/theory/uf/kinds b/src/theory/uf/kinds index 1f8643330..2de3715e1 100644 --- a/src/theory/uf/kinds +++ b/src/theory/uf/kinds @@ -7,7 +7,7 @@ theory THEORY_UF ::CVC4::theory::uf::TheoryUF "theory/uf/theory_uf.h" typechecker "theory/uf/theory_uf_type_rules.h" -properties stable-infinite +properties stable-infinite parametric properties check propagate staticLearning presolve rewriter ::CVC4::theory::uf::TheoryUfRewriter "theory/uf/theory_uf_rewriter.h" diff --git a/src/theory/uf/theory_uf.cpp b/src/theory/uf/theory_uf.cpp index b388dd1cb..84fad2f19 100644 --- a/src/theory/uf/theory_uf.cpp +++ b/src/theory/uf/theory_uf.cpp @@ -224,11 +224,11 @@ void TheoryUF::explain(TNode literal, std::vector<TNode>& assumptions) { d_equalityEngine.getExplanation(lhs, rhs, assumptions); } -void TheoryUF::explain(TNode literal) { +Node TheoryUF::explain(TNode literal) { Debug("uf") << "TheoryUF::explain(" << literal << ")" << std::endl; std::vector<TNode> assumptions; explain(literal, assumptions); - d_out->explanation(mkAnd(assumptions)); + return mkAnd(assumptions); } void TheoryUF::presolve() { diff --git a/src/theory/uf/theory_uf.h b/src/theory/uf/theory_uf.h index a3871f3a2..6cea8b85b 100644 --- a/src/theory/uf/theory_uf.h +++ b/src/theory/uf/theory_uf.h @@ -121,7 +121,7 @@ public: void check(Effort); void propagate(Effort); void preRegisterTerm(TNode term); - void explain(TNode n); + Node explain(TNode n); void staticLearning(TNode in, NodeBuilder<>& learned); void presolve(); |