Skip to content

Commit 3d6995e

Browse files
VoyagerOnesnicolet
authored andcommitted
LMR Capture Tweak
Increase capture reduction by comparing opponent's stat score STC: (Yellow) LLR: -2.96 (-2.94,2.94) [0.00,5.00] Total: 92291 W: 18647 L: 18350 D: 55294 http://tests.stockfishchess.org/tests/view/5b04225e0ebc5914abc1291b LTC: LLR: 2.95 (-2.94,2.94) [0.00,5.00] Total: 20176 W: 3061 L: 2868 D: 14247 http://tests.stockfishchess.org/tests/view/5b04bb3f0ebc5914abc129a3 How to continue? • we could try a different value for the capture history threeshold Closes #1612 Bench: 5167159
1 parent d5d23bf commit 3d6995e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/search.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,14 @@ namespace {
995995
Depth r = reduction<PvNode>(improving, depth, moveCount);
996996

997997
if (captureOrPromotion) // (~5 Elo)
998+
{
999+
//Increase reduction by comparing opponent's stat score
1000+
if ( (ss-1)->statScore >= 0
1001+
&& thisThread->captureHistory[movedPiece][to_sq(move)][type_of(pos.captured_piece())] < 0)
1002+
r += ONE_PLY;
1003+
9981004
r -= r ? ONE_PLY : DEPTH_ZERO;
1005+
}
9991006
else
10001007
{
10011008
// Decrease reduction if opponent's move count is high (~5 Elo)

0 commit comments

Comments
 (0)