summaryrefslogtreecommitdiff
path: root/src/theory/theory_engine.h
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2019-11-04 12:23:34 -0600
committerGitHub <noreply@github.com>2019-11-04 12:23:34 -0600
commit9a2913c2f1a22ed43ed772467ec42ba2262bee17 (patch)
treed8465f1a1deefc91397d2f426630c92b7a797133 /src/theory/theory_engine.h
parent9854e505aeae1ac86ea75e98131dd8643349df60 (diff)
Make getSynthSolution return a Bool (#3306)
Diffstat (limited to 'src/theory/theory_engine.h')
-rw-r--r--src/theory/theory_engine.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/theory/theory_engine.h b/src/theory/theory_engine.h
index bf3e394f1..fc31572ec 100644
--- a/src/theory/theory_engine.h
+++ b/src/theory/theory_engine.h
@@ -767,14 +767,19 @@ public:
/** get synth solutions
*
- * This function adds entries to sol_map that map functions-to-synthesize with
+ * This method returns true if there is a synthesis solution available. This
+ * is the case if the last call to check satisfiability originated in a
+ * check-synth call, and the synthesis solver successfully found a solution
+ * for all active synthesis conjectures.
+ *
+ * This method adds entries to sol_map that map functions-to-synthesize with
* their solutions, for all active conjectures. This should be called
* immediately after the solver answers unsat for sygus input.
*
* For details on what is added to sol_map, see
- * CegConjecture::getSynthSolutions.
+ * SynthConjecture::getSynthSolutions.
*/
- void getSynthSolutions(std::map<Node, Node>& sol_map);
+ bool getSynthSolutions(std::map<Node, Node>& sol_map);
/**
* Get the model builder
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback