Belofte version 2.1.8
A promising chess program using the UCI or Winboard interface
|
#include <eval.h>
Public Member Functions | |
bPositionEvaluation (std::string const &n) | |
Store black piece and field values as negative of whites view. | |
virtual | ~bPositionEvaluation () |
bPositionEvaluation (bPositionEvaluation const &)=delete | |
bPositionEvaluation (bPositionEvaluation &&)=delete | |
bPositionEvaluation & | operator= (bPositionEvaluation const &)=delete |
bPositionEvaluation & | operator= (bPositionEvaluation &&)=delete |
operator std::string () const & | |
virtual bScore | getEvaluation (bBoard const &b) const =0 |
gameResult_t | isGameEnded (bBoard const &b) const |
See if board is in finite state, meaning game is ended. | |
Static Public Member Functions | |
static bScore | pieceValue (piece_t const p) |
static bScore | mymove_pieceValue (piece_t const p) |
static bScore | centerplay_pieceValue (case_t const p) |
Protected Member Functions | |
bScore | resultToScoreFlag (gameResult_t const sc) const |
convert all draw scores to SCORE_THEORETIC_DRAW | |
|
explicit |
|
delete |
|
delete |
|
delete |
|
delete |
Implemented in PosEvalPiecesOnly, PosEvalStaticBoard, and PosEvalPositionalBoard.
Referenced by bGame::EvalForPlayer().
gameResult_t bPositionEvaluation::isGameEnded | ( | bBoard const & | b | ) | const |
See if board is in finite state, meaning game is ended.
b | board is a reference, if no moves have been generated, a copy is created, moves are generated and a recursive call is done |
Definition at line 38 of file eval.cpp.
Referenced by bGame::EvalFinalScore(), PosEvalPiecesOnly::getEvaluation(), PosEvalStaticBoard::getEvaluation(), and PosEvalPositionalBoard::getEvaluation().
|
protected |
convert all draw scores to SCORE_THEORETIC_DRAW
Definition at line 64 of file eval.cpp.
Referenced by PosEvalPiecesOnly::getEvaluation(), PosEvalStaticBoard::getEvaluation(), and PosEvalPositionalBoard::getEvaluation().