]> git.sesse.net Git - stockfish/commit
Rebalance usage of history heuristics in pruning
authorMichael Chaly <Vizvezdenec@gmail.com>
Wed, 25 Jan 2023 05:12:40 +0000 (08:12 +0300)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Wed, 25 Jan 2023 06:51:19 +0000 (07:51 +0100)
commitd3860f8d5efa4d9df726fa605b24689d6a829c7e
tree43132ff21e92f04b15b35cd55bbd151b52cd764d
parent3dd0a7a7cd9daf306cffc795c343459de6d6f54b
Rebalance usage of history heuristics in pruning

This patch has multiple effects:

* history heuristics sum in futility pruning now can't exceed some negative value so futility pruning for moves with negative histories should become slightly less aggressive;

* history heuristics are now used in SEE pruning for quiet moves;

Passed STC:
https://tests.stockfishchess.org/tests/view/63cde339c93e8828d0f02e3a
LLR: 2.94 (-2.94,2.94) <0.00,2.00>
Total: 88424 W: 23681 L: 23303 D: 41440
Ptnml(0-2): 258, 9559, 24219, 9899, 277

Passed LTC:
https://tests.stockfishchess.org/tests/view/63ce9009c93e8828d0f04e4f
LLR: 2.94 (-2.94,2.94) <0.50,2.50>
Total: 79536 W: 21223 L: 20843 D: 37470
Ptnml(0-2): 22, 7599, 24146, 7979, 22

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

Bench: 4208265
src/search.cpp