Public Types | Static Public Member Functions | Static Private Member Functions | Static Private Attributes | Friends | List of all members
osl::eval::ml::PawnPtypeOPtypeO Class Reference

#include <minorPiece.h>

Public Types

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

Static Public Member Functions

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

Static Private Member Functions

static int index (Player P, PtypeO up, PtypeO up_up)
 
static int indexY (Player P, PtypeO up, PtypeO up_up, int y)
 

Static Private Attributes

static CArray< MultiInt, 1024 > table
 
static CArray< MultiInt, 9216 > y_table
 

Friends

class PawnPtypeOPtypeOY
 

Detailed Description

Definition at line 850 of file minorPiece.h.

Member Enumeration Documentation

§ anonymous enum

anonymous enum
Enumerator
ONE_DIM 
DIM 

Definition at line 854 of file minorPiece.h.

Member Function Documentation

§ eval()

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

§ evalWithUpdate()

template<osl::Player P>
template MultiInt osl::eval::ml::PawnPtypeOPtypeO::evalWithUpdate< WHITE > ( const NumEffectState state,
Move  moved,
const CArray2d< int, 2, 9 > &  pawns,
const MultiInt last_value 
)
static

§ index()

static int osl::eval::ml::PawnPtypeOPtypeO::index ( Player  P,
PtypeO  up,
PtypeO  up_up 
)
inlinestaticprivate

Definition at line 863 of file minorPiece.h.

References osl::altIfPiece(), osl::PTYPEO_MIN, and osl::WHITE.

§ indexY()

static int osl::eval::ml::PawnPtypeOPtypeO::indexY ( Player  P,
PtypeO  up,
PtypeO  up_up,
int  y 
)
inlinestaticprivate

Definition at line 872 of file minorPiece.h.

References osl::BLACK.

§ setUp()

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

Friends And Related Function Documentation

§ PawnPtypeOPtypeOY

friend class PawnPtypeOPtypeOY
friend

Definition at line 852 of file minorPiece.h.

Member Data Documentation

§ table

osl::CArray< MultiInt, 1024 > osl::eval::ml::PawnPtypeOPtypeO::table
staticprivate

Definition at line 877 of file minorPiece.h.

Referenced by osl::eval::ml::KnightCheck::eval().

§ y_table

osl::CArray< MultiInt, 9216 > osl::eval::ml::PawnPtypeOPtypeO::y_table
staticprivate

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