Belofte version 2.1.8
A promising chess program using the UCI or Winboard interface
|
allow custom methods to be attached to game More...
#include <configurablegame.h>
Public Member Functions | |
bConfigurableGame () | |
virtual | ~bConfigurableGame () |
bConfigurableGame (bConfigurableGame const &)=delete | |
bConfigurableGame & | operator= (bConfigurableGame const &)=delete |
bConfigurableGame (bConfigurableGame &&)=delete | |
bConfigurableGame & | operator= (bConfigurableGame &&)=delete |
void | setAlgorithm (std::string const &alg) |
bSearchAlgorithm * | getAlgorithm () const |
void | setEval (std::string const &e) |
bPositionEvaluation * | getEval () const |
allow custom methods to be attached to game
Definition at line 14 of file configurablegame.h.
bConfigurableGame::bConfigurableGame | ( | ) |
|
virtual |
Definition at line 16 of file configurablegame.cpp.
|
delete |
|
delete |
|
delete |
|
delete |
void bConfigurableGame::setAlgorithm | ( | std::string const & | alg | ) |
Definition at line 22 of file configurablegame.cpp.
Referenced by bConfigurableGame(), and cmd_alg::execute().
bSearchAlgorithm * bConfigurableGame::getAlgorithm | ( | ) | const |
Definition at line 44 of file configurablegame.cpp.
Referenced by bGame::AbortSearch(), bGame::evalEpdPosition(), bel_debug::info(), and bGame::WaitForSearchEnd().
void bConfigurableGame::setEval | ( | std::string const & | e | ) |
Definition at line 56 of file configurablegame.cpp.
Referenced by bConfigurableGame(), and cmd_evaltype::execute().
bPositionEvaluation * bConfigurableGame::getEval | ( | ) | const |
Definition at line 70 of file configurablegame.cpp.
Referenced by bGame::EvalFinalScore(), bGame::EvalForPlayer(), cmd_eval::execute(), and bel_debug::info().