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

#include <minorPiece.h>

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

Public Types

enum  { ONE_DIM = 1440, DIM = ONE_DIM * EvalStages }
 

Public Member Functions

template<osl::Player P>
void evalWithUpdateBang (const NumEffectState &state, Move moved, const CArray2d< int, 2, 9 > &pawns, MultiInt &last_value)
 

Static Public Member Functions

static MultiInt eval (const NumEffectState &state, const CArray2d< int, 2, 9 > &pawns)
 
template<Player P>
static void evalWithUpdateBang (const NumEffectState &state, Move moved, const CArray2d< int, 2, 9 > &pawns, MultiInt &last_value)
 
static void setUp (const Weights &weights)
 

Static Private Member Functions

static int index (Player player, Ptype ptype, int y, int pawn_y)
 

Static Private Attributes

static CArray< MultiInt, 1440 > table
 

Detailed Description

Definition at line 1541 of file minorPiece.h.

Member Enumeration Documentation

anonymous enum
Enumerator
ONE_DIM 
DIM 

Definition at line 1544 of file minorPiece.h.

Member Function Documentation

osl::MultiInt osl::eval::ml::PtypeYPawnY::eval ( const NumEffectState &  state,
const CArray2d< int, 2, 9 > &  pawns 
)
static
template<Player P>
template void osl::eval::ml::PtypeYPawnY::evalWithUpdateBang< WHITE > ( const NumEffectState &  state,
Move  moved,
const CArray2d< int, 2, 9 > &  pawns,
MultiInt last_value 
)
static
template<osl::Player P>
void osl::eval::ml::PtypeYPawnY::evalWithUpdateBang ( const NumEffectState &  state,
Move  moved,
const CArray2d< int, 2, 9 > &  pawns,
MultiInt last_value 
)
static int osl::eval::ml::PtypeYPawnY::index ( Player  player,
Ptype  ptype,
int  y,
int  pawn_y 
)
inlinestaticprivate

Definition at line 1554 of file minorPiece.h.

References osl::WHITE.

void osl::eval::ml::PtypeYPawnY::setUp ( const Weights weights)
static

Definition at line 2034 of file minorPiece.cc.

References osl::NStages, and osl::eval::ml::Weights::value().

Member Data Documentation

osl::misc::CArray< MultiInt, 1440 > osl::eval::ml::PtypeYPawnY::table
staticprivate

Definition at line 1563 of file minorPiece.h.


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