All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Static Public Member Functions | Static Private Attributes | List of all members
osl::eval::ml::PieceEval Class Reference

#include <pieceEval.h>

Collaboration diagram for osl::eval::ml::PieceEval:
Collaboration graph
[legend]

Static Public Member Functions

static void setUp (const Weights &weights)
 
static int eval (const NumEffectState &state)
 
template<Player P>
static int evalWithUpdate (const NumEffectState &, Move moved, int last_value)
 
static int value (PtypeO ptypeO)
 

Static Private Attributes

static CArray< int, PTYPEO_SIZEtable
 

Detailed Description

Definition at line 18 of file ml/pieceEval.h.

Member Function Documentation

int osl::eval::ml::PieceEval::eval ( const NumEffectState &  state)
static
template<Player P>
static int osl::eval::ml::PieceEval::evalWithUpdate ( const NumEffectState &  ,
Move  moved,
int  last_value 
)
inlinestatic
void osl::eval::ml::PieceEval::setUp ( const Weights weights)
static
int osl::eval::ml::PieceEval::value ( PtypeO  ptypeO)
static

Definition at line 33 of file ml/pieceEval.cc.

References osl::PTYPEO_MIN.

Referenced by osl::eval::ml::OpenMidEndingEval::captureValue(), and evalWithUpdate().

Member Data Documentation

osl::misc::CArray< int, osl::PTYPEO_SIZE > osl::eval::ml::PieceEval::table
staticprivate

Definition at line 20 of file ml/pieceEval.h.

Referenced by evalWithUpdate().


The documentation for this class was generated from the following files: