#include <king8.h>
Public Types | |
enum | { ONE_DIM = 80, DIM = ONE_DIM * EvalStages } |
Static Public Member Functions | |
static MultiInt | eval (const NumEffectState &state) |
static void | setUp (const Weights &weights) |
Static Private Member Functions | |
template<int Sign> | |
static void | adjust (int index_y, MultiInt &result) |
template<Player P> | |
static int | index (const Square king, bool is_l, bool u_blocked, bool opp_u_blocked, bool opp_blocked) |
template<Player P> | |
static int | indexY (const Square king, bool is_l, bool u_blocked, bool opp_u_blocked, bool opp_blocked) |
Static Private Attributes | |
static CArray< MultiInt, 80 > | table |
static CArray< MultiInt, 720 > | y_table |
Friends | |
class | KingXBlocked3Y |
Definition at line 290 of file core/osl/eval/king8.h.
anonymous enum |
Enumerator | |
---|---|
ONE_DIM | |
DIM |
Definition at line 294 of file core/osl/eval/king8.h.
|
inlinestaticprivate |
Definition at line 299 of file core/osl/eval/king8.h.
References osl::eval::ml::ppair::y_table.
|
static |
Definition at line 965 of file king8.cc.
References osl::BLACK, osl::NumEffectState::Iking8Info(), osl::SimpleState::kingSquare(), osl::eval::ml::AnagumaEmpty::setUp(), osl::eval::ml::AnagumaEmpty::table, and osl::WHITE.
Referenced by osl::eval::ml::OpenMidEndingEval::debugInfo(), osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval(), osl::eval::ml::KingXBlocked3Y::setUp(), and osl::eval::ml::OpenMidEndingEval::updateSub().
|
inlinestaticprivate |
Definition at line 307 of file core/osl/eval/king8.h.
References osl::BLACK, osl::WHITE, and osl::Square::x().
|
inlinestaticprivate |
Definition at line 326 of file core/osl/eval/king8.h.
References osl::BLACK, osl::WHITE, osl::Square::x(), and osl::Square::y().
|
static |
Definition at line 936 of file king8.cc.
References osl::NStages, and osl::eval::ml::Weights::value().
|
friend |
Definition at line 292 of file core/osl/eval/king8.h.
|
staticprivate |
Definition at line 346 of file core/osl/eval/king8.h.
Referenced by osl::eval::ml::KingXBlockedY::setUp(), and osl::eval::ml::KingXBlocked3Y::setUp().
|
staticprivate |
Definition at line 347 of file core/osl/eval/king8.h.
Referenced by osl::eval::ml::KingXBlockedY::setUp(), and osl::eval::ml::KingXBlocked3Y::setUp().