mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 09:35:32 +00:00
more reorg
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
32791204e7
commit
29cf179364
20 changed files with 31 additions and 91 deletions
|
@ -41,15 +41,6 @@ struct front_end_params;
|
|||
class solver : public check_sat_result {
|
||||
public:
|
||||
virtual ~solver() {}
|
||||
|
||||
/**
|
||||
\brief This method is invoked to allow the solver to access the front_end_params (environment parameters).
|
||||
|
||||
\warning This method is used for backward compatibility. The first solver implemented in Z3 used
|
||||
front_end_params to store its configuration parameters.
|
||||
*/
|
||||
virtual void set_front_end_params(front_end_params & p) {}
|
||||
|
||||
/**
|
||||
\brief Update the solver internal settings.
|
||||
*/
|
||||
|
|
|
@ -191,7 +191,6 @@ void strategic_solver::init_inc_solver() {
|
|||
m_inc_solver->set_produce_proofs(m_produce_proofs);
|
||||
m_inc_solver->set_produce_models(m_produce_models);
|
||||
m_inc_solver->set_produce_unsat_cores(m_produce_unsat_cores);
|
||||
m_inc_solver->set_front_end_params(*m_fparams);
|
||||
m_inc_solver->init(m(), m_logic);
|
||||
unsigned sz = get_num_assertions();
|
||||
if (m_produce_unsat_cores) {
|
||||
|
@ -329,7 +328,6 @@ struct strategic_solver::mk_tactic {
|
|||
params_ref p;
|
||||
front_end_params2params(*s->m_fparams, p);
|
||||
tactic * tct = (*f)(m, p);
|
||||
tct->set_front_end_params(*s->m_fparams);
|
||||
tct->set_logic(s->m_logic);
|
||||
if (s->m_callback)
|
||||
tct->set_progress_callback(s->m_callback);
|
||||
|
|
|
@ -118,8 +118,6 @@ public:
|
|||
void set_inc_unknown_behavior(inc_unknown_behavior b) { m_inc_unknown_behavior = b; }
|
||||
void force_tactic(bool f) { m_force_tactic = f; }
|
||||
|
||||
virtual void set_front_end_params(front_end_params & p) { m_fparams = &p; }
|
||||
|
||||
virtual void updt_params(params_ref const & p);
|
||||
virtual void collect_param_descrs(param_descrs & r);
|
||||
|
||||
|
|
|
@ -107,8 +107,6 @@ lbool tactic2solver_core::check_sat_core(unsigned num_assumptions, expr * const
|
|||
return l_undef;
|
||||
tactic & t = *(m_ctx->m_tactic);
|
||||
simple_check_sat_result & result = *(m_ctx->m_result);
|
||||
if (m_fparams)
|
||||
t.set_front_end_params(*m_fparams);
|
||||
goal_ref g = alloc(goal, m, m_produce_proofs, m_produce_models, m_produce_unsat_cores);
|
||||
t.set_logic(m_ctx->m_logic);
|
||||
unsigned sz = m_ctx->m_assertions.size();
|
||||
|
|
|
@ -54,8 +54,6 @@ public:
|
|||
|
||||
virtual tactic * get_tactic(ast_manager & m, params_ref const & p) = 0;
|
||||
|
||||
virtual void set_front_end_params(front_end_params & p) { m_fparams = &p; }
|
||||
|
||||
virtual void updt_params(params_ref const & p);
|
||||
virtual void collect_param_descrs(param_descrs & r);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue