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 | bPositionEvaluation |
class | PosEvalPiecesOnly |
class | PosEvalStaticBoard |
class | PosEvalPositionalBoard |
Namespaces | |
namespace | belofte |
Allow index mapper for char values of piece into int in 1-12 range to reduce space and easy initialisation. | |
Typedefs | |
typedef enum gameResult | gameResult_t |
Enumerations | |
enum | gameResult { GR_UNKNOWN = 0 , GR_DRAW_STALEMATE = 10 , GR_DRAW_LACKMATERIAL , GR_DRAW_THREEFOLD , GR_DRAW_50 , GR_DRAW_ADJ , GR_DRAW_FLAG , GR_DRAW_OTHER , GR_WHITEMATES = 20 , GR_BLACKRESIGNS , GR_WHITEWINS_ADJ , GR_WHITEWINS_FLAG , GR_BLACKMATES = 30 , GR_WHITERESIGNS , GR_BLACKWINS_ADJ , GR_BLACKWINS_FLAG } |
Functions | |
bScore | belofte::realScore (bScore const sc) |
Variables | |
constexpr bScore | SCORE_INFINITE = 0x3FFF |
constexpr bScore | SCORE_POSITIVE = 0x7FFF |
constexpr bScore | SCORE_THEORETIC_DRAW = 0x4000 |
constexpr bScore | SCORE_PRACTICAL_DRAW = SCORE_THEORETIC_DRAW | ~SCORE_POSITIVE |
constexpr bScore | SCORE_PUNDEFINED = 0x3FFE |
constexpr bScore | SCORE_UNDEFINED = SCORE_PUNDEFINED | ~SCORE_POSITIVE |
constexpr bScore | SCORE_ALMOST_NORMAL = 0x2FFF |
constexpr bScore | SCORE_MATE = 0x2F4F |
constexpr bScore | SCORE_WINNING = 0x27FF |
constexpr bScore | SCORE_RESIGN = 0x0578 |
constexpr bScore | SCORE_ALMOST_DRAW = 0x000A |
constexpr bScore | SCORE_DRAW = 0x0000 |
constexpr bScore | SCORE_CONVERGE_BYDEPTH = 1 |
constexpr bScore | SCORE_BETAMARGIN = 80 |
typedef enum gameResult gameResult_t |
enum gameResult |
|
constexpr |
Definition at line 15 of file eval.h.
Referenced by SearchAlphaBeta::CalcBestMove(), SearchAlphaBeta::CalcBestMove(), SearchAlphaBetaFH::CalcBestMove(), UCIMode::sendInfoScore(), and UCIMode::sendInfoSearching().
|
constexpr |
Definition at line 16 of file eval.h.
Referenced by bSearchAlgorithm::attenuateScore(), SearchAlphaBeta::CalcBestMove(), SearchAlphaBetaFH::CalcBestMove(), bMove::getMoveEvalStr(), bMove::isEndOfGame(), bGame::playGameMove(), SearchAlphaBeta::Quiescence(), belofte::realScore(), UCIMode::sendInfoScore(), UCIMode::sendInfoSearching(), and XboardMode::sendInfoSearching().
|
constexpr |
Definition at line 17 of file eval.h.
Referenced by bSearchAlgorithm::attenuateScore(), SearchAlphaBeta::CalcBestMove(), SearchAlphaBetaFH::CalcBestMove(), bMove::getMoveEvalStr(), bGame::playGameMove(), SearchAlphaBeta::Quiescence(), belofte::realScore(), and bPositionEvaluation::resultToScoreFlag().
|
constexpr |
|
constexpr |
Definition at line 19 of file eval.h.
Referenced by bSearchAlgorithm::attenuateScore(), bMove::getMoveEvalStr(), bMove::isEndOfGame(), bGame::playGameMove(), belofte::realScore(), UCIMode::sendInfoScore(), UCIMode::sendInfoSearching(), and XboardMode::sendInfoSearching().
|
constexpr |
Definition at line 20 of file eval.h.
Referenced by bSearchAlgorithm::attenuateScore(), SearchPerft::CalcBestMove(), SearchEvalPosOnly::CalcBestMove(), SearchRandom::CalcBestMove(), SearchAlphaBeta::CalcBestMove(), SearchAlphaBetaFH::CalcBestMove(), SearchAlphaBeta::Quiescence(), belofte::realScore(), and bSearchAlgorithm::RetrieveBoardEvaluation().
|
constexpr |
Definition at line 22 of file eval.h.
Referenced by bSearchAlgorithm::attenuateScore(), and UCIMode::sendInfoScore().
|
constexpr |
Definition at line 23 of file eval.h.
Referenced by bMove::isEndOfGame(), bGame::playGameMove(), bPositionEvaluation::resultToScoreFlag(), and UCIMode::sendInfoScore().
|
constexpr |
Definition at line 24 of file eval.h.
Referenced by SearchAlphaBeta::CalcBestMove(), SearchAlphaBetaFH::CalcBestMove(), SearchAlphaBeta::Quiescence(), and UCIMode::sendInfoScore().
|
constexpr |
Definition at line 26 of file eval.h.
Referenced by bSearchAlgorithm::attenuateScore().
|
constexpr |
Definition at line 27 of file eval.h.
Referenced by belofte::realScore().
|
constexpr |
Definition at line 29 of file eval.h.
Referenced by bSearchAlgorithm::attenuateScore(), bMove::isEndOfGame(), and bGame::playGameMove().
|
constexpr |
Definition at line 30 of file eval.h.
Referenced by SearchAlphaBetaFH::SearchAlphaBetaFH().