mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 11:25:51 +00:00
fix the build and extend options to run grobner
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
1d217595c8
commit
aafdab65bd
5 changed files with 12 additions and 8 deletions
|
@ -21,6 +21,10 @@ Revision History:
|
|||
#pragma once
|
||||
namespace nla {
|
||||
class nla_settings {
|
||||
public:
|
||||
enum run_grobner_enum {
|
||||
NO_GROBNER, NEX_GROBNER, PDD_GROBNER, BOTH_GROBNER };
|
||||
private:
|
||||
bool m_run_order;
|
||||
bool m_run_tangents;
|
||||
bool m_run_horner;
|
||||
|
@ -28,7 +32,7 @@ class nla_settings {
|
|||
unsigned m_horner_frequency;
|
||||
unsigned m_horner_row_length_limit;
|
||||
// grobner fields
|
||||
bool m_run_grobner;
|
||||
run_grobner_enum m_run_grobner;
|
||||
unsigned m_grobner_frequency;
|
||||
unsigned m_grobner_eqs_threshold;
|
||||
unsigned m_grobner_row_length_limit;
|
||||
|
@ -40,7 +44,7 @@ public:
|
|||
m_run_horner(true),
|
||||
m_horner_frequency(4),
|
||||
m_horner_row_length_limit(10),
|
||||
m_run_grobner(true),
|
||||
m_run_grobner(NEX_GROBNER),
|
||||
m_grobner_frequency(5),
|
||||
m_grobner_eqs_threshold(512),
|
||||
m_grobner_row_length_limit(10),
|
||||
|
@ -64,8 +68,8 @@ public:
|
|||
unsigned horner_row_length_limit() const { return m_horner_row_length_limit; }
|
||||
unsigned& horner_row_length_limit() { return m_horner_row_length_limit; }
|
||||
|
||||
bool run_grobner() const { return m_run_grobner; }
|
||||
bool& run_grobner() { return m_run_grobner; }
|
||||
run_grobner_enum run_grobner() const { return m_run_grobner; }
|
||||
run_grobner_enum& run_grobner() { return m_run_grobner; }
|
||||
|
||||
unsigned grobner_row_length_limit() const { return m_grobner_row_length_limit; }
|
||||
unsigned grobner_expr_size_limit() const { return m_grobner_expr_size_limit; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue