#include <king8.h>
Public Types | |
enum | { DIM = 90 } |
typedef CArray< MultiInt, 90 > | table_t |
Public Member Functions | |
template<int Sign> | |
void | adjust (int index, int index_y, MultiInt &out) |
template<osl::Player P> | |
int | index (Square king, int diff) |
Static Public Member Functions | |
static const MultiIntPair | eval (const NumEffectState &state, const table_t &table) |
static void | evalWithUpdateBang (const NumEffectState &state, Move laste_move, MultiIntPair &last_values_and_out) |
template<osl::Player P> | |
static int | index (Square king, int diff) |
Static Private Member Functions | |
template<int Sign> | |
static void | adjust (int index, int index_y, MultiInt &out) |
Definition at line 217 of file eval/ml/king8.h.
typedef CArray<MultiInt, 90> osl::eval::ml::KingXBlockedYBase::table_t |
Definition at line 221 of file eval/ml/king8.h.
anonymous enum |
Enumerator | |
---|---|
DIM |
Definition at line 220 of file eval/ml/king8.h.
|
staticprivate |
|
inline |
Definition at line 813 of file eval/ml/king8.cc.
References osl::eval::ml::KingXBlocked::table, and osl::eval::ml::KingXBlockedY::table.
|
static |
Definition at line 743 of file eval/ml/king8.cc.
References osl::BLACK, osl::state::SimpleState::kingSquare(), osl::playerToIndex(), and osl::WHITE.
Referenced by osl::eval::ml::KingXBlockedY::eval().
|
inlinestatic |
Definition at line 824 of file eval/ml/king8.cc.
References adjust(), osl::eval::ml::KingXBothBlocked::adjust(), osl::BLACK, osl::container::Board_Mask_Table3x3, osl::Move::from(), osl::eval::ml::KingXBothBlocked::index(), osl::container::BoardMaskTable3x3::mask(), osl::Move::to(), and osl::WHITE.
Referenced by osl::eval::ml::KingXBlockedBoth::evalWithUpdateBang().
|
static |
|
inline |
Definition at line 879 of file eval/ml/king8.cc.
References osl::BLACK, osl::Square::x(), and osl::Square::y().