Belofte version 2.1.8
A promising chess program using the UCI or Winboard interface
|
Go to the source code of this file.
Classes | |
class | bLevel |
Enumerations | |
enum class | LevelType { Unset , SecondsPerMove , SuddenDeath , TimeControl , FicherTimeControl , Infinite , MateSearch } |
Implements clock n seconds per game - setGameTime(seconds * 1000) n seconds per game, increment inc seconds per move. More... | |
Variables | |
constexpr depth_t | INFINITE_DEPTH = 50 |
constexpr depth_t | DEFAULT_DEPTH = 3 |
constexpr depth_t | MAXDEPTH_MULTIPLYER = 2 |
constexpr depth_t | QS_DEPTHEXTENSION = 5 |
constexpr auto | MINIMAL_DEPTH_COMPLETED = 1 |
constexpr auto | TIME_OVERFLOWMULTIPLYER = 2 |
constexpr auto | TIME_UNDERFLOWMULTIPLYER = 2 |
constexpr auto | TIME_UNDERFLOWDEVIDER = 3 |
constexpr auto | TIME_LOSTINENGINE = 50 |
time lost in between UI go command and bestmove return | |
constexpr auto | TIME_LASTMOVEMARGIN = 100 |
|
strong |
Implements clock n seconds per game - setGameTime(seconds * 1000) n seconds per game, increment inc seconds per move.
restrict to depth x - setDepthCommand(depth)
restrict to n nodes - setNodes(nodes)
restrict to moves - setMoves(moves)
start pondering - setPondering()
Enumerator | |
---|---|
Unset | |
SecondsPerMove | |
SuddenDeath | |
TimeControl | |
FicherTimeControl | |
Infinite | |
MateSearch |
|
constexpr |
Definition at line 11 of file level.h.
Referenced by bLevel::operator std::string(), bLevel::setGameTime(), bLevel::setGameTime(), bLevel::setInfinite(), bLevel::setMoveTime(), bLevel::setMoveTime(), and bLevel::setMoveTime().
|
constexpr |
Definition at line 12 of file level.h.
Referenced by main(), bLevel::setDepthCommand(), bLevel::setGameTime(), bLevel::setGameTime(), bLevel::setMoveTime(), bLevel::setMoveTime(), and bLevel::setMoveTime().
|
constexpr |
Definition at line 13 of file level.h.
Referenced by bLevel::setDepthCommand(), bLevel::setGameTime(), bLevel::setGameTime(), bLevel::setMoveTime(), bLevel::setMoveTime(), and bLevel::setMoveTime().
|
constexpr |
Definition at line 14 of file level.h.
Referenced by bLevel::setDepthCommand(), bLevel::setGameTime(), bLevel::setGameTime(), bLevel::setMoveTime(), bLevel::setMoveTime(), and bLevel::setMoveTime().
|
constexpr |
Definition at line 15 of file level.h.
Referenced by bLevel::stillTimeLeft().
|
constexpr |
time lost in between UI go command and bestmove return
Definition at line 25 of file level.h.
Referenced by bLevel::setMoveTime().