mirror of
https://github.com/Z3Prover/z3
synced 2025-11-21 13:16:40 +00:00
spacer::context: Factor params into udpt_params
This commit is contained in:
parent
521392a8f1
commit
cb683389f6
2 changed files with 8 additions and 2 deletions
|
|
@ -2244,8 +2244,7 @@ context::context(fixedpoint_params const& params,
|
|||
m_pool1 = alloc(solver_pool, pool1_base.get(), max_num_contexts);
|
||||
m_pool2 = alloc(solver_pool, pool2_base.get(), max_num_contexts);
|
||||
|
||||
m_random.set_seed(m_params.spacer_random_seed());
|
||||
m_children_order = static_cast<spacer_children_order>(m_params.spacer_order_children());
|
||||
updt_params()
|
||||
}
|
||||
|
||||
context::~context()
|
||||
|
|
@ -2254,6 +2253,11 @@ context::~context()
|
|||
reset();
|
||||
}
|
||||
|
||||
void context::updt_params() {
|
||||
m_random.set_seed(m_params.spacer_random_seed());
|
||||
m_children_order = static_cast<spacer_children_order>(m_params.spacer_order_children());
|
||||
}
|
||||
|
||||
void context::reset()
|
||||
{
|
||||
TRACE("spacer", tout << "\n";);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue