1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-01 09:13:08 +00:00

CMH Pruning Tweak

Tweak pruning formula by adding up CMH values.

STC:
LLR: 2.94 (-2.94,2.94) <-0.50,2.50>
Total: 14608 W: 3837 L: 3641 D: 7130
Ptnml(0-2): 27, 1681, 3723, 1815, 58
https://tests.stockfishchess.org/tests/view/612792f362d20cf82b5ad156

LTC:
LLR: 2.94 (-2.94,2.94) <0.50,3.50>
Total: 53520 W: 13580 L: 13276 D: 26664
Ptnml(0-2): 28, 5610, 15183, 5908, 31
https://tests.stockfishchess.org/tests/view/6127d27062d20cf82b5ad191

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

Bench: 5186641
This commit is contained in:
VoyagerOne 2021-08-27 14:25:09 -04:00 committed by Joost VandeVondele
parent 69eede7d08
commit ad357e147a

View file

@ -1019,8 +1019,9 @@ moves_loop: // When in check, search starts here
{
// Continuation history based pruning (~20 Elo)
if (lmrDepth < 5
&& (*contHist[0])[movedPiece][to_sq(move)] < 23 - 23 * depth * depth
&& (*contHist[1])[movedPiece][to_sq(move)] < 23 - 23 * depth * depth)
&& (*contHist[0])[movedPiece][to_sq(move)]
+ (*contHist[1])[movedPiece][to_sq(move)]
+ (*contHist[3])[movedPiece][to_sq(move)] < -3000 * depth + 3000)
continue;
// Futility pruning: parent node (~5 Elo)