summaryrefslogtreecommitdiff
path: root/src/theory/theory_engine.h
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2010-11-16 21:11:11 +0000
committerTim King <taking@cs.nyu.edu>2010-11-16 21:11:11 +0000
commitbb2a0e0e12f39a1b4dea8fb0c990decba4708a1c (patch)
tree6e5824f8cf1b0f1cb32e6cae5cbd214b1b48d965 /src/theory/theory_engine.h
parente66924cb0f425ca70969058532340e68c9c17a54 (diff)
Added Theory::presolve().
Diffstat (limited to 'src/theory/theory_engine.h')
-rw-r--r--src/theory/theory_engine.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/theory/theory_engine.h b/src/theory/theory_engine.h
index 7958d977e..8ee5c91d7 100644
--- a/src/theory/theory_engine.h
+++ b/src/theory/theory_engine.h
@@ -305,10 +305,16 @@ public:
} catch(const theory::Interrupted&) {
Debug("theory") << "TheoryEngine::check() => conflict" << std::endl;
}
- // Return wheather we have a conflict
+ // Return whether we have a conflict
return d_theoryOut.d_conflictNode.get().isNull();
}
+ /**
+ * Calls presolve() on all active theories and returns true
+ * if one of the theories discovers a conflict.
+ */
+ bool presolve();
+
inline const std::vector<TNode>& getPropagatedLiterals() const {
return d_theoryOut.d_propagatedLiterals;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback