mirror of
https://github.com/Z3Prover/z3
synced 2025-05-12 02:04:43 +00:00
cleanup cancelation logic
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
4e155887b2
commit
61dbb6168e
37 changed files with 93 additions and 198 deletions
|
@ -77,6 +77,7 @@ namespace opt {
|
|||
public:
|
||||
maxhs(maxsat_context& c, weights_t& ws, expr_ref_vector const& soft):
|
||||
maxsmt_solver_base(c, ws, soft),
|
||||
m_hs(m.limit()),
|
||||
m_aux(m),
|
||||
m_at_lower_bound(false) {
|
||||
}
|
||||
|
@ -84,7 +85,6 @@ namespace opt {
|
|||
|
||||
virtual void set_cancel(bool f) {
|
||||
maxsmt_solver_base::set_cancel(f);
|
||||
m_hs.set_cancel(f);
|
||||
}
|
||||
|
||||
virtual void collect_statistics(statistics& st) const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue