From: Marco Costalba Date: Mon, 23 Mar 2009 10:58:28 +0000 (+0100) Subject: More aggressive dynamic LMR X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=4d70e3aeac9ead1068feb73ed74c6bd1388b24bf;hp=24b7ad54c747ef38818484567624696fe3ef5e9e 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 --- 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);