mirror of
https://github.com/Z3Prover/z3
synced 2025-05-02 13:27:01 +00:00
updates
This commit is contained in:
parent
5be8872d6a
commit
22616da63b
9 changed files with 101 additions and 55 deletions
|
@ -42,6 +42,10 @@ struct simplify_tactic::imp {
|
|||
m_num_steps = 0;
|
||||
}
|
||||
|
||||
void collect_statistics(statistics& st) {
|
||||
st.update("rewriter.steps", m_num_steps);
|
||||
}
|
||||
|
||||
void operator()(goal & g) {
|
||||
tactic_report report("simplifier", g);
|
||||
m_num_steps = 0;
|
||||
|
@ -108,6 +112,11 @@ void simplify_tactic::cleanup() {
|
|||
new (m_imp) imp(m, p);
|
||||
}
|
||||
|
||||
void simplify_tactic::collect_statistics(statistics& st) const {
|
||||
if (m_imp)
|
||||
m_imp->collect_statistics(st);
|
||||
}
|
||||
|
||||
unsigned simplify_tactic::get_num_steps() const {
|
||||
return m_imp->get_num_steps();
|
||||
}
|
||||
|
|
|
@ -81,6 +81,8 @@ public:
|
|||
static void get_param_descrs(param_descrs & r);
|
||||
|
||||
void collect_param_descrs(param_descrs & r) override { get_param_descrs(r); }
|
||||
|
||||
void collect_statistics(statistics& st) const override;
|
||||
|
||||
void operator()(goal_ref const & in, goal_ref_buffer & result) override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue