mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 15:37:47 +00:00
Comments Tweak
* Remove from comments, hardcoded exact values for parameters that are subject to tuning. * Remove the Elo worth, as they are now completely outdated, making them irrelevant and potentially misleading. * Consolidated scaling-related comments into a single section for clarity. Used asterisks (*) to highlight parameters significantly affected by scaling, given their separation in the code. closes https://github.com/official-stockfish/Stockfish/pull/5810 No functional change
This commit is contained in:
committed by
Joost VandeVondele
parent
4975b2bc6f
commit
aa894c0f93
+1
-1
@@ -87,7 +87,7 @@ void TimeManagement::init(Search::LimitsType& limits,
|
||||
const TimePoint scaledTime = limits.time[us] / scaleFactor;
|
||||
const TimePoint scaledInc = limits.inc[us] / scaleFactor;
|
||||
|
||||
// Maximum move horizon of 50 moves
|
||||
// Maximum move horizon
|
||||
int centiMTG = limits.movestogo ? std::min(limits.movestogo * 100, 5000) : 5051;
|
||||
|
||||
// If less than one second, gradually reduce mtg
|
||||
|
||||
Reference in New Issue
Block a user