Belofte version 2.1.9
A promising chess program using the UCI or Winboard interface
|
#include <searchscore.h>
Public Member Functions | |
bSearchScore (bSearchScore &sc) | |
bSearchScore (bSearchScore const &sc) | |
bSearchScore (bSearchScore &&sc) | |
bSearchScore (bScore const &score) | |
bSearchScore (bScore const &score, scoretype_t const &st) | |
~bSearchScore () | |
bSearchScore & | operator= (bScore const &score) |
bSearchScore | operator- () const |
bool | operator> (bScore const &rhsc) |
bool | operator> (bSearchScore const &rhsc) |
bool | operator>= (bSearchScore const &rhsc) |
bool | operator< (bScore const &rhsc) |
bool | operator< (bSearchScore const &rhsc) |
bool | operator<= (bSearchScore const &rhsc) |
constexpr bScore | getScore () const |
constexpr bScore | realScore () const |
constexpr bool | isWinning () const |
bool | improvesOn (bSearchScore const &sc) |
bool | improvesOn (bScore const &margin, bSearchScore const &sc) const |
bool | improvesOn (bScore const &sc) |
bool | improvesOn (bScore const &margin, bScore const &sc) const |
std::string const | operator+ (std::string const &rhs) |
bScore | convergeScore () |
operator std::string () const | |
Static Public Member Functions | |
static bScore | convergeScore (bScore const score) |
converge score towards zero in order to force immediate best move first | |
static constexpr bScore | realScore (bScore const score) |
static constexpr bool | isUndefinedScore (bScore const score) |
static constexpr bool | isDrawScore (bScore const score) |
Friends | |
std::string const | operator+ (std::string const &lhs, bSearchScore const &sc) |
bool | operator> (bScore const &lhsc, bSearchScore const &rhsc) |
bool | operator>= (bScore const &lhsc, bSearchScore const &rhsc) |
bool | operator< (bScore const &lhsc, bSearchScore const &rhsc) |
bool | operator<= (bScore const &lhsc, bSearchScore const &rhsc) |
Definition at line 23 of file searchscore.h.
|
inline |
Definition at line 25 of file searchscore.h.
Referenced by bSearchScore(), bSearchScore(), bSearchScore(), improvesOn(), improvesOn(), operator+, operator-(), operator<, operator<(), operator<=, operator<=(), operator=(), operator>, operator>(), operator>=, and operator>=().
|
inline |
|
inline |
|
inlineexplicit |
Definition at line 34 of file searchscore.h.
|
inlineexplicit |
Definition at line 37 of file searchscore.h.
|
inline |
Definition at line 41 of file searchscore.h.
|
inline |
bSearchScore bSearchScore::operator- | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineconstexpr |
Definition at line 64 of file searchscore.h.
Referenced by SearchAlphaBeta::CalcBestMove(), SearchAlphaBetaFH::CalcBestMove(), SearchEvalPosOnly::CalcBestMove(), and SearchAlphaBeta::Quiescence().
|
inlineconstexpr |
Definition at line 66 of file searchscore.h.
Referenced by improvesOn(), improvesOn(), improvesOn(), improvesOn(), isWinning(), operator<, operator<(), operator<(), operator<=, operator<=(), operator>, operator>(), operator>(), operator>=, operator>=(), and bMove::realScore().
|
inlineconstexpr |
Definition at line 70 of file searchscore.h.
Referenced by SearchAlphaBeta::CalcBestMove(), SearchAlphaBetaFH::CalcBestMove(), and SearchAlphaBeta::Quiescence().
|
inline |
Definition at line 72 of file searchscore.h.
Referenced by SearchAlphaBeta::CalcBestMove(), SearchAlphaBetaFH::CalcBestMove(), and SearchAlphaBeta::Quiescence().
|
inline |
|
inline |
|
inline |
Definition at line 81 of file searchscore.h.
|
inline |
Definition at line 95 of file searchscore.h.
Referenced by SearchAlphaBeta::CalcBestMove(), SearchAlphaBetaFH::CalcBestMove(), convergeScore(), and SearchAlphaBeta::Quiescence().
converge score towards zero in order to force immediate best move first
Definition at line 14 of file searchscore.cpp.
|
inlinestaticconstexpr |
Definition at line 108 of file searchscore.h.
Referenced by bGame::playGameMove(), UCIMode::scoreString(), and XboardMode::sendInfoSearching().
|
inlinestaticconstexpr |
Definition at line 110 of file searchscore.h.
Referenced by SearchAlphaBetaFH::CalcBestMove(), bGame::playGameMove(), realScore(), realScore(), and UCIMode::scoreString().
bSearchScore::operator std::string | ( | ) | const |
|
friend |
Definition at line 83 of file searchscore.h.
|
friend |
Definition at line 86 of file searchscore.h.
|
friend |
Definition at line 88 of file searchscore.h.
|
friend |
Definition at line 90 of file searchscore.h.
|
friend |
Definition at line 92 of file searchscore.h.
uint32_t bSearchScore::u_scoreInfo |
Definition at line 117 of file searchscore.h.
Referenced by bSearchScore(), bSearchScore(), and bSearchScore().
bScore bSearchScore::m_score = SCORE_UNDEFINED |
Definition at line 119 of file searchscore.h.
Referenced by bSearchScore(), bSearchScore(), convergeScore(), getScore(), operator std::string(), operator-(), operator=(), and realScore().
scoretype_t bSearchScore::m_type = tScoreType::SC_UNDEF |
Definition at line 120 of file searchscore.h.
Referenced by bSearchScore(), operator std::string(), and operator-().