mirror of
https://github.com/Z3Prover/z3
synced 2025-10-07 16:31:55 +00:00
remove unused features related to weighted check-sat
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
9f49905582
commit
bc6b3007de
16 changed files with 58 additions and 1656 deletions
|
@ -33,7 +33,6 @@ Revision History:
|
|||
#include"sat_iff3_finder.h"
|
||||
#include"sat_probing.h"
|
||||
#include"sat_mus.h"
|
||||
#include"sat_sls.h"
|
||||
#include"params.h"
|
||||
#include"statistics.h"
|
||||
#include"stopwatch.h"
|
||||
|
@ -86,7 +85,6 @@ namespace sat {
|
|||
asymm_branch m_asymm_branch;
|
||||
probing m_probing;
|
||||
mus m_mus; // MUS for minimal core extraction
|
||||
wsls m_wsls; // SLS facility for MaxSAT use
|
||||
bool m_inconsistent;
|
||||
// A conflict is usually a single justification. That is, a justification
|
||||
// for false. If m_not_l is not null_literal, then m_conflict is a
|
||||
|
@ -141,9 +139,6 @@ namespace sat {
|
|||
friend class probing;
|
||||
friend class iff3_finder;
|
||||
friend class mus;
|
||||
friend class sls;
|
||||
friend class wsls;
|
||||
friend class bceq;
|
||||
friend struct mk_stat;
|
||||
public:
|
||||
solver(params_ref const & p, reslimit& l, extension * ext);
|
||||
|
@ -280,10 +275,7 @@ namespace sat {
|
|||
//
|
||||
// -----------------------
|
||||
public:
|
||||
lbool check(unsigned num_lits = 0, literal const* lits = 0) {
|
||||
return check(num_lits, lits, 0, 0);
|
||||
}
|
||||
lbool check(unsigned num_lits, literal const* lits, double const* weights, double max_weight);
|
||||
lbool check(unsigned num_lits = 0, literal const* lits = 0);
|
||||
|
||||
model const & get_model() const { return m_model; }
|
||||
bool model_is_current() const { return m_model_is_current; }
|
||||
|
@ -311,11 +303,7 @@ namespace sat {
|
|||
|
||||
literal_vector m_min_core;
|
||||
bool m_min_core_valid;
|
||||
literal_vector m_blocker;
|
||||
double m_weight;
|
||||
bool m_initializing_preferred;
|
||||
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);
|
||||
void init_assumptions(unsigned num_lits, literal const* lits);
|
||||
void reassert_min_core();
|
||||
void update_min_core();
|
||||
void resolve_weighted();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue