3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-12 12:08:18 +00:00

hooked up array.weak and array.extension params

This commit is contained in:
Ken McMillan 2013-06-14 16:33:51 -07:00
parent 30a4627a1e
commit 886128c989
3 changed files with 9 additions and 1 deletions

View file

@ -40,6 +40,7 @@ void smt_params::updt_local_params(params_ref const & _p) {
m_arith_pivot_strategy = ARITH_PIVOT_GREATEST_ERROR;
else if (_p.get_bool("arith.least_error_pivot", false))
m_arith_pivot_strategy = ARITH_PIVOT_LEAST_ERROR;
theory_array_params::updt_params(_p);
}
void smt_params::updt_params(params_ref const & p) {
@ -47,6 +48,7 @@ void smt_params::updt_params(params_ref const & p) {
qi_params::updt_params(p);
theory_arith_params::updt_params(p);
theory_bv_params::updt_params(p);
// theory_array_params::updt_params(p);
updt_local_params(p);
}

View file

@ -40,4 +40,7 @@ def_module_params(module_name='smt',
('arith.propagation_mode', UINT, 2, '0 - no propagation, 1 - propagate existing literals, 2 - refine bounds'),
('arith.branch_cut_ratio', UINT, 2, 'branch/cut ratio for linear integer arithmetic'),
('arith.int_eq_branch', BOOL, False, 'branching using derived integer equations'),
('arith.ignore_int', BOOL, False, 'treat integer variables as real')))
('arith.ignore_int', BOOL, False, 'treat integer variables as real'),
('array.weak', BOOL, False, 'weak array theory'),
('array.extensional', BOOL, True, 'extensional array theory')
))

View file

@ -51,6 +51,9 @@ struct theory_array_params : public array_simplifier_params {
m_array_lazy_ieq_delay(10) {
}
void updt_params(params_ref const & _p);
#if 0
void register_params(ini_params & p) {
p.register_int_param("array_solver", 0, 3, reinterpret_cast<int&>(m_array_mode), "0 - no array, 1 - simple, 2 - model based, 3 - full");