summaryrefslogtreecommitdiff
path: root/src/prop/prop_engine.cpp
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2010-11-15 23:51:38 +0000
committerTim King <taking@cs.nyu.edu>2010-11-15 23:51:38 +0000
commitda6e14331b883dba0e48bc9879f611376e30bf36 (patch)
treec278574871b64bd8af2332e508e23d5a53dbc1e3 /src/prop/prop_engine.cpp
parent5e5956d492ab18b5b4d4bb51117ac760867a525d (diff)
Changes to Solver and PropEngine to support lemmasOnDemand during solve but not yet in d_checkSat.
Diffstat (limited to 'src/prop/prop_engine.cpp')
-rw-r--r--src/prop/prop_engine.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/prop/prop_engine.cpp b/src/prop/prop_engine.cpp
index f3caead8b..ab1afceba 100644
--- a/src/prop/prop_engine.cpp
+++ b/src/prop/prop_engine.cpp
@@ -81,19 +81,14 @@ void PropEngine::assertFormula(TNode node) {
}
void PropEngine::assertLemma(TNode node) {
- Assert(d_inCheckSat, "Sat solver should be in solve()!");
+ //Assert(d_inCheckSat, "Sat solver should be in solve()!");
Debug("prop::lemmas") << "assertLemma(" << node << ")" << endl;
+
+ //TODO This comment is now false
// Assert as removable
d_cnfStream->convertAndAssert(node, true, false);
}
-void PropEngine::assertSafeLemma(TNode node) {
- if(d_inCheckSat){
- assertLemma(node);
- }else{
- assertFormula(node);
- }
-}
void PropEngine::printSatisfyingAssignment(){
const CnfStream::TranslationCache& transCache =
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback