diff options
author | ajreynol <andrew.j.reynolds@gmail.com> | 2015-04-28 15:50:17 +0200 |
---|---|---|
committer | ajreynol <andrew.j.reynolds@gmail.com> | 2015-04-28 15:50:23 +0200 |
commit | c6855bb13420c020690cf63c8b770186f278081c (patch) | |
tree | 7b8e6a340ce9561a223f5417dda16440d784e8c9 /src/theory/quantifiers/full_model_check.cpp | |
parent | 1261597c32e3c8a98225a91fdd7b420867f89329 (diff) |
Fix smt2 printing of fun-def. Simplification of mbqi interface.
Diffstat (limited to 'src/theory/quantifiers/full_model_check.cpp')
-rw-r--r-- | src/theory/quantifiers/full_model_check.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/theory/quantifiers/full_model_check.cpp b/src/theory/quantifiers/full_model_check.cpp index c0a734c35..c3a723fce 100644 --- a/src/theory/quantifiers/full_model_check.cpp +++ b/src/theory/quantifiers/full_model_check.cpp @@ -325,15 +325,9 @@ QModelBuilder( c, qe ){ d_false = NodeManager::currentNM()->mkConst(false); } -bool FullModelChecker::optBuildAtFullModel() { - //need to build after full model has taken effect if we are constructing interval models - // this is because we need to have a constant in all integer equivalence classes - return options::mbqiMode()==quantifiers::MBQI_FMC_INTERVAL; -} - void FullModelChecker::processBuildModel(TheoryModel* m, bool fullModel){ FirstOrderModelFmc * fm = ((FirstOrderModelFmc*)m)->asFirstOrderModelFmc(); - if( fullModel==optBuildAtFullModel() ){ + if( !fullModel ){ Trace("fmc") << "---Full Model Check reset() " << std::endl; fm->initialize(); d_quant_models.clear(); @@ -514,8 +508,7 @@ void FullModelChecker::processBuildModel(TheoryModel* m, bool fullModel){ } */ } - } - if( fullModel ){ + }else{ //make function values for( std::map<Node, Def * >::iterator it = fm->d_models.begin(); it != fm->d_models.end(); ++it ){ m->d_uf_models[ it->first ] = getFunctionValue( fm, it->first, "$x" ); |