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

more refactoring

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2013-11-08 13:16:10 -08:00
parent 29cc9025cb
commit 6caee5e3ca
8 changed files with 34 additions and 177 deletions

View file

@ -36,7 +36,7 @@ namespace opt {
app_ref_vector m_objs;
svector<bool> m_is_max;
svector<smt::theory_var> m_vars;
symbol m_engine;
symbol m_engine;
public:
optsmt(ast_manager& m): m(m), s(0), m_cancel(false), m_objs(m) {}
@ -46,11 +46,11 @@ namespace opt {
void set_cancel(bool f);
void set_engine(symbol const& e) { m_engine = e; }
void updt_params(params_ref& p);
void display(std::ostream& out) const;
inf_eps get_value(bool as_positive, unsigned index) const;
inf_eps get_value(unsigned index) const;
private: