25 if (alg ==
"Random") {
29 }
else if (alg ==
"StaticEval") {
32 }
else if (alg ==
"BruteForce") {
34 }
else if (alg ==
"SearchIterativeBF") {
36 }
else if (alg ==
"AB") {
38 }
else if (alg ==
"ABFS") {
40 }
else if (alg ==
"ABFH") {
49 if (m_algo ==
nullptr)
throw std::logic_error(
"no algorithm defined");
53void bConfigurableGame::clearAlgorithm()
55 if (m_algo !=
nullptr)
delete m_algo;
64 }
else if (e ==
"PiecesOnly") {
66 }
else if (e ==
"StaticBoard") {
68 }
else if (e ==
"PositionalBoard") {
77 if (m_eval ==
nullptr)
throw std::logic_error(
"no eval defined");
81void bConfigurableGame::clearEval()
83 if (m_eval !=
nullptr)
delete m_eval;
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)