3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-17 00:32:16 +00:00

tweaking local search

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2017-03-02 10:18:12 -08:00
parent a37dfd3ab9
commit 40df1949f5
5 changed files with 74 additions and 44 deletions

View file

@ -177,11 +177,15 @@ namespace sat {
void calculate_and_update_ob();
bool all_objectives_are_met() const;
void verify_solution() const;
void verify_constraint(constraint const& c) const;
void print_info();
unsigned constraint_value(constraint const& c) const;
void print_info(std::ostream& out);
void extract_model();
@ -215,7 +219,7 @@ namespace sat {
unsigned num_vars() const { return m_vars.size() - 1; } // var index from 1 to num_vars
void set_phase(bool_var v, bool f) {}
void set_phase(bool_var v, bool f);
bool get_phase(bool_var v) const { return is_true(v); }