]> git.sesse.net Git - stockfish/commit
Simplify away complexityAverage
authorMinetaS <skdty87@gmail.com>
Thu, 30 Mar 2023 11:14:30 +0000 (11:14 +0000)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Sat, 1 Apr 2023 14:14:30 +0000 (16:14 +0200)
commit38a80c0b47397dbdd9167ec1476dfd3c033020d6
treefc82847e175881f128095cab010a361dab92770f
parent66bf45b99e2061c1ba74f9975bc5059ac0121dfd
Simplify away complexityAverage

Instead of tracking the average of complexity values, calculate
complexity of root position at the beginning of the search and use it as
a scaling factor in time management.

Passed non-regression STC:
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 58752 W: 15738 L: 15551 D: 27463
Ptnml(0-2): 164, 6194, 16478, 6371, 169
https://tests.stockfishchess.org/tests/view/6423010edb43ab2ba6f9424a

Passed non-regression LTC:
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 92872 W: 24865 L: 24729 D: 43278
Ptnml(0-2): 38, 8652, 28929, 8770, 47
https://tests.stockfishchess.org/tests/view/6423c1f0db43ab2ba6f9644f

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

No functional change
src/misc.h
src/search.cpp
src/thread.h