61 operator std::string() const&
62 {
return const_cast<std::string const&
>(m_name); }
71 static int8_t nFoldRepetition(
bBoard const& b);
72 static bool twoFoldRepetition(
bBoard const& b);
73 static bool threeFoldRepetition(
bBoard const& b);
74 static bool insufficientMaterial(
bBoard const& b);
152 static bool whiteKingSameRankCol(
bBoard const& b,
column_t const iCol,
154 static bool blackKingSameRankCol(
bBoard const& b,
column_t const iCol,
168 static bool sameColourWhiteKing(
bBoard const& b,
case_t const iCol);
169 static bool sameColourBlackKing(
bBoard const& b,
case_t const iCol);
PosEvalPiecesOnly(PosEvalPiecesOnly &&)=delete
bScore getEvaluation(bBoard const &b, gameResult_t gr) const override
get pure material evaluation of score from whites view
PosEvalPiecesOnly & operator=(PosEvalPiecesOnly const &)=delete
PosEvalPiecesOnly & operator=(PosEvalPiecesOnly &&)=delete
PosEvalPiecesOnly(PosEvalPiecesOnly const &)=delete
~PosEvalPiecesOnly() override
~PosEvalPositionalBoard() override
bScore getEvaluation(bBoard const &b, gameResult_t gr) const override
get positional evaluation from whites view
PosEvalStaticBoard(PosEvalStaticBoard &&)=delete
static bScore getMatingEvaluation(bBoard const &b)
static bScore getEndgameEvaluation(bBoard const &b)
~PosEvalStaticBoard() override
static bScore getPawnEndingEvaluation(bBoard const &b)
static bScore getRelativeBoardEval(bBoard const &b)
PosEvalStaticBoard(PosEvalStaticBoard const &)=delete
PosEvalStaticBoard & operator=(PosEvalStaticBoard &&)=delete
bScore getEvaluation(bBoard const &b, gameResult_t gr) const override
get material and case related modification of score from whites view
PosEvalStaticBoard & operator=(PosEvalStaticBoard const &)=delete
PosEvalStaticBoard(std::string &&s)
virtual ~bPositionEvaluation()
static bScore resultToScoreFlag(gameResult_t const gr)
Class static function convert all draw scores to SCORE_THEORETIC_DRAW.
static gameResult_t gameEndedResult(bBoard const &b)
Class static function See if board is in finite state, meaning game is ended.
static bool isDrawResult(gameResult_t const gr)
virtual bScore getEvaluation(bBoard const &b, gameResult_t gr) const
get final score (+-SCORE_MATE, SCORE_THEORETIC_DRAW) or 0
bPositionEvaluation & operator=(bPositionEvaluation const &)=delete
bPositionEvaluation(bPositionEvaluation &&)=delete
bPositionEvaluation(bPositionEvaluation const &)=delete
bPositionEvaluation & operator=(bPositionEvaluation &&)=delete
constexpr bScore SCORE_ALMOST_NORMAL
constexpr bScore SCORE_MATE
enum gameResult gameResult_t
constexpr bScore SCORE_PRACTICAL_DRAW
constexpr bScore SCORE_ALMOST_DRAW
constexpr bScore SCORE_RESIGN
constexpr bScore SCORE_CONVERGE_BYDEPTH
constexpr bScore SCORE_UNDEFINED
constexpr bScore SCORE_DRAW
constexpr bScore SCORE_BETAMARGIN
constexpr bScore SCORE_THEORETIC_DRAW
constexpr bScore SCORE_INFINITE