mirror of
https://github.com/Z3Prover/z3
synced 2025-05-14 03:04:44 +00:00
modernize parameter defaults
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
cdcfbeb6d8
commit
18e4546404
6 changed files with 55 additions and 106 deletions
|
@ -28,34 +28,20 @@ enum array_solver_id {
|
|||
};
|
||||
|
||||
struct theory_array_params {
|
||||
bool m_array_canonize_simplify;
|
||||
bool m_array_simplify; // temporary hack for disabling array simplifier plugin.
|
||||
array_solver_id m_array_mode;
|
||||
bool m_array_weak;
|
||||
bool m_array_extensional;
|
||||
unsigned m_array_laziness;
|
||||
bool m_array_delay_exp_axiom;
|
||||
bool m_array_cg;
|
||||
bool m_array_always_prop_upward;
|
||||
bool m_array_lazy_ieq;
|
||||
unsigned m_array_lazy_ieq_delay;
|
||||
bool m_array_fake_support; // fake support for all array operations to pretend they are satisfiable.
|
||||
|
||||
theory_array_params():
|
||||
m_array_canonize_simplify(false),
|
||||
m_array_simplify(true),
|
||||
m_array_mode(array_solver_id::AR_FULL),
|
||||
m_array_weak(false),
|
||||
m_array_extensional(true),
|
||||
m_array_laziness(1),
|
||||
m_array_delay_exp_axiom(true),
|
||||
m_array_cg(false),
|
||||
m_array_always_prop_upward(true), // UPWARDs filter is broken... TODO: fix it
|
||||
m_array_lazy_ieq(false),
|
||||
m_array_lazy_ieq_delay(10),
|
||||
m_array_fake_support(false) {
|
||||
}
|
||||
bool m_array_canonize_simplify = false;
|
||||
bool m_array_simplify = true; // temporary hack for disabling array simplifier plugin.
|
||||
array_solver_id m_array_mode = array_solver_id::AR_FULL;
|
||||
bool m_array_weak = false;
|
||||
bool m_array_extensional = true;
|
||||
unsigned m_array_laziness = 1;
|
||||
bool m_array_delay_exp_axiom = true;
|
||||
bool m_array_cg = false;
|
||||
bool m_array_always_prop_upward = true;
|
||||
bool m_array_lazy_ieq = false;
|
||||
unsigned m_array_lazy_ieq_delay = 10;
|
||||
bool m_array_fake_support = false; // fake support for all array operations to pretend they are satisfiable.
|
||||
|
||||
theory_array_params() {}
|
||||
|
||||
void updt_params(params_ref const & _p);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue