3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-03-02 11:46:55 +00:00

add option to bypass model converter during constraint addition. Simplify model definitions that come from blocked clauses

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2017-11-27 16:24:14 -08:00
parent 1101c927c9
commit fbae881ece
5 changed files with 65 additions and 13 deletions

View file

@ -45,7 +45,9 @@ public:
*/
class solver : public check_sat_result {
params_ref m_params;
bool m_enforce_model_conversion;
public:
solver(): m_enforce_model_conversion(true) {}
virtual ~solver() {}
/**
@ -56,7 +58,7 @@ public:
/**
\brief Update the solver internal settings.
*/
virtual void updt_params(params_ref const & p) { m_params.copy(p); }
virtual void updt_params(params_ref const & p);
/**
\brief Retrieve set of parameters set on solver.
@ -67,7 +69,7 @@ public:
\brief Store in \c r a description of the configuration
parameters available in this solver.
*/
virtual void collect_param_descrs(param_descrs & r) {}
virtual void collect_param_descrs(param_descrs & r);
/**
\brief Enable/Disable model generation for this solver object.