#include <king8.h>
Public Types | |
enum | { DIM = 10 } |
typedef CArray< MultiInt, 10 > | table_t |
Static Public Member Functions | |
static const MultiIntPair | eval (const NumEffectState &state, const table_t &table) |
template<osl::Player P> | |
static int | index (Square king, int diff) |
template<osl::Player P> | |
static bool | isBlocked (const NumEffectState &state, int diff) |
Definition at line 182 of file eval/ml/king8.h.
typedef CArray<MultiInt, 10> osl::eval::ml::KingXBlockedBase::table_t |
Definition at line 185 of file eval/ml/king8.h.
anonymous enum |
Definition at line 184 of file eval/ml/king8.h.
const MultiIntPair osl::eval::ml::KingXBlockedBase::eval | ( | const NumEffectState & | state, |
const table_t & | table | ||
) | [static] |
Definition at line 724 of file eval/ml/king8.cc.
References osl::BLACK, osl::state::SimpleState::kingSquare(), osl::playerToIndex(), and osl::WHITE.
int osl::eval::ml::KingXBlockedBase::index | ( | Square | king, |
int | diff | ||
) | [static] |
Definition at line 669 of file eval/ml/king8.cc.
References osl::BLACK, and osl::Square::x().
bool osl::eval::ml::KingXBlockedBase::isBlocked | ( | const NumEffectState & | state, |
int | diff | ||
) | [static] |
Definition at line 692 of file eval/ml/king8.cc.
References osl::BLACK, target, osl::WHITE, osl::Square::x(), and osl::Square::y().