engine.h File Reference

Search engine interface and time management. More...

#include "utils.h"
#include "timer.h"
#include "board.h"
#include "uct.h"

Go to the source code of this file.

Classes

class  TimeManager
 Time management. More...
class  Engine
 Interface to whole search. More...
class  SearchStartKit
 Wrapper class for parallel search. More...

Defines

#define CLOCK_CLICK_RESERVE   0.1
#define TC_MOVE_DEFAULT   (cfg.tcMoveDefault())
 Default time per move.
#define TIME_CONTROLS_NUM   13

Enumerations

enum  timeControl_e {
  TC_MOVE, TC_RESERVE, TC_PERCENT, TC_MAX,
  TC_TOTAL, TC_TURNS, TC_TURN_TIME, TC_W_RESERVE,
  TC_B_RESERVE, TC_W_USED, TC_B_USED, TC_MOVE_USED,
  TC_LAST_MOVE_USED
}


Detailed Description

Search engine interface and time management.

Particular searching methods are spawned from here. Includes threads management and results summary after the search.


Define Documentation

#define TC_MOVE_DEFAULT   (cfg.tcMoveDefault())

Default time per move.


Generated on Thu Aug 6 23:29:07 2009 for akimot by  doxygen 1.5.7.1