30 for (
movenum_t moveid = 1; moveid <= n_moves; moveid++) {
52 std::string izing = std::string(b.
minimizing() > 0 ?
"White" :
"Black") +
" to move";
57 + belofte::to_string(nValueAtNullMove)
58 +
") -- early cut off", boardscore);
72 for (
movenum_t moveid = 1; moveid <= n_moves; moveid++) {
73 if (ml[moveid].isNonSilent() || ml[moveid].isCheck()) {
80 if (chldscore > bestscore) {
82 bestscore = chldscore.getScore();
86 + belofte::to_string(nValueAtNullMove)
87 +
") -- cut-off", chldscore.getScore());
This is the main include file, needs to be included before any other include.
~SearchEvalPosOnly() override
bScore CalcBestMove(bBoard &b) override
void setVariation(bBoard const &chldbrd)
bMoveList & getMoveListRef()
return reference to movelist
bScore minimizing() const
movenum_t setScoreOfMove(movenum_t const moveid, bScore const score)
Store score of move.
movenum_t getNumberOfQSMoves() const
return number of non silent moves
movenum_t getNumberOfMoves() const
movenum_t generateMoves(bBoard const &b)
generate moves if not yet generated
void sendInfoCurrMove(bBoard const &b, depth_t const nDepth, movenum_t const moveid) const
bScore RetrieveBoardEvaluation(bBoard &b) const
Cache score of board.
void CheckIfAbortingSearch() const
constexpr bScore SCORE_UNDEFINED
bScore realScore(bScore const sc)
#define DEBUG_returnInfoSearching(b, depth, msg, sc)
#define DEBUG_sendInfoSearching(b, depth, msg, sc)