Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More reduction at cut nodes which are not a former PV node. #5199

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1117,6 +1117,9 @@ Value Search::Worker::search(
if (ss->ttPv)
r -= 1 + (ttValue > alpha) + (tte->depth() >= depth);

else if (cutNode && move != ttMove && move != ss->killers[0])
r++;

// Increase reduction for cut nodes (~4 Elo)
if (cutNode)
r += 2 - (tte->depth() >= depth && ss->ttPv);
Expand Down