mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 00:33:09 +00:00
Increase reduction in case of stable best move
The idea of this patch is pretty simple - we already do more reductions for non-PV and root nodes in case of stable best move for depth > 10. This patch makes us do so if root depth if > 10 instead, which is logical since best move changes (thus instability of it) is counted at root, so it makes a lot of sense to use depth of the root. passed STC https://tests.stockfishchess.org/tests/view/5fd643271ac16912018885c5 LLR: 2.94 (-2.94,2.94) {-0.25,1.25} Total: 13232 W: 1308 L: 1169 D: 10755 Ptnml(0-2): 39, 935, 4535, 1062, 45 passed LTC https://tests.stockfishchess.org/tests/view/5fd68db11ac16912018885f0 LLR: 2.96 (-2.94,2.94) {0.25,1.25} Total: 14024 W: 565 L: 463 D: 12996 Ptnml(0-2): 3, 423, 6062, 517, 7 closes https://github.com/official-stockfish/Stockfish/pull/3263 Bench: 4050630
This commit is contained in:
parent
16adcb5374
commit
a88a38c3a9
1 changed files with 1 additions and 1 deletions
|
@ -1188,7 +1188,7 @@ moves_loop: // When in check, search starts from here
|
||||||
r -= 2;
|
r -= 2;
|
||||||
|
|
||||||
// Increase reduction at root and non-PV nodes when the best move does not change frequently
|
// Increase reduction at root and non-PV nodes when the best move does not change frequently
|
||||||
if ((rootNode || !PvNode) && depth > 10 && thisThread->bestMoveChanges <= 2)
|
if ((rootNode || !PvNode) && thisThread->rootDepth > 10 && thisThread->bestMoveChanges <= 2)
|
||||||
r++;
|
r++;
|
||||||
|
|
||||||
// More reductions for late moves if position was not in previous PV
|
// More reductions for late moves if position was not in previous PV
|
||||||
|
|
Loading…
Add table
Reference in a new issue