25 if (alg ==
"Random") {
29 }
else if (alg ==
"StaticEval") {
32 }
else if (alg ==
"BruteForce") {
34 }
else if (alg ==
"SearchIterativeBF") {
36 }
else if (alg ==
"MiniMax") {
38 }
else if (alg ==
"AB") {
40 }
else if (alg ==
"ABFS") {
42 }
else if (alg ==
"ABFH") {
51 if (m_algo ==
nullptr)
throw std::logic_error(
"no algorithm defined");
55void bConfigurableGame::clearAlgorithm()
66 }
else if (e ==
"PiecesOnly") {
68 }
else if (e ==
"StaticBoard") {
70 }
else if (e ==
"PositionalBoard") {
79 if (m_eval ==
nullptr)
throw std::logic_error(
"no eval defined");
83void bConfigurableGame::clearEval()
This is the main include file, needs to be included before any other include.
void setConfig(std::string const &s, int64_t v)
void setAlgorithm(std::string const &alg)
virtual ~bConfigurableGame()
void setEval(std::string const &e)
bSearchAlgorithm * getAlgorithm() const
bPositionEvaluation * getEval() const
void setDepthCommand(depth_t const d)