mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 11:25:51 +00:00
limit explosiion of expressions in Grobner, allow rows containing free vars to Grobner
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
fb69139daa
commit
7ddcfcafad
3 changed files with 40 additions and 17 deletions
|
@ -31,6 +31,8 @@ class nla_settings {
|
|||
bool m_run_grobner;
|
||||
unsigned m_grobner_frequency;
|
||||
unsigned m_grobner_eqs_threshold;
|
||||
unsigned m_grobner_row_length_limit;
|
||||
unsigned m_grobner_superposed_expr_size_limit;
|
||||
|
||||
public:
|
||||
nla_settings() : m_run_order(true),
|
||||
|
@ -40,7 +42,9 @@ public:
|
|||
m_horner_row_length_limit(10),
|
||||
m_run_grobner(true),
|
||||
m_grobner_frequency(5),
|
||||
m_grobner_eqs_threshold(512)
|
||||
m_grobner_eqs_threshold(512),
|
||||
m_grobner_row_length_limit(10),
|
||||
m_grobner_superposed_expr_size_limit(50)
|
||||
{}
|
||||
|
||||
unsigned grobner_eqs_threshold() const { return m_grobner_eqs_threshold; }
|
||||
|
@ -65,5 +69,7 @@ public:
|
|||
|
||||
unsigned grobner_frequency() const { return m_grobner_frequency; }
|
||||
unsigned& grobner_frequency() { return m_grobner_frequency; }
|
||||
unsigned grobner_row_length_limit() const { return m_grobner_row_length_limit; }
|
||||
unsigned grobner_superposed_expr_size_limit() const { return m_grobner_superposed_expr_size_limit; }
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue