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::King25EffectEach< Stage > Class Template Reference

#include <kingTable.h>

Public Types

enum  { DIM = 5 * 3 * STATE_MAX * 3 }
 

Public Member Functions

template<osl::Player Defense>
osl::eval::ml::EffectState effectState (const NumEffectState &state, Square target)
 

Static Public Member Functions

static void setUp (const Weights &weigths)
 
static int eval (const NumEffectState &state)
 

Static Private Member Functions

template<Player Defense>
static EffectState effectState (const NumEffectState &state, Square target)
 
template<Player Defense>
static int index (const NumEffectState &state, Square king, Square target)
 
template<osl::Player Defense>
static int evalOne (const NumEffectState &state)
 

Static Private Attributes

static CArray< int, 5 *3 *8 *3 > table
 

Detailed Description

template<int Stage>
class osl::eval::ml::King25EffectEach< Stage >

Definition at line 511 of file kingTable.h.

Member Enumeration Documentation

◆ anonymous enum

template<int Stage>
anonymous enum
Enumerator
DIM 

Definition at line 514 of file kingTable.h.

Member Function Documentation

◆ effectState() [1/2]

template<int Stage>
template<osl::Player Defense>
osl::eval::ml::EffectState osl::eval::ml::King25EffectEach< Stage >::effectState ( const NumEffectState state,
Square  target 
)

◆ effectState() [2/2]

template<int Stage>
template<Player Defense>
static EffectState osl::eval::ml::King25EffectEach< Stage >::effectState ( const NumEffectState state,
Square  target 
)
staticprivate

◆ eval()

template<int Stage>
int osl::eval::ml::King25EffectEach< Stage >::eval ( const NumEffectState state)
static

Definition at line 845 of file kingTable.cc.

Referenced by osl::eval::ml::King25EffectEach< Stage >::effectState().

◆ evalOne()

template<int Stage>
template<osl::Player Defense>
int osl::eval::ml::King25EffectEach< Stage >::evalOne ( const NumEffectState state)
staticprivate

◆ index()

template<int Stage>
template<osl::Player Defense>
int osl::eval::ml::King25EffectEach< Stage >::index ( const NumEffectState state,
Square  king,
Square  target 
)
staticprivate

◆ setUp()

template<int Stage>
void osl::eval::ml::King25EffectEach< Stage >::setUp ( const Weights weigths)
static

Member Data Documentation

◆ table

template<int Stage>
osl::CArray< int, 5 *3 *8 *3 > osl::eval::ml::King25EffectEach< Stage >::table
staticprivate

Definition at line 516 of file kingTable.h.


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