diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2018-05-21 14:09:12 -0500 |
---|---|---|
committer | Andres Noetzli <andres.noetzli@gmail.com> | 2018-05-21 22:09:12 +0300 |
commit | caf65a13994dc1d39cc31a8cea76c6a7fddb338c (patch) | |
tree | 2c52e2a6b9a06be048d111d267923778d9789c39 /src/theory/quantifiers_engine.cpp | |
parent | c975ef8d15438e151f94a0a7f3d1adb6ac7918dc (diff) |
Refactor sygus eval unfold (#1946)
Diffstat (limited to 'src/theory/quantifiers_engine.cpp')
-rw-r--r-- | src/theory/quantifiers_engine.cpp | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/theory/quantifiers_engine.cpp b/src/theory/quantifiers_engine.cpp index b5f179822..3746c2e1c 100644 --- a/src/theory/quantifiers_engine.cpp +++ b/src/theory/quantifiers_engine.cpp @@ -20,24 +20,24 @@ #include "theory/arrays/theory_arrays.h" #include "theory/datatypes/theory_datatypes.h" #include "theory/quantifiers/alpha_equivalence.h" -#include "theory/quantifiers/fmf/ambqi_builder.h" #include "theory/quantifiers/anti_skolem.h" -#include "theory/quantifiers/fmf/bounded_integers.h" -#include "theory/quantifiers/sygus/ce_guided_instantiation.h" #include "theory/quantifiers/cegqi/ceg_t_instantiator.h" +#include "theory/quantifiers/cegqi/inst_strategy_cbqi.h" #include "theory/quantifiers/conjecture_generator.h" +#include "theory/quantifiers/ematching/inst_strategy_e_matching.h" +#include "theory/quantifiers/ematching/instantiation_engine.h" +#include "theory/quantifiers/ematching/trigger.h" #include "theory/quantifiers/equality_infer.h" #include "theory/quantifiers/equality_query.h" #include "theory/quantifiers/first_order_model.h" +#include "theory/quantifiers/fmf/ambqi_builder.h" +#include "theory/quantifiers/fmf/bounded_integers.h" #include "theory/quantifiers/fmf/full_model_check.h" +#include "theory/quantifiers/fmf/model_engine.h" #include "theory/quantifiers/inst_propagator.h" -#include "theory/quantifiers/cegqi/inst_strategy_cbqi.h" -#include "theory/quantifiers/ematching/inst_strategy_e_matching.h" #include "theory/quantifiers/inst_strategy_enumerative.h" #include "theory/quantifiers/instantiate.h" -#include "theory/quantifiers/ematching/instantiation_engine.h" #include "theory/quantifiers/local_theory_ext.h" -#include "theory/quantifiers/fmf/model_engine.h" #include "theory/quantifiers/quant_conflict_find.h" #include "theory/quantifiers/quant_epr.h" #include "theory/quantifiers/quant_relevance.h" @@ -47,11 +47,12 @@ #include "theory/quantifiers/relevant_domain.h" #include "theory/quantifiers/rewrite_engine.h" #include "theory/quantifiers/skolemize.h" -#include "theory/quantifiers/term_database.h" +#include "theory/quantifiers/sygus/ce_guided_instantiation.h" +#include "theory/quantifiers/sygus/sygus_eval_unfold.h" #include "theory/quantifiers/sygus/term_database_sygus.h" +#include "theory/quantifiers/term_database.h" #include "theory/quantifiers/term_enumeration.h" #include "theory/quantifiers/term_util.h" -#include "theory/quantifiers/ematching/trigger.h" #include "theory/sep/theory_sep.h" #include "theory/theory_engine.h" #include "theory/uf/equality_engine.h" @@ -847,7 +848,7 @@ void QuantifiersEngine::addTermToDatabase( Node n, bool withinQuant, bool within { if (d_sygus_tdb) { - d_sygus_tdb->registerEvalTerm(n); + d_sygus_tdb->getEvalUnfold()->registerEvalTerm(n); } // added contains also the Node that just have been asserted in this |