#include <kingTable.h>
Public Types | |
enum | { DIM = 17 * 128 * 2 * 9 } |
Static Public Member Functions | |
static void | setUp (const Weights &weights) |
static int | eval (const NumEffectState &state, int black_attack_effect, int black_attack_piece, int white_attack_effect, int white_attack_piece, int black_defense_effect, int black_defense_piece, int white_defense_effect, int white_defense_piece) |
Static Private Member Functions | |
static int | index (int king_y, int effect, int piece_count) |
Static Private Attributes | |
static CArray< int, DIM/2 > | attack_table |
static CArray< int, DIM/2 > | defense_table |
Definition at line 290 of file kingTable.h.
anonymous enum |
Definition at line 293 of file kingTable.h.
static int osl::eval::ml::King25EffectY::eval | ( | const NumEffectState & | state, |
int | black_attack_effect, | ||
int | black_attack_piece, | ||
int | white_attack_effect, | ||
int | white_attack_piece, | ||
int | black_defense_effect, | ||
int | black_defense_piece, | ||
int | white_defense_effect, | ||
int | white_defense_piece | ||
) | [inline, static] |
Definition at line 303 of file kingTable.h.
References osl::eval::ml::KingPieceRelative::attack_table, osl::BLACK, osl::eval::ml::KingPieceRelative::defense_table, osl::eval::ml::KingPieceRelative::index(), and osl::WHITE.
Referenced by osl::eval::ml::OpenMidEndingEval::debugInfo().
static int osl::eval::ml::King25EffectY::index | ( | int | king_y, |
int | effect, | ||
int | piece_count | ||
) | [inline, static, private] |
Definition at line 295 of file kingTable.h.
void osl::eval::ml::King25EffectY::setUp | ( | const Weights & | weights | ) | [static] |
Definition at line 609 of file kingTable.cc.
References osl::eval::ml::Weights::value().
osl::misc::CArray< int, osl::eval::ml::King25EffectY::DIM/2 > osl::eval::ml::King25EffectY::attack_table [static, private] |
Definition at line 299 of file kingTable.h.
osl::misc::CArray< int, osl::eval::ml::King25EffectY::DIM/2 > osl::eval::ml::King25EffectY::defense_table [static, private] |
Definition at line 300 of file kingTable.h.