diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2018-10-17 22:09:45 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-17 22:09:45 -0500 |
commit | f1a4096e579b101642c5a47eb5c8e90476ccc81a (patch) | |
tree | a4c9e048888b759d7bc99bbb5afb9ef879ef1c49 /src/theory/quantifiers/sygus/synth_conjecture.cpp | |
parent | 1823d6d537a59d85a17f09f53c8128d934c420a3 (diff) |
Sygus query generator (#2465)
Diffstat (limited to 'src/theory/quantifiers/sygus/synth_conjecture.cpp')
-rw-r--r-- | src/theory/quantifiers/sygus/synth_conjecture.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/theory/quantifiers/sygus/synth_conjecture.cpp b/src/theory/quantifiers/sygus/synth_conjecture.cpp index 7955d59a8..32342a9ba 100644 --- a/src/theory/quantifiers/sygus/synth_conjecture.cpp +++ b/src/theory/quantifiers/sygus/synth_conjecture.cpp @@ -981,7 +981,7 @@ void SynthConjecture::printSynthSolution(std::ostream& out) bool is_unique_term = true; - if (status != 0 && options::sygusRewSynth()) + if (status != 0 && (options::sygusRewSynth() || options::sygusQueryGen())) { std::map<Node, ExpressionMinerManager>::iterator its = d_exprm.find(prog); @@ -993,6 +993,10 @@ void SynthConjecture::printSynthSolution(std::ostream& out) { d_exprm[prog].enableRewriteRuleSynth(); } + if (options::sygusQueryGen()) + { + d_exprm[prog].enableQueryGeneration(options::sygusQueryGenThresh()); + } its = d_exprm.find(prog); } bool rew_print = false; |