From 478b935ba5e2b9eda4eb21f7651747c5325229b1 Mon Sep 17 00:00:00 2001 From: Andrew Reynolds Date: Wed, 14 May 2014 14:46:53 -0500 Subject: Finish --dump-instantiations option. Update scripts. --- src/theory/quantifiers_engine.cpp | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'src/theory/quantifiers_engine.cpp') 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(): -- cgit v1.2.3