#include <king8.h>
Public 型 | |
enum | { DIM = 32 + 32 + 288 + 288 } |
Static Public メソッド | |
static void | setUp (const Weights &weights) |
static int | eval (const NumEffectState &state) |
Private 型 | |
enum | EffectState { NOT_EMPTY = -1, NO_EFFECT = 0, LESS_EFFECT, MORE_EFFECT, MORE_EFFECT_KING_ONLY } |
Static Private メソッド | |
static int | index (const Direction dir, EffectState state) |
static int | indexY (Piece king, const Direction dir, EffectState state) |
static void | effectState (const NumEffectState &state, const Player defense, const Direction dir, EffectState &empty, EffectState &) |
Static Private 変数 | |
static CArray< int, 32 > | empty_table |
static CArray< int, 32 > | defense_table |
static CArray< int, 288 > | empty_y_table |
static CArray< int, 288 > | defense_y_table |
core/osl/eval/king8.h の 18 行で定義されています。
anonymous enum |
core/osl/eval/king8.h の 21 行で定義されています。
enum osl::eval::ml::King8Effect::EffectState [private] |
core/osl/eval/king8.h の 25 行で定義されています。
void osl::eval::ml::King8Effect::effectState | ( | const NumEffectState & | state, | |
const Player | defense, | |||
const Direction | dir, | |||
EffectState & | empty, | |||
EffectState & | defense | |||
) | [static, private] |
int osl::eval::ml::King8Effect::eval | ( | const NumEffectState & | state | ) | [static] |
int osl::eval::ml::King8Effect::index | ( | const Direction | dir, | |
EffectState | state | |||
) | [static, private] |
int osl::eval::ml::King8Effect::indexY | ( | Piece | king, | |
const Direction | dir, | |||
EffectState | state | |||
) | [static, private] |
参照先 osl::Piece::owner(), osl::Piece::square(), と osl::Square::y().
参照元 eval().
void osl::eval::ml::King8Effect::setUp | ( | const Weights & | weights | ) | [static] |
osl::CArray< int, 32 > osl::eval::ml::King8Effect::defense_table [static, private] |
core/osl/eval/king8.h の 34 行で定義されています。
osl::CArray< int, 288 > osl::eval::ml::King8Effect::defense_y_table [static, private] |
core/osl/eval/king8.h の 36 行で定義されています。
osl::CArray< int, 32 > osl::eval::ml::King8Effect::empty_table [static, private] |
core/osl/eval/king8.h の 33 行で定義されています。
osl::CArray< int, 288 > osl::eval::ml::King8Effect::empty_y_table [static, private] |
core/osl/eval/king8.h の 35 行で定義されています。