Skip to content

Commit ede4c5e

Browse files
VoyagerOnejoergoster
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 official-stockfish/Stockfish#1612 Bench: 5167159 Conflicts: src/search.cpp
1 parent ad7495a commit ede4c5e

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
@@ -978,7 +978,14 @@ namespace {
978978
Depth r = reduction<PvNode>(improving, depth, moveCount);
979979

980980
if (captureOrPromotion)
981+
{
982+
//Increase reduction by comparing opponent's stat score
983+
if ( (ss-1)->statScore >= 0
984+
&& thisThread->captureHistory[movedPiece][to_sq(move)][type_of(pos.captured_piece())] < 0)
985+
r += ONE_PLY;
986+
981987
r -= r ? ONE_PLY : DEPTH_ZERO;
988+
}
982989
else
983990
{
984991
// Decrease reduction if opponent's move count is high

0 commit comments

Comments
 (0)