mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 06:03:23 +00:00
limit lookahead count to 20
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
aed0ad3505
commit
b6f45bcd9f
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ namespace sls {
|
||||||
m_best_score = m_top_score;
|
m_best_score = m_top_score;
|
||||||
unsigned sz = vars.size();
|
unsigned sz = vars.size();
|
||||||
unsigned start = ctx.rand();
|
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]);
|
add_updates(vars[(start + i) % sz]);
|
||||||
CTRACE("bv", !m_best_expr, tout << "no guided move\n";);
|
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);
|
return apply_update(m_last_atom, m_best_expr, m_best_value, move_type::guided_t);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue