mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
add tactic name
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
e3bd5badf2
commit
9f2b18cac5
73 changed files with 218 additions and 63 deletions
|
@ -63,6 +63,8 @@ public:
|
|||
m_fns.reset();
|
||||
}
|
||||
|
||||
char const* name() const override { return "ctx_solver_simplify"; }
|
||||
|
||||
void updt_params(params_ref const & p) override {
|
||||
m_solver.updt_params(p);
|
||||
}
|
||||
|
|
|
@ -41,18 +41,16 @@ class smt_tactic : public tactic {
|
|||
smt_params m_params;
|
||||
params_ref m_params_ref;
|
||||
statistics m_stats;
|
||||
smt::kernel * m_ctx;
|
||||
smt::kernel* m_ctx = nullptr;
|
||||
symbol m_logic;
|
||||
progress_callback * m_callback;
|
||||
bool m_candidate_models;
|
||||
bool m_fail_if_inconclusive;
|
||||
progress_callback* m_callback = nullptr;
|
||||
bool m_candidate_models = false;
|
||||
bool m_fail_if_inconclusive = false;
|
||||
|
||||
public:
|
||||
smt_tactic(ast_manager& m, params_ref const & p):
|
||||
m(m),
|
||||
m_params_ref(p),
|
||||
m_ctx(nullptr),
|
||||
m_callback(nullptr),
|
||||
m_vars(m) {
|
||||
updt_params_core(p);
|
||||
TRACE("smt_tactic", tout << "p: " << p << "\n";);
|
||||
|
@ -66,6 +64,8 @@ public:
|
|||
SASSERT(m_ctx == nullptr);
|
||||
}
|
||||
|
||||
char const* name() const override { return "smt"; }
|
||||
|
||||
smt_params & fparams() {
|
||||
return m_params;
|
||||
}
|
||||
|
|
|
@ -38,6 +38,8 @@ struct unit_subsumption_tactic : public tactic {
|
|||
m_clauses(m) {
|
||||
}
|
||||
|
||||
char const* name() const override { return "unit_subsumption"; }
|
||||
|
||||
void cleanup() override {}
|
||||
|
||||
void operator()(/* in */ goal_ref const & in,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue