- emergencyMoveHorizon: Be prepared to always play at least this many moves
- emergencyBaseTime : Always attempt to keep at least this much time (in ms) at clock
- emergencyMoveTime : Plus attempt to keep at least this much time for each remaining emergency move
- minThinkingTime : No matter what, use at least this much thinking before doing the move
- */
-
- int hypMTG, hypMyTime, t1, t2;
-
- // Read uci parameters
- int emergencyMoveHorizon = Options["Emergency Move Horizon"];
- int emergencyBaseTime = Options["Emergency Base Time"];
- int emergencyMoveTime = Options["Emergency Move Time"];
- int minThinkingTime = Options["Minimum Thinking Time"];
- int slowMover = Options["Slow Mover"];
+void TimeManager::init(const Search::LimitsType& limits, Color us, int ply)
+{
+ int minThinkingTime = Options["Minimum Thinking Time"];
+ int moveOverhead = Options["Move Overhead"];
+ int slowMover = Options["Slow Mover"];