Belofte  version 2.1.5
A promising chess program using the UCI or Winboard interface
eval.cpp File Reference

Go to the source code of this file.

Variables

static uint8_t whitefields [64]
 
static bScore piecevalues [tPiece::P_SIZE]
 
static bScore positivepiecevalues [tPiece::P_SIZE]
 
static bScore mymove_piecevalues [tPiece::P_SIZE]
 
static bScore positionvalues [tPiece::P_SIZE][64]
 
static bScore endgamevalues [tPiece::P_SIZE][64]
 
static bScore centerplayvalues [64]
 

Variable Documentation

◆ whitefields

uint8_t whitefields[64]
static
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 10 of file eval.cpp.

◆ piecevalues

bScore piecevalues[tPiece::P_SIZE]
static

◆ positivepiecevalues

◆ mymove_piecevalues

bScore mymove_piecevalues[tPiece::P_SIZE]
static

◆ positionvalues

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

◆ endgamevalues

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

◆ centerplayvalues

bScore centerplayvalues[64]
static
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 330 of file eval.cpp.

Referenced by bPositionEvaluation::centerplay_pieceValue(), and PosEvalStaticBoard::getEndgameEvaluation().