3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 11:25:51 +00:00

adding more aggressive patching in nl

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2020-05-27 17:46:37 -07:00
parent 6a5579341d
commit c58bd3105b
6 changed files with 55 additions and 26 deletions

View file

@ -30,8 +30,8 @@ class nla_settings {
unsigned m_grobner_quota;
unsigned m_grobner_frequency;
bool m_run_nra;
// propagate bounds
bool m_bp;
// expensive patching
bool m_expensive_patching;
public:
nla_settings() : m_run_order(true),
m_run_tangents(true),
@ -45,10 +45,8 @@ public:
m_grobner_quota(0),
m_grobner_frequency(4),
m_run_nra(false),
m_bp(false)
m_expensive_patching(false)
{}
bool propagate_bounds() const { return m_bp; }
bool& propagate_bounds() { return m_bp; }
unsigned grobner_eqs_growth() const { return m_grobner_eqs_growth;}
unsigned& grobner_eqs_growth() { return m_grobner_eqs_growth;}
bool run_order() const { return m_run_order; }
@ -57,6 +55,9 @@ public:
bool run_tangents() const { return m_run_tangents; }
bool& run_tangents() { return m_run_tangents; }
bool expensive_patching() const { return m_expensive_patching; }
bool& expensive_patching() { return m_expensive_patching; }
bool run_horner() const { return m_run_horner; }
bool& run_horner() { return m_run_horner; }