]> git.sesse.net Git - stockfish/commitdiff
Reduce more if current node has a lot of refuted moves.
authorMichael Chaly <Vizvezdenec@gmail.com>
Fri, 5 May 2023 04:54:12 +0000 (07:54 +0300)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Fri, 5 May 2023 05:12:47 +0000 (07:12 +0200)
This patch refines idea of cutoff count - in master we reduce more if current node has at least 4 moves that are refuted by search, this patch increases this count by 1 if refutation happened without having a tt move.

Passed STC:
https://tests.stockfishchess.org/tests/view/645363c36206ee34ebf8191d
LLR: 2.95 (-2.94,2.94) <0.00,2.00>
Total: 67616 W: 18220 L: 17874 D: 31522
Ptnml(0-2): 142, 7346, 18504, 7656, 160

Passed LTC:
https://tests.stockfishchess.org/tests/view/6453a0ea6206ee34ebf82796
LLR: 2.94 (-2.94,2.94) <0.50,2.50>
Total: 195228 W: 52741 L: 52140 D: 90347
Ptnml(0-2): 53, 18718, 59482, 19297, 64

closes https://github.com/official-stockfish/Stockfish/pull/4556

bench 3448916

src/search.cpp

index a6618c5b815f8c7719658794c1a8e11ce8de336d..a1f916d0515c78797b2ea52aefa482f76f4d3235 100644 (file)
@@ -1326,7 +1326,7 @@ moves_loop: // When in check, search starts here
               }
               else
               {
-                  ss->cutoffCnt++;
+                  ss->cutoffCnt += 1 + !ttMove;
                   assert(value >= beta); // Fail high
                   break;
               }