3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-23 19:47:52 +00:00

Display Fu Malik statistics

This commit is contained in:
Anh-Dung Phan 2013-11-15 12:58:11 -08:00
parent 0acf331ed1
commit 074e851d49
7 changed files with 104 additions and 29 deletions

View file

@ -46,7 +46,8 @@ namespace opt {
bool m_objective_enabled;
svector<smt::theory_var> m_objective_vars;
vector<inf_eps> m_objective_values;
bool m_is_dump;
bool m_is_dump;
statistics m_stats;
public:
opt_solver(ast_manager & m, params_ref const & p, symbol const & l);
virtual ~opt_solver();
@ -77,7 +78,8 @@ namespace opt {
expr_ref block_upper_bound(unsigned obj_index, inf_eps const& val);
static opt_solver& to_opt(solver& s);
void set_interim_stats(statistics & st);
class toggle_objective {
opt_solver& s;
bool m_old_value;