diff options
Diffstat (limited to 'src/theory/theory_engine.h')
-rw-r--r-- | src/theory/theory_engine.h | 11 |
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 |