diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2018-09-18 10:26:36 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-18 10:26:36 -0500 |
commit | fa557c39a89a2c8de198ea0400e6936c1790ad4e (patch) | |
tree | f1b2ff7512b3aec3a06d5a879dc930e559ae172e /src/theory/quantifiers_engine.cpp | |
parent | d718da758b27c2824d2aff44faf71971133217ab (diff) |
Move and rename sygus solver classes (#2488)
Diffstat (limited to 'src/theory/quantifiers_engine.cpp')
-rw-r--r-- | src/theory/quantifiers_engine.cpp | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/theory/quantifiers_engine.cpp b/src/theory/quantifiers_engine.cpp index 7a5652e2f..320f50afb 100644 --- a/src/theory/quantifiers_engine.cpp +++ b/src/theory/quantifiers_engine.cpp @@ -47,8 +47,8 @@ #include "theory/quantifiers/relevant_domain.h" #include "theory/quantifiers/rewrite_engine.h" #include "theory/quantifiers/skolemize.h" -#include "theory/quantifiers/sygus/ce_guided_instantiation.h" #include "theory/quantifiers/sygus/sygus_eval_unfold.h" +#include "theory/quantifiers/sygus/synth_engine.h" #include "theory/quantifiers/sygus/term_database_sygus.h" #include "theory/quantifiers/term_canonize.h" #include "theory/quantifiers/term_database.h" @@ -96,7 +96,7 @@ QuantifiersEngine::QuantifiersEngine(context::Context* c, d_qcf(nullptr), d_rr_engine(nullptr), d_sg_gen(nullptr), - d_ceg_inst(nullptr), + d_synth_e(nullptr), d_lte_part_inst(nullptr), d_fs(nullptr), d_i_cbqi(nullptr), @@ -192,8 +192,8 @@ QuantifiersEngine::QuantifiersEngine(context::Context* c, } } if( options::ceGuidedInst() ){ - d_ceg_inst.reset(new quantifiers::CegInstantiation(this, c)); - d_modules.push_back(d_ceg_inst.get()); + d_synth_e.reset(new quantifiers::SynthEngine(this, c)); + d_modules.push_back(d_synth_e.get()); //needsBuilder = true; } //finite model finding @@ -374,9 +374,9 @@ quantifiers::RewriteEngine* QuantifiersEngine::getRewriteEngine() const { return d_rr_engine.get(); } -quantifiers::CegInstantiation* QuantifiersEngine::getCegInstantiation() const +quantifiers::SynthEngine* QuantifiersEngine::getSynthEngine() const { - return d_ceg_inst.get(); + return d_synth_e.get(); } quantifiers::InstStrategyEnum* QuantifiersEngine::getInstStrategyEnum() const { @@ -1148,8 +1148,9 @@ void QuantifiersEngine::printInstantiations( std::ostream& out ) { } void QuantifiersEngine::printSynthSolution( std::ostream& out ) { - if( d_ceg_inst ){ - d_ceg_inst->printSynthSolution( out ); + if (d_synth_e) + { + d_synth_e->printSynthSolution(out); }else{ out << "Internal error : module for synth solution not found." << std::endl; } @@ -1260,7 +1261,7 @@ Node QuantifiersEngine::getInternalRepresentative( Node a, Node q, int index ){ void QuantifiersEngine::getSynthSolutions(std::map<Node, Node>& sol_map) { - d_ceg_inst->getSynthSolutions(sol_map); + d_synth_e->getSynthSolutions(sol_map); } void QuantifiersEngine::debugPrintEqualityEngine( const char * c ) { |