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

#include <pieceStand.h>

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

Public Types

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

Public Member Functions

 NonPawnPieceStandTurn ()
 
template<osl::Player P>
void evalWithUpdateBang (const NumEffectState &state, Move moved, MultiIntPair &result)
 

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 99 of file eval/ml/pieceStand.h.

Member Enumeration Documentation

anonymous enum
Enumerator
ONE_DIM 
DIM 

Definition at line 102 of file eval/ml/pieceStand.h.

Constructor & Destructor Documentation

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

Definition at line 103 of file eval/ml/pieceStand.h.

Member Function Documentation

void osl::eval::ml::NonPawnPieceStandTurn::eval ( const NumEffectState &  state,
MultiIntPair out 
)
static
template<Player P>
template void osl::eval::ml::NonPawnPieceStandTurn::evalWithUpdateBang< WHITE > ( const NumEffectState &  state,
Move  moved,
MultiIntPair last_value_and_out 
)
static
template<osl::Player P>
void osl::eval::ml::NonPawnPieceStandTurn::evalWithUpdateBang ( const NumEffectState &  state,
Move  moved,
MultiIntPair result 
)
static int osl::eval::ml::NonPawnPieceStandTurn::index ( Player  player,
Player  turn,
Ptype  ptype,
int  count 
)
inlinestaticprivate

Definition at line 112 of file eval/ml/pieceStand.h.

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

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

Definition at line 224 of file eval/ml/pieceStand.cc.

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

Member Data Documentation

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

Definition at line 111 of file eval/ml/pieceStand.h.


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