diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2012-10-17 02:59:07 +0000 |
---|---|---|
committer | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2012-10-17 02:59:07 +0000 |
commit | 7f10c78f572debd0ddf717bfb9f9453a42c015cb (patch) | |
tree | 37313c73fc7b3f37f956ae1eb5802eb221392955 /src/theory/quantifiers_engine.cpp | |
parent | d9d71e0d7885d32ef44fbd08d47b3cccd35ff6f7 (diff) |
first working version of new inst-gen-style quantifier instantiation technique for fmf (--fmf-new-inst-gen), minor cleanup
Diffstat (limited to 'src/theory/quantifiers_engine.cpp')
-rw-r--r-- | src/theory/quantifiers_engine.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/theory/quantifiers_engine.cpp b/src/theory/quantifiers_engine.cpp index 9d7c8e315..4ba5c39e6 100644 --- a/src/theory/quantifiers_engine.cpp +++ b/src/theory/quantifiers_engine.cpp @@ -97,17 +97,17 @@ void QuantifiersEngine::check( Theory::Effort e ){ d_hasAddedLemma = false; if( e==Theory::EFFORT_LAST_CALL ){ + //if effort is last call, try to minimize model first + if( options::finiteModelFind() ){ + //first, check if we can minimize the model further + if( !((uf::TheoryUF*)getTheoryEngine()->theoryOf( THEORY_UF ))->getStrongSolver()->minimize() ){ + return; + } + } ++(d_statistics.d_instantiation_rounds_lc); }else if( e==Theory::EFFORT_FULL ){ ++(d_statistics.d_instantiation_rounds); } - //if effort is last call, try to minimize model first - if( e==Theory::EFFORT_LAST_CALL && options::finiteModelFind() ){ - //first, check if we can minimize the model further - if( !((uf::TheoryUF*)getTheoryEngine()->theoryOf( THEORY_UF ))->getStrongSolver()->minimize() ){ - return; - } - } for( int i=0; i<(int)d_modules.size(); i++ ){ d_modules[i]->check( e ); } |