X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftimeman.cpp;h=86c1d634e1e4bdef95f348e750a1f2b68b1cd2f2;hp=88a52bbde894d76e754dfd7e6a64081d0e49b773;hb=f9571e8d57381275f08ffbfb960358319d4c34dd;hpb=4d0a6c5a6f80fbb417318d6b5b22c5aab23e6de4 diff --git a/src/timeman.cpp b/src/timeman.cpp index 88a52bbd..86c1d634 100644 --- a/src/timeman.cpp +++ b/src/timeman.cpp @@ -23,7 +23,7 @@ #include "search.h" #include "timeman.h" -#include "ucioption.h" +#include "uci.h" namespace { @@ -77,13 +77,6 @@ void TimeManager::init(const Search::LimitsType& limits, int currentPly, Color u increment == 0 && movesToGo != 0 means: x moves in y minutes increment > 0 && movesToGo == 0 means: x basetime + z increment increment > 0 && movesToGo != 0 means: x moves in y minutes + z increment - - Time management is adjusted by following parameters: - - 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;