mirror of
https://github.com/Z3Prover/z3
synced 2026-05-04 01:15:15 +00:00
refine maxresw option
This commit is contained in:
parent
623b32239c
commit
5dc812728e
4 changed files with 102 additions and 61 deletions
|
|
@ -40,9 +40,10 @@ namespace opt {
|
|||
|
||||
struct weighted_soft {
|
||||
expr_ref soft;
|
||||
expr_ref def;
|
||||
expr_ref conj;
|
||||
expr_ref disj;
|
||||
rational weight;
|
||||
weighted_soft(expr_ref const& s, expr_ref const& d, rational const& w): soft(s), def(d), weight(w) {}
|
||||
weighted_soft(expr_ref const& s, expr_ref const& c, expr_ref const& d, rational const& w): soft(s), conj(c), disj(d), weight(w) {}
|
||||
};
|
||||
using weighted_softs = vector<weighted_soft>;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue