Skip to content

Commit

Permalink
Increase reduction based on the number of best move changes.
Browse files Browse the repository at this point in the history
Thanks to Vizvezdenec for the PvNode idea and also to vondele the !PvNode idea.

Passed STC:
LLR: 2.94 (-2.94,2.94) {-0.25,1.25}
Total: 19120 W: 1998 L: 1839 D: 15283
Ptnml(0-2): 76, 1445, 6375, 1572, 92
https://tests.stockfishchess.org/tests/view/5fa8af3e67cbf42301d6a6c9

Passed LTC:
LLR: 2.94 (-2.94,2.94) {0.25,1.25}
Total: 75584 W: 3454 L: 3205 D: 68925
Ptnml(0-2): 54, 2832, 31771, 3081, 54

closes official-stockfish/Stockfish#3224

Bench: 3595418
  • Loading branch information
lonfom169 authored and vondele committed Nov 10, 2020
1 parent 392b529 commit b578115
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Alain Savard (Rocky640)
Alayan Feh (Alayan-stk-2)
Alexander Kure
Alexander Pagel (Lolligerhans)
Alfredo Menezes (lonfom169)
Ali AlZhrani (Cooffe)
Andrew Grant (AndyGrant)
Andrey Neporada (nepal)
Expand Down
3 changes: 3 additions & 0 deletions src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1169,6 +1169,9 @@ namespace {
if (ss->ttPv)
r -= 2;

if (!PvNode && depth > 10 && thisThread->bestMoveChanges <= 2)
r++;

if (moveCountPruning && !formerPv)
r++;

Expand Down

0 comments on commit b578115

Please sign in to comment.