summaryrefslogtreecommitdiff
path: root/src/smt
diff options
context:
space:
mode:
authorKshitij Bansal <kshitij@cs.nyu.edu>2012-06-14 17:14:30 +0000
committerKshitij Bansal <kshitij@cs.nyu.edu>2012-06-14 17:14:30 +0000
commitda66d47ddff4315db54bbcd3b8f46cf1040d5fd0 (patch)
tree291b115fdc40320e182bd652319b8b104aa7bac1 /src/smt
parentce4ba524301ee3a8a297b2c3050e7d2c5ee58d08 (diff)
bug ifx, mv
Diffstat (limited to 'src/smt')
-rw-r--r--src/smt/smt_engine.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp
index 747c92c0c..75d306663 100644
--- a/src/smt/smt_engine.cpp
+++ b/src/smt/smt_engine.cpp
@@ -329,10 +329,13 @@ SmtEngine::SmtEngine(ExprManager* em) throw(AssertionException) :
void SmtEngine::finishInit() {
d_decisionEngine = new DecisionEngine(d_context, d_userContext);
+ d_decisionEngine->init(); // enable appropriate strategies
+
d_propEngine = new PropEngine(d_theoryEngine, d_decisionEngine, d_context);
+
d_theoryEngine->setPropEngine(d_propEngine);
d_theoryEngine->setDecisionEngine(d_decisionEngine);
- // d_decisionEngine->setPropEngine(d_propEngine);
+
}
void SmtEngine::finalOptionsAreSet() {
@@ -350,8 +353,6 @@ void SmtEngine::finalOptionsAreSet() {
d_fullyInited = true;
d_logic.lock();
- d_decisionEngine->init();
-
d_propEngine->assertFormula(NodeManager::currentNM()->mkConst<bool>(true));
d_propEngine->assertFormula(NodeManager::currentNM()->mkConst<bool>(false).notNode());
}
@@ -532,7 +533,7 @@ void SmtEngine::setLogicInternal() throw(AssertionException) {
d_earlyTheoryPP = false;
}
// Turn on justification heuristic of the decision engine for QF_BV and QF_AUFBV
- if(! Options::current()->repeatSimpSetByUser) {
+ if(!Options::current()->decisionModeSetByUser) {
Options::DecisionMode decMode =
//QF_BV
( !d_logic.isQuantified() &&
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback