Skip to content

Commit

Permalink
Late move reduction, captures and CUT nodes
Browse files Browse the repository at this point in the history
Expand of Stefan Geschwentner's original idea: we always do LMR for captures at cutnodes.

Passed STC
http://tests.stockfishchess.org/tests/view/5d5b2f8e0ebc5925cf1111b8
LLR: 2.96 (-2.94,2.94) [0.50,4.50]
Total: 36026 W: 8122 L: 7779 D: 20125

Passed LTC
http://tests.stockfishchess.org/tests/view/5d5b40c80ebc5925cf111353
LLR: 3.22 (-2.94,2.94) [0.00,3.50]
Total: 133502 W: 22508 L: 21943 D: 89051

Closes official-stockfish#2273

Bench: 3494372
  • Loading branch information
Vizvezdenec authored and mstembera committed Aug 29, 2019
1 parent cef5917 commit 60b5d05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/search.cpp
Expand Up @@ -1074,7 +1074,8 @@ namespace {
&& moveCount > 1 + 3 * rootNode
&& ( !captureOrPromotion
|| moveCountPruning
|| ss->staticEval + PieceValue[EG][pos.captured_piece()] <= alpha))
|| ss->staticEval + PieceValue[EG][pos.captured_piece()] <= alpha
|| cutNode))
{
Depth r = reduction(improving, depth, moveCount);

Expand Down

0 comments on commit 60b5d05

Please sign in to comment.