diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2014-05-14 14:46:53 -0500 |
---|---|---|
committer | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2014-05-14 14:47:09 -0500 |
commit | 478b935ba5e2b9eda4eb21f7651747c5325229b1 (patch) | |
tree | 6492b5a4598efadf533859c9d45bafce9295a899 /src/theory/quantifiers_engine.cpp | |
parent | e0a291555fc4710c39a75eac19039a063c166cea (diff) |
Finish --dump-instantiations option. Update scripts.
Diffstat (limited to 'src/theory/quantifiers_engine.cpp')
-rw-r--r-- | src/theory/quantifiers_engine.cpp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/theory/quantifiers_engine.cpp b/src/theory/quantifiers_engine.cpp index 83733da42..3714ca4d0 100644 --- a/src/theory/quantifiers_engine.cpp +++ b/src/theory/quantifiers_engine.cpp @@ -623,19 +623,18 @@ void QuantifiersEngine::getPhaseReqTerms( Node f, std::vector< Node >& nodes ){ } void QuantifiersEngine::printInstantiations( std::ostream& out ) { - //Trace("ajr-temp") << "QE print inst." << std::endl; - //if( options::incrementalSolving() ){ - // for( std::map< Node, inst::CDInstMatchTrie* >::iterator it = d_c_inst_match_trie.begin(); it != d_c_inst_match_trie.end(); ++it ){ - // out << "Instantiations of " << it->first << " : " << std::endl; - // it->second->print( out, it->first ); - // } - //}else{ + if( options::incrementalSolving() ){ + for( std::map< Node, inst::CDInstMatchTrie* >::iterator it = d_c_inst_match_trie.begin(); it != d_c_inst_match_trie.end(); ++it ){ + out << "Instantiations of " << it->first << " : " << std::endl; + it->second->print( out, it->first ); + } + }else{ for( std::map< Node, inst::InstMatchTrie >::iterator it = d_inst_match_trie.begin(); it != d_inst_match_trie.end(); ++it ){ out << "Instantiations of " << it->first << " : " << std::endl; it->second.print( out, it->first ); out << std::endl; } - //} + } } QuantifiersEngine::Statistics::Statistics(): |