mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 11:25:51 +00:00
handle better cancellation for parallel, switch between cube mode and base level mode in smt.threads, expose parameters to control theory_bv and phase caching
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
fae206b738
commit
ca3ec22b7a
18 changed files with 261 additions and 149 deletions
|
@ -30,6 +30,8 @@ void smt_params::updt_local_params(params_ref const & _p) {
|
|||
m_clause_proof = p.clause_proof();
|
||||
m_phase_selection = static_cast<phase_selection>(p.phase_selection());
|
||||
if (m_phase_selection > PS_THEORY) throw default_exception("illegal phase selection numeral");
|
||||
m_phase_caching_on = p.phase_caching_on();
|
||||
m_phase_caching_off = p.phase_caching_off();
|
||||
m_restart_strategy = static_cast<restart_strategy>(p.restart_strategy());
|
||||
if (m_restart_strategy > RS_ARITHMETIC) throw default_exception("illegal restart strategy numeral");
|
||||
m_restart_factor = p.restart_factor();
|
||||
|
@ -41,8 +43,10 @@ void smt_params::updt_local_params(params_ref const & _p) {
|
|||
m_preprocess = _p.get_bool("preprocess", true); // hidden parameter
|
||||
m_max_conflicts = p.max_conflicts();
|
||||
m_restart_max = p.restart_max();
|
||||
m_cube_depth = p.cube_depth();
|
||||
m_threads = p.threads();
|
||||
m_threads_max_conflicts = p.threads_max_conflicts();
|
||||
m_threads_cube_frequency = p.threads_cube_frequency();
|
||||
m_core_validate = p.core_validate();
|
||||
m_logic = _p.get_sym("logic", m_logic);
|
||||
m_string_solver = p.string_solver();
|
||||
|
@ -105,8 +109,10 @@ void smt_params::display(std::ostream & out) const {
|
|||
DISPLAY_PARAM(m_phase_caching_off);
|
||||
DISPLAY_PARAM(m_minimize_lemmas);
|
||||
DISPLAY_PARAM(m_max_conflicts);
|
||||
DISPLAY_PARAM(m_cube_depth);
|
||||
DISPLAY_PARAM(m_threads);
|
||||
DISPLAY_PARAM(m_threads_max_conflicts);
|
||||
DISPLAY_PARAM(m_threads_cube_frequency);
|
||||
DISPLAY_PARAM(m_simplify_clauses);
|
||||
DISPLAY_PARAM(m_tick);
|
||||
DISPLAY_PARAM(m_display_features);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue