mirror of
https://github.com/Z3Prover/z3
synced 2025-08-18 17:22:15 +00:00
separate MaxSMT functionality to enable using this independently (and incrementally) of overall context
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
ded635cd06
commit
911ffc370a
16 changed files with 72 additions and 40 deletions
|
@ -99,7 +99,7 @@ namespace opt {
|
|||
}
|
||||
|
||||
public:
|
||||
bcd2(context& c,
|
||||
bcd2(maxsat_context& c,
|
||||
weights_t& ws, expr_ref_vector const& soft):
|
||||
maxsmt_solver_base(c, ws, soft),
|
||||
pb(m),
|
||||
|
@ -399,7 +399,7 @@ namespace opt {
|
|||
};
|
||||
|
||||
maxsmt_solver_base* mk_bcd2(
|
||||
context& c, weights_t& ws, expr_ref_vector const& soft) {
|
||||
maxsat_context& c, weights_t& ws, expr_ref_vector const& soft) {
|
||||
return alloc(bcd2, c, ws, soft);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue