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:
parent
1101c927c9
commit
fbae881ece
5 changed files with 65 additions and 13 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue