From 4bebb15e9426ec80ee50d016a812a49a36dd82bd Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Thu, 13 Jun 2013 19:50:32 +0200 Subject: [PATCH] Reduce more CUT nodes We got a good result from this tweak, in line with what was already found by Don Dailey. At short TC: LLR: 2.95 (-2.94,2.94) Total: 13097 W: 2742 L: 2598 D: 7757 At long TC: LLR: 2.97 (-2.94,2.94) Total: 7281 W: 1408 L: 1265 D: 4608 bench: 5108393 --- src/search.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/search.cpp b/src/search.cpp index 4ca9e9b8..a10e1180 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -948,6 +948,10 @@ split_point_start: // At split points actual search starts from here && move != ss->killers[1]) { ss->reduction = reduction(depth, moveCount); + + if (!PvNode && cutNode) + ss->reduction += ONE_PLY; + if (move == countermoves[0] || move == countermoves[1]) ss->reduction = std::max(DEPTH_ZERO, ss->reduction-ONE_PLY); -- 2.39.2