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

#include <pieceStand.h>

Public Types

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

Public Member Functions

 NonPawnPieceStandTurn ()
 

Static Public Member Functions

static void setUp (const Weights &weights)
 
static void eval (const NumEffectState &state, MultiIntPair &out)
 
template<Player P>
static void evalWithUpdateBang (const NumEffectState &state, Move moved, MultiIntPair &last_value_and_out)
 

Static Private Member Functions

static int index (Player player, Player turn, Ptype ptype, int count)
 

Static Private Attributes

static CArray< MultiInt, 44 > table
 

Detailed Description

Definition at line 96 of file eval/pieceStand.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ONE_DIM 
DIM 

Definition at line 99 of file eval/pieceStand.h.

Constructor & Destructor Documentation

◆ NonPawnPieceStandTurn()

osl::eval::ml::NonPawnPieceStandTurn::NonPawnPieceStandTurn ( )
inline

Definition at line 100 of file eval/pieceStand.h.

Member Function Documentation

◆ eval()

void osl::eval::ml::NonPawnPieceStandTurn::eval ( const NumEffectState state,
MultiIntPair out 
)
static

◆ evalWithUpdateBang()

template<osl::Player P>
template void osl::eval::ml::NonPawnPieceStandTurn::evalWithUpdateBang< WHITE > ( const NumEffectState state,
Move  moved,
MultiIntPair last_value_and_out 
)
static

◆ index()

static int osl::eval::ml::NonPawnPieceStandTurn::index ( Player  player,
Player  turn,
Ptype  ptype,
int  count 
)
inlinestaticprivate

Definition at line 109 of file eval/pieceStand.h.

References osl::PtypeTable::getIndexMin(), and osl::Ptype_Table.

◆ setUp()

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

Definition at line 222 of file eval_pieceStand.cc.

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

Member Data Documentation

◆ table

osl::CArray< osl::MultiInt, 44 > osl::eval::ml::NonPawnPieceStandTurn::table
staticprivate

Definition at line 108 of file eval/pieceStand.h.


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