diff options
author | Kshitij Bansal <kshitij@cs.nyu.edu> | 2012-11-27 19:02:50 +0000 |
---|---|---|
committer | Kshitij Bansal <kshitij@cs.nyu.edu> | 2012-11-27 19:02:50 +0000 |
commit | 95dcbc6781cd8e62f8436f0cfe944b21dfd60ec0 (patch) | |
tree | e0259b9f2993e397e662d6c71a74e473133850b1 /src/decision/decision_engine.cpp | |
parent | 0697e19c09a8ac5f1d9c30ee053845f06ea39c0e (diff) |
Simplify --help=decision with only currently supported options
Add notice/warning when using incremental-mode + decision (it was
already disabled)
Some other minor cleanup
(this commit was certified error- and warning-free by the test-and-commit script.)
Diffstat (limited to 'src/decision/decision_engine.cpp')
-rw-r--r-- | src/decision/decision_engine.cpp | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/decision/decision_engine.cpp b/src/decision/decision_engine.cpp index d5c819ace..22c70eb6d 100644 --- a/src/decision/decision_engine.cpp +++ b/src/decision/decision_engine.cpp @@ -50,8 +50,18 @@ void DecisionEngine::init() d_engineState = 1; Trace("decision-init") << "DecisionEngine::init()" << std::endl; - if(options::incrementalSolving()) return; - + if(options::incrementalSolving()) { + if(options::decisionMode() != decision::DECISION_STRATEGY_INTERNAL) { + if(options::decisionMode.wasSetByUser()) { + Warning() << "Ignorning decision option since using incremental mode (currently not supported together)" + << std::endl; + } else { + Notice() << "Using internal decision heuristic since using incremental mode (not supported currently)" + << std::endl; + } + } + return; + } Trace("decision-init") << " * options->decisionMode: " << options::decisionMode() << std:: endl; Trace("decision-init") << " * options->decisionStopOnly: " |