mirror of
https://github.com/Z3Prover/z3
synced 2025-07-18 02:16:40 +00:00
add complexity throttle
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
f5164d166b
commit
1287572f4f
2 changed files with 6 additions and 0 deletions
|
@ -119,6 +119,9 @@ private:
|
|||
bool is_simpler(equation const& eq1, equation const& eq2) { return eq1.poly() < eq2.poly(); }
|
||||
bool check_conflict(equation const& eq) { return eq.poly().is_val() && !is_trivial(eq) && (set_conflict(), true); }
|
||||
void set_conflict() { m_conflict = true; }
|
||||
bool is_too_complex(const equation& eq) const { return is_too_complex(eq.poly()); }
|
||||
bool is_too_complex(const pdd& p) const { return p.tree_size() > m_config.m_expr_size_limit; }
|
||||
|
||||
|
||||
void del_equations(unsigned old_size);
|
||||
void del_equation(equation* eq);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue