mirror of
https://github.com/Z3Prover/z3
synced 2025-08-22 02:57:50 +00:00
fixes to maxsmt
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
5f72325e99
commit
ac893e907f
11 changed files with 124 additions and 113 deletions
|
@ -30,8 +30,7 @@ namespace opt {
|
|||
virtual lbool operator()() = 0;
|
||||
virtual rational get_lower() const = 0;
|
||||
virtual rational get_upper() const = 0;
|
||||
virtual rational get_value() const = 0;
|
||||
virtual expr_ref_vector get_assignment() const = 0;
|
||||
virtual bool get_assignment(unsigned index) const = 0;
|
||||
virtual void set_cancel(bool f) = 0;
|
||||
virtual void collect_statistics(statistics& st) const = 0;
|
||||
virtual void get_model(model_ref& mdl) = 0;
|
||||
|
@ -80,7 +79,7 @@ namespace opt {
|
|||
rational get_upper() const;
|
||||
void update_lower(rational const& r);
|
||||
void get_model(model_ref& mdl);
|
||||
expr_ref_vector get_assignment() const;
|
||||
bool get_assignment(unsigned index) const;
|
||||
void display_answer(std::ostream& out) const;
|
||||
void collect_statistics(statistics& st) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue