Belofte version 2.2.0
A promising chess program using the UCI or Winboard interface
belofteeval Namespace Reference

Variables

static constexpr uint8_t fieldcolours [64]
 
bScore piecevalues []
 
const bScore centerplayvalues []
 
bScore piecevalues_movepenalty []
 
static bScore roundedpiecevalues [tPiece::P_SIZE]
 
static bScore positionvalues [tPiece::P_SIZE][64]
 
static bScore endgamevalues [tPiece::P_SIZE][64]
 

Variable Documentation

◆ fieldcolours

uint8_t belofteeval::fieldcolours[64]
staticconstexpr
Initial value:
= {
1, 2, 1, 2, 1, 2, 1, 2,
2, 1, 2, 1, 2, 1, 2, 1,
1, 2, 1, 2, 1, 2, 1, 2,
2, 1, 2, 1, 2, 1, 2, 1,
1, 2, 1, 2, 1, 2, 1, 2,
2, 1, 2, 1, 2, 1, 2, 1,
1, 2, 1, 2, 1, 2, 1, 2,
2, 1, 2, 1, 2, 1, 2, 1
}

Definition at line 17 of file eval.cpp.

◆ piecevalues

◆ centerplayvalues

bScore belofteeval::centerplayvalues
Initial value:
= {
0, 1, 2, 3, 3, 2, 1, 0,
1, 2, 4, 5, 5, 4, 2, 1,
2, 4, 6, 7, 7, 6, 4, 2,
3, 5, 7, 9, 9, 7, 5, 3,
3, 5, 7, 9, 9, 7, 5, 3,
2, 4, 6, 7, 7, 6, 4, 2,
1, 2, 4, 5, 5, 4, 2, 1,
0, 1, 2, 3, 3, 2, 1, 0
}

Definition at line 384 of file eval.cpp.

Referenced by PosEvalStaticBoard::getEndgameEvaluation().

◆ piecevalues_movepenalty

bScore belofteeval::piecevalues_movepenalty

Definition at line 237 of file eval.cpp.

Referenced by bPositionEvaluation::bPositionEvaluation().

◆ roundedpiecevalues

bScore belofteeval::roundedpiecevalues[tPiece::P_SIZE]
static
Initial value:
= {
0, 0, 100, 300, 300, 500, 900
}

Definition at line 225 of file eval.cpp.

Referenced by bPositionEvaluation::bPositionEvaluation(), and PosEvalPiecesOnly::getEvaluation().

◆ positionvalues

bScore belofteeval::positionvalues[tPiece::P_SIZE][64]
static

◆ endgamevalues

bScore belofteeval::endgamevalues[tPiece::P_SIZE][64]
static