mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 17:46:26 +08:00
Introduce TimeManager class
Firt step in unifying all time management under a single umbrella. Just introduced the class without even member data. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -25,7 +25,11 @@
|
||||
//// Prototypes
|
||||
////
|
||||
|
||||
void get_search_times(int myTime, int myInc, int movesToGo, int currentPly,
|
||||
int* optimumSearchTime, int* maximumSearchTime);
|
||||
class TimeManager {
|
||||
public:
|
||||
|
||||
void update(int myTime, int myInc, int movesToGo, int currentPly,
|
||||
int* optimumSearchTime, int* maximumSearchTime);
|
||||
};
|
||||
|
||||
#endif // !defined(TIMEMAN_H_INCLUDED)
|
||||
|
||||
Reference in New Issue
Block a user