diff options
author | ajreynol <andrew.j.reynolds@gmail.com> | 2017-04-04 11:21:30 -0500 |
---|---|---|
committer | ajreynol <andrew.j.reynolds@gmail.com> | 2017-04-04 11:21:30 -0500 |
commit | 6c0a62d69368b1af7e9777efcd703da6dc1cda11 (patch) | |
tree | 677d518d345a230c35bfbcb016fca199185f131e /src/theory/theory_engine.cpp | |
parent | 6cb3f49d3933061000fe63d2ee7e004cae06d6ba (diff) |
Simplify Theory::collectModelInfo interface to not take deprecated fullModel argument.
Diffstat (limited to 'src/theory/theory_engine.cpp')
-rw-r--r-- | src/theory/theory_engine.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/theory/theory_engine.cpp b/src/theory/theory_engine.cpp index ba80b130e..4d2998c68 100644 --- a/src/theory/theory_engine.cpp +++ b/src/theory/theory_engine.cpp @@ -616,7 +616,7 @@ void TheoryEngine::check(Theory::Effort effort) { if(d_logicInfo.isQuantified()) { // quantifiers engine must pass effort last call check d_quantEngine->check(Theory::EFFORT_LAST_CALL); - // if returning incomplete or SAT, we have ensured that d_curr_model has been built with fullModel=true + // if returning incomplete or SAT, we have ensured that d_curr_model has been built } else if(options::produceModels() && !d_curr_model->isBuilt()) { // must build model at this point d_curr_model_builder->buildModel(d_curr_model); @@ -843,16 +843,15 @@ bool TheoryEngine::properExplanation(TNode node, TNode expl) const { return true; } -void TheoryEngine::collectModelInfo( theory::TheoryModel* m, bool fullModel ){ - Assert( fullModel ); // AJR : FIXME : remove/simplify fullModel argument everywhere +void TheoryEngine::collectModelInfo( theory::TheoryModel* m ){ //have shared term engine collectModelInfo - // d_sharedTerms.collectModelInfo( m, fullModel ); + // d_sharedTerms.collectModelInfo( m ); // Consult each active theory to get all relevant information // concerning the model. for(TheoryId theoryId = theory::THEORY_FIRST; theoryId < theory::THEORY_LAST; ++theoryId) { if(d_logicInfo.isTheoryEnabled(theoryId)) { Trace("model-builder") << " CollectModelInfo on theory: " << theoryId << endl; - d_theoryTable[theoryId]->collectModelInfo( m, fullModel ); + d_theoryTable[theoryId]->collectModelInfo( m ); } } // Get the Boolean variables |