From 4d70e3aeac9ead1068feb73ed74c6bd1388b24bf Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Mon, 23 Mar 2009 11:58:28 +0100 Subject: [PATCH] More aggressive dynamic LMR Previous setup didn't change anything After 996 games 1+0: +267 -261 =468 +2 ELO Now with this new setup we have After 999 games 1+0: +277 -245 =477 +11 ELO Seems reasonable... Signed-off-by: Marco Costalba --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 295ef63e..d08f698f 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1333,7 +1333,7 @@ namespace { && !move_is_killer(move, ss[ply])) { // LMR dynamic reduction - Depth R = (moveCount >= 3 * LMRNonPVMoves && depth >= 7*OnePly ? 2*OnePly : OnePly); + Depth R = (moveCount >= 2 * LMRNonPVMoves && depth > 7*OnePly ? 2*OnePly : OnePly); ss[ply].reduction = R; value = -search(pos, ss, -(beta-1), newDepth-R, ply+1, true, threadID); -- 2.39.2