3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 18:31:49 +00:00

expose grobner statistics

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2019-12-28 17:57:53 -08:00
parent f212ba97de
commit 83fa083def
2 changed files with 2 additions and 3 deletions

View file

@ -37,7 +37,6 @@ public:
unsigned m_max_expr_degree;
unsigned m_superposed;
unsigned m_compute_steps;
unsigned m_conflicts;
void reset() { memset(this, 0, sizeof(*this)); }
stats() { reset(); }
};

View file

@ -1413,7 +1413,7 @@ std::ostream& core::print_term( const lp::lar_term& t, std::ostream& out) const
void core::run_pdd_grobner() {
// m_pdd_manager.resize(m_lar_solver.number_of_vars());
lp_settings().stats().m_grobner_calls++;
m_pdd_grobner.reset();
set_level2var_for_pdd_grobner();
for (unsigned i : m_rows) {
@ -1444,7 +1444,7 @@ void core::check_pdd_eq(const dd::grobner::equation* e) {
current_expl().add(e);
};
if (di.check_interval_for_conflict_on_zero(i_wd, e->dep(), f)) {
m_pdd_grobner.get_stats().m_conflicts++;
lp_settings().stats().m_grobner_conflicts++;
IF_VERBOSE(2, verbose_stream() << "grobner conflict\n");
}
else {