]> git.sesse.net Git - stockfish/commit
Use average complexity for time management
authorRui Coelho <ruicoelhopedro@gmail.com>
Mon, 17 Jan 2022 16:51:20 +0000 (16:51 +0000)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Mon, 17 Jan 2022 18:48:23 +0000 (19:48 +0100)
commit2b0372319d2a6797c49cb24dca5da221a669e36a
tree91c71af3ee26c5e8a72207e285b61f4d9cf9f3e2
parentd11101e4c6cd6aafca06e07d24e1c7026c92f6e7
Use average complexity for time management

This patch is a variant of the idea by locutus2 (https://tests.stockfishchess.org/tests/view/61e1f24cb1f9959fe5d88168) to adjust the total time depending on the average complexity of the position.

Passed STC
LLR: 2.94 (-2.94,2.94) <0.00,2.50>
Total: 39664 W: 10765 L: 10487 D: 18412
Ptnml(0-2): 162, 4213, 10837, 4425, 195
https://tests.stockfishchess.org/tests/view/61e2df8b65a644da8c9ea708

Passed LTC
LLR: 2.94 (-2.94,2.94) <0.50,3.00>
Total: 127656 W: 34505 L: 34028 D: 59123
Ptnml(0-2): 116, 12435, 38261, 12888, 128
https://tests.stockfishchess.org/tests/view/61e31db5babab931824dff5e

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

Bench: 4464962
src/misc.h
src/search.cpp
src/thread.h