mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-22 12:47:08 +00:00
Interpolate highBestMoveEffort
STC: https://tests.stockfishchess.org/tests/view/69d586a64088e069540a22aa LLR: 2.93 (-2.94,2.94) <0.00,2.00> Total: 63520 W: 16579 L: 16233 D: 30708 Ptnml(0-2): 138, 7179, 16825, 7435, 183 LTC: https://tests.stockfishchess.org/tests/view/69d6ddd79ffee997bab13a98 LLR: 2.94 (-2.94,2.94) <0.50,2.50> Total: 227100 W: 58279 L: 57591 D: 111230 Ptnml(0-2): 95, 23435, 65828, 24071, 121 Transition highBestMoveEffort smoothly instead of abruptly. May also be more amenable to future tuning. closes https://github.com/official-stockfish/Stockfish/pull/6729 Bench: 2923401
This commit is contained in:
committed by
Joost VandeVondele
parent
bb5f0100b0
commit
7959885747
+3
-1
@@ -511,7 +511,9 @@ bool Search::Worker::iterative_deepening() {
|
||||
|
||||
double bestMoveInstability = 1.088 + 2.315 * totBestMoveChanges / threads.size();
|
||||
|
||||
double highBestMoveEffort = nodesEffort > 86000 ? 0.74 : 0.96;
|
||||
double highBestMoveEffort = std::clamp(
|
||||
interpolate(int64_t(nodesEffort), int64_t(78000), int64_t(94000), 0.96, 0.74), 0.74,
|
||||
0.96);
|
||||
|
||||
double totalTime = mainThread->tm.optimum() * fallingEval * reduction
|
||||
* bestMoveInstability * highBestMoveEffort;
|
||||
|
||||
Reference in New Issue
Block a user