From 9a2913c2f1a22ed43ed772467ec42ba2262bee17 Mon Sep 17 00:00:00 2001 From: Andrew Reynolds Date: Mon, 4 Nov 2019 12:23:34 -0600 Subject: Make getSynthSolution return a Bool (#3306) --- src/theory/quantifiers_engine.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/theory/quantifiers_engine.h') diff --git a/src/theory/quantifiers_engine.h b/src/theory/quantifiers_engine.h index 323158404..f84b59761 100644 --- a/src/theory/quantifiers_engine.h +++ b/src/theory/quantifiers_engine.h @@ -256,14 +256,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 engine module of this class + * 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& sol_map); + bool getSynthSolutions(std::map& sol_map); //----------end user interface for instantiations -- cgit v1.2.3