]> git.sesse.net Git - stockfish/commitdiff
Increase reduction based on the number of best move changes.
authorlonfom169 <50217346+lonfom169@users.noreply.github.com>
Mon, 9 Nov 2020 02:43:32 +0000 (23:43 -0300)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Tue, 10 Nov 2020 17:21:05 +0000 (18:21 +0100)
Thanks to Vizvezdenec for the PvNode idea and also to vondele the !PvNode idea.

Passed STC:
LLR: 2.94 (-2.94,2.94) {-0.25,1.25}
Total: 19120 W: 1998 L: 1839 D: 15283
Ptnml(0-2): 76, 1445, 6375, 1572, 92
https://tests.stockfishchess.org/tests/view/5fa8af3e67cbf42301d6a6c9

Passed LTC:
LLR: 2.94 (-2.94,2.94) {0.25,1.25}
Total: 75584 W: 3454 L: 3205 D: 68925
Ptnml(0-2): 54, 2832, 31771, 3081, 54

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

Bench: 3595418

AUTHORS
src/search.cpp

diff --git a/AUTHORS b/AUTHORS
index 198dfa5a908a8b65db9f35ca2d9bb2b40cbadfbf..f0356090efd1ef61c27f765fa165e5ffbe5a4335 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -19,6 +19,7 @@ Alain Savard (Rocky640)
 Alayan Feh (Alayan-stk-2)
 Alexander Kure
 Alexander Pagel (Lolligerhans)
+Alfredo Menezes (lonfom169)
 Ali AlZhrani (Cooffe)
 Andrew Grant (AndyGrant)
 Andrey Neporada (nepal)
index b5b93bf01f6e73c91bc4ef57b481861846b12661..56b56733fb2771aa998030887370622a408ff786 100644 (file)
@@ -1169,6 +1169,9 @@ moves_loop: // When in check, search starts from here
           if (ss->ttPv)
               r -= 2;
 
+          if (!PvNode && depth > 10 && thisThread->bestMoveChanges <= 2)
+              r++;
+
           if (moveCountPruning && !formerPv)
               r++;