Belofte version 2.1.9
A promising chess program using the UCI or Winboard interface
eval.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  bPositionEvaluation
 
class  PosEvalPiecesOnly
 
class  PosEvalStaticBoard
 
class  PosEvalPositionalBoard
 

Typedefs

typedef int16_t bScore
 
typedef enum gameResult gameResult_t
 

Enumerations

enum  gameResult {
  GR_UNSET = 0 , GR_UNKNOWN = 1 , GR_DRAW_STALEMATE = 10 , GR_DRAW_LACKMATERIAL ,
  GR_DRAW_THREEFOLD , GR_DRAW_50 , GR_DRAW_ADJ , GR_DRAW_FLAG ,
  GR_DRAW_OTHER , GR_WHITEMATES = 20 , GR_BLACKRESIGNS , GR_WHITEWINS_ADJ ,
  GR_WHITEWINS_FLAG , GR_BLACKMATES = 30 , GR_WHITERESIGNS , GR_BLACKWINS_ADJ ,
  GR_BLACKWINS_FLAG
}
 

Variables

constexpr bScore SCORE_THEORETIC_DRAW = 0x4000
 
constexpr bScore SCORE_PRACTICAL_DRAW = -SCORE_THEORETIC_DRAW
 
constexpr bScore SCORE_INFINITE = 0x3FFF
 
constexpr bScore SCORE_PUNDEFINED = 0x3FF0
 
constexpr bScore SCORE_UNDEFINED = -SCORE_PUNDEFINED
 
constexpr bScore SCORE_ALMOST_NORMAL = 0x2FFF
 
constexpr bScore SCORE_MATE = 0x2F4F
 
constexpr bScore SCORE_WINNING = 0x27FF
 
constexpr bScore SCORE_RESIGN = 0x0578
 
constexpr bScore SCORE_ALMOST_DRAW = 0x000A
 
constexpr bScore SCORE_DRAW = 0x0000
 
constexpr bScore SCORE_CONVERGE_BYDEPTH = 1
 
constexpr bScore SCORE_BETAMARGIN = 80
 

Typedef Documentation

◆ bScore

typedef int16_t bScore

Definition at line 11 of file eval.h.

◆ gameResult_t

typedef enum gameResult gameResult_t

Definition at line 43 of file eval.h.

Enumeration Type Documentation

◆ gameResult

enum gameResult
Enumerator
GR_UNSET 
GR_UNKNOWN 
GR_DRAW_STALEMATE 
GR_DRAW_LACKMATERIAL 
GR_DRAW_THREEFOLD 
GR_DRAW_50 
GR_DRAW_ADJ 
GR_DRAW_FLAG 
GR_DRAW_OTHER 
GR_WHITEMATES 
GR_BLACKRESIGNS 
GR_WHITEWINS_ADJ 
GR_WHITEWINS_FLAG 
GR_BLACKMATES 
GR_WHITERESIGNS 
GR_BLACKWINS_ADJ 
GR_BLACKWINS_FLAG 

Definition at line 34 of file eval.h.

Variable Documentation

◆ SCORE_THEORETIC_DRAW

◆ SCORE_PRACTICAL_DRAW

◆ SCORE_INFINITE

◆ SCORE_PUNDEFINED

◆ SCORE_UNDEFINED

◆ SCORE_ALMOST_NORMAL

bScore SCORE_ALMOST_NORMAL = 0x2FFF
constexpr

◆ SCORE_MATE

◆ SCORE_WINNING

bScore SCORE_WINNING = 0x27FF
constexpr

◆ SCORE_RESIGN

bScore SCORE_RESIGN = 0x0578
constexpr

Definition at line 26 of file eval.h.

◆ SCORE_ALMOST_DRAW

bScore SCORE_ALMOST_DRAW = 0x000A
constexpr

Definition at line 27 of file eval.h.

Referenced by bSearchScore::convergeScore().

◆ SCORE_DRAW

bScore SCORE_DRAW = 0x0000
constexpr

Definition at line 28 of file eval.h.

◆ SCORE_CONVERGE_BYDEPTH

bScore SCORE_CONVERGE_BYDEPTH = 1
constexpr

◆ SCORE_BETAMARGIN

bScore SCORE_BETAMARGIN = 80
constexpr