Belofte version 2.1.9
A promising chess program using the UCI or Winboard interface
PosEvalStaticBoard Class Reference

#include <eval.h>

+ Inheritance diagram for PosEvalStaticBoard:
+ Collaboration diagram for PosEvalStaticBoard:

Public Member Functions

 PosEvalStaticBoard ()
 
 PosEvalStaticBoard (std::string const &s)
 
 ~PosEvalStaticBoard () override
 
 PosEvalStaticBoard (PosEvalStaticBoard const &)=delete
 
 PosEvalStaticBoard (PosEvalStaticBoard &&)=delete
 
PosEvalStaticBoardoperator= (PosEvalStaticBoard const &)=delete
 
PosEvalStaticBoardoperator= (PosEvalStaticBoard &&)=delete
 
bScore getEvaluation (bBoard const &b) const override
 get material and case related modification of score
 
- Public Member Functions inherited from bPositionEvaluation
 bPositionEvaluation ()
 
 bPositionEvaluation (std::string const &s)
 Store black piece and field values as negative of whites view.
 
virtual ~bPositionEvaluation ()
 
 bPositionEvaluation (bPositionEvaluation const &)=delete
 
 bPositionEvaluation (bPositionEvaluation &&)=delete
 
bPositionEvaluationoperator= (bPositionEvaluation const &)=delete
 
bPositionEvaluationoperator= (bPositionEvaluation &&)=delete
 
 operator std::string () const &
 

Protected Member Functions

bScore getRelativeBoardEval (bBoard const &b) const
 
bScore getEndgameEvaluation (bBoard const &b) const
 
bScore getPawnEndingEvaluation (bBoard const &b) const
 
bScore getMatingEvaluation (bBoard const &b) const
 

Additional Inherited Members

- Static Public Member Functions inherited from bPositionEvaluation
static gameResult_t gameEndedResult (bBoard const &b)
 Class static function See if board is in finite state, meaning game is ended.
 
static bScore resultToScoreFlag (gameResult_t const gr)
 Class static function convert all draw scores to SCORE_THEORETIC_DRAW.
 
static bool isDrawResult (gameResult_t const gr)
 

Detailed Description

Definition at line 103 of file eval.h.

Constructor & Destructor Documentation

◆ PosEvalStaticBoard() [1/4]

PosEvalStaticBoard::PosEvalStaticBoard ( )
inlineexplicit

Definition at line 105 of file eval.h.

Referenced by operator=(), operator=(), PosEvalPositionalBoard::PosEvalPositionalBoard(), PosEvalStaticBoard(), and PosEvalStaticBoard().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ PosEvalStaticBoard() [2/4]

PosEvalStaticBoard::PosEvalStaticBoard ( std::string const & s)
inlineexplicit

Definition at line 108 of file eval.h.

+ Here is the call graph for this function:

◆ ~PosEvalStaticBoard()

PosEvalStaticBoard::~PosEvalStaticBoard ( )
inlineoverride

Definition at line 111 of file eval.h.

◆ PosEvalStaticBoard() [3/4]

PosEvalStaticBoard::PosEvalStaticBoard ( PosEvalStaticBoard const & )
delete
+ Here is the call graph for this function:

◆ PosEvalStaticBoard() [4/4]

PosEvalStaticBoard::PosEvalStaticBoard ( PosEvalStaticBoard && )
delete
+ Here is the call graph for this function:

Member Function Documentation

◆ operator=() [1/2]

PosEvalStaticBoard & PosEvalStaticBoard::operator= ( PosEvalStaticBoard const & )
delete
+ Here is the call graph for this function:

◆ operator=() [2/2]

PosEvalStaticBoard & PosEvalStaticBoard::operator= ( PosEvalStaticBoard && )
delete
+ Here is the call graph for this function:

◆ getEvaluation()

bScore PosEvalStaticBoard::getEvaluation ( bBoard const & b) const
overridevirtual

get material and case related modification of score

Reimplemented from bPositionEvaluation.

Definition at line 466 of file eval.cpp.

+ Here is the call graph for this function:

◆ getRelativeBoardEval()

bScore PosEvalStaticBoard::getRelativeBoardEval ( bBoard const & b) const
protected

Definition at line 483 of file eval.cpp.

Referenced by PosEvalPositionalBoard::getEvaluation(), and getEvaluation().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getEndgameEvaluation()

bScore PosEvalStaticBoard::getEndgameEvaluation ( bBoard const & b) const
protected

Definition at line 501 of file eval.cpp.

Referenced by PosEvalPositionalBoard::getEvaluation(), and getEvaluation().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getPawnEndingEvaluation()

bScore PosEvalStaticBoard::getPawnEndingEvaluation ( bBoard const & b) const
protected

Definition at line 517 of file eval.cpp.

Referenced by PosEvalPositionalBoard::getEvaluation(), and getEvaluation().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getMatingEvaluation()

bScore PosEvalStaticBoard::getMatingEvaluation ( bBoard const & b) const
protected

Definition at line 531 of file eval.cpp.

Referenced by PosEvalPositionalBoard::getEvaluation(), and getEvaluation().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: