mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Small simplification in history pruning.
Remove the constant term of the history threshold which lowers the chance that pruning occurs. As compensation allow pruning at a slightly higher depth. Passed STC: https://tests.stockfishchess.org/tests/view/64634c9a87f6567dd4df4901 LLR: 2.95 (-2.94,2.94) <-1.75,0.25> Total: 101536 W: 27156 L: 27012 D: 47368 Ptnml(0-2): 266, 11165, 27772, 11289, 276 Passed LTC: https://tests.stockfishchess.org/tests/view/6463d68b17982fde89d2bc2b LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 32154 W: 8741 L: 8543 D: 14870 Ptnml(0-2): 8, 3093, 9687, 3271, 18 Passed LTC: retest on top of VLTC tuning PR 4571 because this changes the history depth factor (use this new factor here) https://tests.stockfishchess.org/tests/view/6467300e165c4b29ec0afd3f LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 99270 W: 26840 L: 26707 D: 45723 Ptnml(0-2): 36, 9753, 29928, 9878, 40 closes https://github.com/official-stockfish/Stockfish/pull/4578 Bench: 2984341
This commit is contained in:
parent
f030a1c592
commit
4f24ee0868
1 changed files with 2 additions and 2 deletions
|
@ -1021,8 +1021,8 @@ moves_loop: // When in check, search starts here
|
|||
+ (*contHist[3])[movedPiece][to_sq(move)];
|
||||
|
||||
// Continuation history based pruning (~2 Elo)
|
||||
if ( lmrDepth < 5
|
||||
&& history < -3792 * (depth - 1))
|
||||
if ( lmrDepth < 6
|
||||
&& history < -3792 * depth)
|
||||
continue;
|
||||
|
||||
history += 2 * thisThread->mainHistory[us][from_to(move)];
|
||||
|
|
Loading…
Add table
Reference in a new issue