]> git.sesse.net Git - stockfish/commitdiff
SEE simplification
authorVoyagerOne <excelgeek@gmail.com>
Thu, 5 Aug 2021 12:50:24 +0000 (08:50 -0400)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Thu, 5 Aug 2021 14:32:07 +0000 (16:32 +0200)
Simplified SEE formula by removing std::min. Should also be easier to tune.

STC:
LLR: 2.95 (-2.94,2.94) <-2.50,0.50>
Total: 22656 W: 1836 L: 1729 D: 19091
Ptnml(0-2): 54, 1426, 8267, 1521, 60
https://tests.stockfishchess.org/tests/view/610ae62f2a8a49ac5be79449

LTC:
LLR: 2.93 (-2.94,2.94) <-2.50,0.50>
Total: 26248 W: 806 L: 744 D: 24698
Ptnml(0-2): 6, 668, 11715, 728, 7
https://tests.stockfishchess.org/tests/view/610b17ad2a8a49ac5be79466

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

bench:  4915145

src/search.cpp

index af99c90271a689d09517e68db133fb2a2c904535..af8ddaba5a420887d0c5a98907b7ca975d4b802d 100644 (file)
@@ -1027,7 +1027,7 @@ moves_loop: // When in check, search starts here
                   continue;
 
               // Prune moves with negative SEE (~20 Elo)
-              if (!pos.see_ge(move, Value(-(30 - std::min(lmrDepth, 18)) * lmrDepth * lmrDepth)))
+              if (!pos.see_ge(move, Value(-21 * lmrDepth * lmrDepth - 21 * lmrDepth)))
                   continue;
           }
       }