My Project
Public Types | Static Public Member Functions | Static Private Member Functions | Static Private Attributes | List of all members
osl::eval::ml::PtypeY Class Reference

#include <minorPiece.h>

Public Types

enum  { DIM = PTYPE_SIZE * 9 }
 

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 732 of file minorPiece.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
DIM 

Definition at line 735 of file minorPiece.h.

Member Function Documentation

◆ eval()

MultiInt osl::eval::ml::PtypeY::eval ( const NumEffectState state)
static

◆ evalWithUpdate()

template<osl::Player P>
template MultiInt osl::eval::ml::PtypeY::evalWithUpdate< WHITE > ( const NumEffectState ,
Move  moved,
MultiInt const &  last_value 
)
static

◆ index() [1/2]

static int osl::eval::ml::PtypeY::index ( const Piece  piece)
inlinestaticprivate

Definition at line 743 of file minorPiece.h.

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

Referenced by index().

◆ index() [2/2]

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

Definition at line 747 of file minorPiece.h.

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

◆ setUp()

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

Member Data Documentation

◆ table

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

Definition at line 742 of file minorPiece.h.


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