diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2018-10-09 16:54:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-09 16:54:58 -0500 |
commit | 9168f325706e61bb12fec71cd375647e2102f8d3 (patch) | |
tree | aa5129a48322e43ae0f5faa9ade2decbd7091df0 /src/theory/quantifiers/sygus/cegis.cpp | |
parent | 90ffa8b4eb26af9060e57be7fe5d6008717d3ce6 (diff) |
Support for basic actively-generated enumerators (#2606)
Diffstat (limited to 'src/theory/quantifiers/sygus/cegis.cpp')
-rw-r--r-- | src/theory/quantifiers/sygus/cegis.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/theory/quantifiers/sygus/cegis.cpp b/src/theory/quantifiers/sygus/cegis.cpp index ad45fb9b7..2e7f0cc02 100644 --- a/src/theory/quantifiers/sygus/cegis.cpp +++ b/src/theory/quantifiers/sygus/cegis.cpp @@ -78,7 +78,8 @@ bool Cegis::processInitialize(Node n, // This module would expect constructCandidates calls (e_f,e_g) -> (ti, sj) // for each i,j. We do not do this and revert to the default behavior of // this module instead. - bool isVarAgnostic = options::sygusEnumVarAgnostic() && csize == 1; + bool isActiveGen = + options::sygusActiveGenMode() != SYGUS_ACTIVE_GEN_NONE && csize == 1; // initialize an enumerator for each candidate for (unsigned i = 0; i < csize; i++) { @@ -101,9 +102,9 @@ bool Cegis::processInitialize(Node n, d_tds->registerEnumerator(candidates[i], candidates[i], d_parent, - isVarAgnostic, + isActiveGen, do_repair_const, - isVarAgnostic); + isActiveGen); } return true; } |