mirror of
https://github.com/Z3Prover/z3
synced 2025-08-03 01:40:22 +00:00
improving perf of mutex finding, revert semantics of 0 timeout to no-timeout. Issue #791
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
e65d80dedd
commit
e9db934f1a
10 changed files with 116 additions and 74 deletions
|
@ -62,6 +62,7 @@ namespace opt {
|
|||
const expr_ref_vector m_soft;
|
||||
vector<rational> m_weights;
|
||||
expr_ref_vector m_assertions;
|
||||
expr_ref_vector m_trail;
|
||||
rational m_lower;
|
||||
rational m_upper;
|
||||
model_ref m_model;
|
||||
|
@ -95,12 +96,17 @@ namespace opt {
|
|||
~scoped_ensure_theory();
|
||||
smt::theory_wmaxsat& operator()();
|
||||
};
|
||||
|
||||
lbool find_mutexes(obj_map<expr, rational>& new_soft);
|
||||
|
||||
|
||||
protected:
|
||||
void enable_sls(bool force);
|
||||
void trace_bounds(char const* solver);
|
||||
|
||||
void process_mutex(expr_ref_vector& mutex, obj_map<expr, rational>& new_soft);
|
||||
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue