Module pleco::core::score[][src]

Primitives for determining the value / score of a specific location.

A Value stores a single i16 to represent a score. Score stores two i16s inside of it, the first to determine the mid-game score, and the second to determine the end-game score.

Structs

Score

Struct to define the value of a mid-game / end-game evaluation.

Constants

BISHOP
BISHOP_EG
BISHOP_MG
DRAW
END_GAME_LIMIT
INFINITE
KNIGHT
KNIGHT_EG
KNIGHT_MG
LIKELY_WIN
MATE
MATED_IN_MAX_PLY
MATE_IN_MAX_PLY
MID_GAME_LIMIT
NEG_INFINITE
NONE
PAWN
PAWN_EG
PAWN_MG
QUEEN
QUEEN_EG
QUEEN_MG
ROOK
ROOK_EG
ROOK_MG
ZERO

Type Definitions

Value

Type for i16 to determine the Value of an evaluation.