3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-07 08:21:56 +00:00

working on pd-maxres

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2015-08-27 08:09:46 -07:00
parent 7c47809973
commit 8622356375
2 changed files with 45 additions and 23 deletions

View file

@ -175,6 +175,7 @@ namespace sat {
//
// -----------------------
bool_var mk_var(bool ext = false, bool dvar = true);
void mk_clause(literal_vector const& lits) { mk_clause(lits.size(), lits.c_ptr()); }
void mk_clause(unsigned num_lits, literal * lits);
void mk_clause(literal l1, literal l2);
void mk_clause(literal l1, literal l2, literal l3);
@ -296,9 +297,11 @@ namespace sat {
bool_var next_var();
lbool bounded_search();
void init_search();
literal m_replay_lit;
literal_vector m_replay_clause;
void init_assumptions(unsigned num_lits, literal const* lits, double const* weights, double max_weight);
bool init_weighted_assumptions(unsigned num_lits, literal const* lits, double const* weights,
double max_weight, svector<literal>& blocker);
bool init_weighted_assumptions(unsigned num_lits, literal const* lits, double const* weights, double max_weight);
void resolve_weighted();
void reinit_assumptions();
bool tracking_assumptions() const;