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::PtypeY Class Reference

#include <minorPiece.h>

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

Public Types

enum  { DIM = PTYPE_SIZE * 9 }
 

Public Member Functions

template<osl::Player P>
MultiInt evalWithUpdate (const NumEffectState &, Move moved, MultiInt const &last_value)
 

Static Public Member Functions

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

Static Private Member Functions

static int index (const Piece piece)
 
static int index (const Player player, const Ptype ptype, const Square pos)
 

Static Private Attributes

static CArray< MultiInt, 144 > table
 

Detailed Description

Definition at line 735 of file minorPiece.h.

Member Enumeration Documentation

anonymous enum
Enumerator
DIM 

Definition at line 738 of file minorPiece.h.

Member Function Documentation

MultiInt osl::eval::ml::PtypeY::eval ( const NumEffectState &  state)
static
template<osl::Player P>
MultiInt osl::eval::ml::PtypeY::evalWithUpdate ( const NumEffectState &  ,
Move  moved,
MultiInt const &  last_value 
)
template<Player P>
template MultiInt osl::eval::ml::PtypeY::evalWithUpdate< WHITE > ( const NumEffectState &  ,
Move  moved,
MultiInt const &  last_value 
)
static
static int osl::eval::ml::PtypeY::index ( const Piece  piece)
inlinestaticprivate

Definition at line 746 of file minorPiece.h.

References osl::Piece::owner(), osl::Piece::ptype(), and osl::Piece::square().

static int osl::eval::ml::PtypeY::index ( const Player  player,
const Ptype  ptype,
const Square  pos 
)
inlinestaticprivate

Definition at line 750 of file minorPiece.h.

References osl::BLACK, and osl::Square::y().

void osl::eval::ml::PtypeY::setUp ( const Weights weights,
int  stage 
)
static

Member Data Documentation

osl::misc::CArray< MultiInt, 144 > osl::eval::ml::PtypeY::table
staticprivate

Definition at line 745 of file minorPiece.h.


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