diff options
author | Tim King <taking@cs.nyu.edu> | 2010-11-16 21:11:11 +0000 |
---|---|---|
committer | Tim King <taking@cs.nyu.edu> | 2010-11-16 21:11:11 +0000 |
commit | bb2a0e0e12f39a1b4dea8fb0c990decba4708a1c (patch) | |
tree | 6e5824f8cf1b0f1cb32e6cae5cbd214b1b48d965 /src/theory/theory_engine.h | |
parent | e66924cb0f425ca70969058532340e68c9c17a54 (diff) |
Added Theory::presolve().
Diffstat (limited to 'src/theory/theory_engine.h')
-rw-r--r-- | src/theory/theory_engine.h | 8 |
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; } |