mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 10:25:18 +00:00
limit lookahead count to 20
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
aed0ad3505
commit
b6f45bcd9f
|
@ -126,7 +126,7 @@ namespace sls {
|
|||
m_best_score = m_top_score;
|
||||
unsigned sz = vars.size();
|
||||
unsigned start = ctx.rand();
|
||||
for (unsigned i = 0; i < std::min(sz, 10u); ++i)
|
||||
for (unsigned i = 0; i < std::min(sz, 20u); ++i)
|
||||
add_updates(vars[(start + i) % sz]);
|
||||
CTRACE("bv", !m_best_expr, tout << "no guided move\n";);
|
||||
return apply_update(m_last_atom, m_best_expr, m_best_value, move_type::guided_t);
|
||||
|
|
Loading…
Reference in a new issue