Skip to content

Commit

Permalink
limit lookahead count to 20
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <[email protected]>
  • Loading branch information
NikolajBjorner committed Jan 7, 2025
1 parent aed0ad3 commit b6f45bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ast/sls/sls_bv_lookahead.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b6f45bc

Please sign in to comment.