summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/sygus/synth_conjecture.h
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-02-24 17:28:03 -0600
committerGitHub <noreply@github.com>2020-02-24 17:28:03 -0600
commita3b9a99404ee00bde5db42aab63ab08df3712ba3 (patch)
tree0602557ad2c7edd0f6282a4257a2df3e5668b4d5 /src/theory/quantifiers/sygus/synth_conjecture.h
parentb0fa6b29a1e15b231547eab147b49f2883a139de (diff)
Fixes for quantifiers documentation (#3811)
Minor fixes discovered during development of sygus-inst.
Diffstat (limited to 'src/theory/quantifiers/sygus/synth_conjecture.h')
-rw-r--r--src/theory/quantifiers/sygus/synth_conjecture.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/theory/quantifiers/sygus/synth_conjecture.h b/src/theory/quantifiers/sygus/synth_conjecture.h
index a4f4af2e8..126facfa8 100644
--- a/src/theory/quantifiers/sygus/synth_conjecture.h
+++ b/src/theory/quantifiers/sygus/synth_conjecture.h
@@ -59,6 +59,13 @@ class EnumValGenerator
* Increment this value generator. If this returns false, then we are out of
* values. If this returns true, getCurrent(), if non-null, returns the
* current term.
+ *
+ * Notice that increment() may return true and afterwards it may be the case
+ * getCurrent() is null. We do this so that increment() does not take too
+ * much time per call, which can be the case for grammars where it is
+ * difficult to find the next (non-redundant) term. Returning true with
+ * a null current term gives the caller the chance to interleave other
+ * reasoning.
*/
virtual bool increment() = 0;
/** Get the current concrete value generated by this class. */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback