#include <kingTable.h>
Public Types | |
enum | { DIM = 17 * 128 * 9 } |
Static Public Member Functions | |
static void | setUp (const Weights &weights) |
static int | eval (const NumEffectState &state, int black_effect, int black_piece, int white_effect, int white_piece) |
Static Public Attributes | |
static CArray< int, 17 *128 *9 > | table |
Static Private Member Functions | |
static int | index (int king_y, int effect, int piece_count) |
Definition at line 233 of file kingTable.h.
anonymous enum |
Definition at line 241 of file kingTable.h.
static int osl::eval::ml::King25EffectYAttack::eval | ( | const NumEffectState & | state, |
int | black_effect, | ||
int | black_piece, | ||
int | white_effect, | ||
int | white_piece | ||
) | [inline, static] |
Definition at line 250 of file kingTable.h.
References osl::BLACK, osl::eval::ml::KingPieceRelative::index(), and osl::WHITE.
Referenced by osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval(), and osl::eval::ml::OpenMidEndingEval::updateSub().
static int osl::eval::ml::King25EffectYAttack::index | ( | int | king_y, |
int | effect, | ||
int | piece_count | ||
) | [inline, static, private] |
Definition at line 236 of file kingTable.h.
static void osl::eval::ml::King25EffectYAttack::setUp | ( | const Weights & | weights | ) | [inline, static] |
Definition at line 243 of file kingTable.h.
References osl::eval::ml::Weights::dimension(), and osl::eval::ml::Weights::value().
osl::misc::CArray< int, 17 *128 *9 > osl::eval::ml::King25EffectYAttack::table [static] |
Definition at line 242 of file kingTable.h.