X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftimeman.h;h=3ee7b319787564d1c914220b9627247122276efe;hp=484513bb18c5265530e5ccae2267e962dffcd6e4;hb=1ff5ce8863cb71f42dc0f707dd566e566c658eb5;hpb=9a1d5f0f1d8a12a85b198688d4f1d636a146eb7a diff --git a/src/timeman.h b/src/timeman.h index 484513bb..3ee7b319 100644 --- a/src/timeman.h +++ b/src/timeman.h @@ -17,16 +17,16 @@ along with this program. If not, see . */ -#if !defined(TIMEMAN_H_INCLUDED) +#ifndef TIMEMAN_H_INCLUDED #define TIMEMAN_H_INCLUDED /// The TimeManager class computes the optimal time to think depending on the -/// maximum available time, the move game number and other parameters. +/// maximum available time, the game move number and other parameters. class TimeManager { public: void init(const Search::LimitsType& limits, int currentPly, Color us); - void pv_instability(int curChanges, int prevChanges); + void pv_instability(double bestMoveChanges); int available_time() const { return optimumSearchTime + unstablePVExtraTime; } int maximum_time() const { return maximumSearchTime; } @@ -36,4 +36,4 @@ private: int unstablePVExtraTime; }; -#endif // !defined(TIMEMAN_H_INCLUDED) +#endif // #ifndef TIMEMAN_H_INCLUDED