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

#include <king8.h>

Public Types

enum  { ONE_DIM = 32 , DIM = 32 * 5 * 2 }
 
enum  EffectState {
  NOT_EMPTY = -1 , NO_EFFECT = 0 , LESS_EFFECT , MORE_EFFECT ,
  MORE_EFFECT_KING_ONLY
}
 

Public Member Functions

 King8EffectAll ()
 

Static Public Member Functions

static void setUp (const Weights &weights)
 
static int eval (const NumEffectState &state, PieceMask black_mask, PieceMask white_mask)
 
static void effectState (const NumEffectState &state, const Player defense, const Direction dir, EffectState &empty, EffectState &)
 
static int index (const Direction dir, EffectState state)
 

Static Private Attributes

static CArray< int, ONE_DIMbase_table
 
static CArray< int, ONE_DIMu_table
 
static CArray< int, ONE_DIMd_table
 
static CArray< int, ONE_DIMl_table
 
static CArray< int, ONE_DIMr_table
 
static CArray< int, ONE_DIMbase_defense_piece_table
 
static CArray< int, ONE_DIMu_defense_piece_table
 
static CArray< int, ONE_DIMd_defense_piece_table
 
static CArray< int, ONE_DIMl_defense_piece_table
 
static CArray< int, ONE_DIMr_defense_piece_table
 

Detailed Description

Definition at line 144 of file core/osl/eval/king8.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ONE_DIM 
DIM 

Definition at line 147 of file core/osl/eval/king8.h.

◆ EffectState

Enumerator
NOT_EMPTY 
NO_EFFECT 
LESS_EFFECT 
MORE_EFFECT 
MORE_EFFECT_KING_ONLY 

Definition at line 160 of file core/osl/eval/king8.h.

Constructor & Destructor Documentation

◆ King8EffectAll()

osl::eval::ml::King8EffectAll::King8EffectAll ( )
inline

Definition at line 169 of file core/osl/eval/king8.h.

Member Function Documentation

◆ effectState()

void osl::eval::ml::King8EffectAll::effectState ( const NumEffectState state,
const Player  defense,
const Direction  dir,
EffectState empty,
EffectState defense_effect 
)
static

◆ eval()

int osl::eval::ml::King8EffectAll::eval ( const NumEffectState state,
PieceMask  black_mask,
PieceMask  white_mask 
)
static

◆ index()

int osl::eval::ml::King8EffectAll::index ( const Direction  dir,
EffectState  state 
)
static

Definition at line 480 of file king8.cc.

◆ setUp()

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

Member Data Documentation

◆ base_defense_piece_table

osl::CArray< int, osl::eval::ml::King8EffectAll::ONE_DIM > osl::eval::ml::King8EffectAll::base_defense_piece_table
staticprivate

Definition at line 154 of file core/osl/eval/king8.h.

◆ base_table

osl::CArray< int, osl::eval::ml::King8EffectAll::ONE_DIM > osl::eval::ml::King8EffectAll::base_table
staticprivate

Definition at line 149 of file core/osl/eval/king8.h.

◆ d_defense_piece_table

osl::CArray< int, osl::eval::ml::King8EffectAll::ONE_DIM > osl::eval::ml::King8EffectAll::d_defense_piece_table
staticprivate

Definition at line 156 of file core/osl/eval/king8.h.

◆ d_table

osl::CArray< int, osl::eval::ml::King8EffectAll::ONE_DIM > osl::eval::ml::King8EffectAll::d_table
staticprivate

Definition at line 151 of file core/osl/eval/king8.h.

◆ l_defense_piece_table

osl::CArray< int, osl::eval::ml::King8EffectAll::ONE_DIM > osl::eval::ml::King8EffectAll::l_defense_piece_table
staticprivate

Definition at line 157 of file core/osl/eval/king8.h.

◆ l_table

osl::CArray< int, osl::eval::ml::King8EffectAll::ONE_DIM > osl::eval::ml::King8EffectAll::l_table
staticprivate

Definition at line 152 of file core/osl/eval/king8.h.

◆ r_defense_piece_table

osl::CArray< int, osl::eval::ml::King8EffectAll::ONE_DIM > osl::eval::ml::King8EffectAll::r_defense_piece_table
staticprivate

Definition at line 158 of file core/osl/eval/king8.h.

◆ r_table

osl::CArray< int, osl::eval::ml::King8EffectAll::ONE_DIM > osl::eval::ml::King8EffectAll::r_table
staticprivate

Definition at line 153 of file core/osl/eval/king8.h.

◆ u_defense_piece_table

osl::CArray< int, osl::eval::ml::King8EffectAll::ONE_DIM > osl::eval::ml::King8EffectAll::u_defense_piece_table
staticprivate

Definition at line 155 of file core/osl/eval/king8.h.

◆ u_table

osl::CArray< int, osl::eval::ml::King8EffectAll::ONE_DIM > osl::eval::ml::King8EffectAll::u_table
staticprivate

Definition at line 150 of file core/osl/eval/king8.h.


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