summaryrefslogtreecommitdiff
path: root/src/smt/smt_engine.cpp
diff options
context:
space:
mode:
authorKshitij Bansal <kshitij@cs.nyu.edu>2012-06-12 17:33:29 +0000
committerKshitij Bansal <kshitij@cs.nyu.edu>2012-06-12 17:33:29 +0000
commit0659b7c7b50e49cbea1728f90f7ff04598f01eac (patch)
treec0f2ab0f6734fa6c78c68857c1a2c2d551f7a644 /src/smt/smt_engine.cpp
parent43dd3569232fd72d7791db7dd113bdff0bdf916d (diff)
cleanup of exit mechanism when decisionEngine is on\n\n fixes some bugs we were seeing in quantifiers+decision stuff
Diffstat (limited to 'src/smt/smt_engine.cpp')
-rw-r--r--src/smt/smt_engine.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp
index 652749557..7cac970f8 100644
--- a/src/smt/smt_engine.cpp
+++ b/src/smt/smt_engine.cpp
@@ -266,8 +266,7 @@ SmtEngine::SmtEngine(ExprManager* em) throw(AssertionException) :
d_theoryPreprocessTime("smt::SmtEngine::theoryPreprocessTime"),
d_cnfConversionTime("smt::SmtEngine::cnfConversionTime"),
d_numAssertionsPre("smt::SmtEngine::numAssertionsPreITERemoval", 0),
- d_numAssertionsPost("smt::SmtEngine::numAssertionsPostITERemoval", 0),
- d_statResultSource("smt::resultSource", "unknown") {
+ d_numAssertionsPost("smt::SmtEngine::numAssertionsPostITERemoval", 0) {
NodeManagerScope nms(d_nodeManager);
@@ -282,7 +281,6 @@ SmtEngine::SmtEngine(ExprManager* em) throw(AssertionException) :
StatisticsRegistry::registerStat(&d_cnfConversionTime);
StatisticsRegistry::registerStat(&d_numAssertionsPre);
StatisticsRegistry::registerStat(&d_numAssertionsPost);
- StatisticsRegistry::registerStat(&d_statResultSource);
// We have mutual dependency here, so we add the prop engine to the theory
// engine later (it is non-essential there)
@@ -402,7 +400,6 @@ SmtEngine::~SmtEngine() throw() {
StatisticsRegistry::unregisterStat(&d_cnfConversionTime);
StatisticsRegistry::unregisterStat(&d_numAssertionsPre);
StatisticsRegistry::unregisterStat(&d_numAssertionsPost);
- StatisticsRegistry::unregisterStat(&d_statResultSource);
delete d_private;
delete d_userContext;
@@ -1257,7 +1254,6 @@ Result SmtEngine::check() {
Trace("smt") << "SmtEngine::check(): running check" << endl;
Result result = d_propEngine->checkSat(millis, resource);
- d_statResultSource.setData("satSolver");
// PropEngine::checkSat() returns the actual amount used in these
// variables.
@@ -1267,14 +1263,6 @@ Result SmtEngine::check() {
Trace("limit") << "SmtEngine::check(): cumulative millis " << d_cumulativeTimeUsed
<< ", conflicts " << d_cumulativeResourceUsed << endl;
- if(result.isUnknown() and d_decisionEngine != NULL) {
- Result deResult = d_decisionEngine->getResult();
- if(not deResult.isUnknown()) {
- d_statResultSource.setData("decisionEngine");
- result = deResult;
- }
- }
-
return result;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback