#include <king8.h>
Public Types | |
enum | { ONE_DIM = 5, DIM = ONE_DIM * EvalStages } |
Static Public Member Functions | |
static void | setUp (const Weights &weights) |
static MultiIntPair | eval (const NumEffectState &state) |
Static Private Member Functions | |
static int | index (const Square king) |
template<Player P> | |
static int | indexY (const Square king) |
template<int Sign> | |
static void | adjust (int index, int index_y, MultiInt &out) |
Static Private Attributes | |
static CArray< MultiInt, ONE_DIM > | table |
Friends | |
class | KingXBlockedYBase |
Definition at line 256 of file eval/ml/king8.h.
anonymous enum |
Definition at line 260 of file eval/ml/king8.h.
void osl::eval::ml::KingXBothBlocked::adjust | ( | int | index, |
int | index_y, | ||
MultiInt & | out | ||
) | [inline, static, private] |
Definition at line 625 of file eval/ml/king8.cc.
References table, and osl::eval::ml::KingXBothBlockedY::table.
Referenced by osl::eval::ml::KingXBlockedYBase::evalWithUpdateBang().
MultiIntPair osl::eval::ml::KingXBothBlocked::eval | ( | const NumEffectState & | state | ) | [static] |
Definition at line 634 of file eval/ml/king8.cc.
References adjust(), osl::BLACK, result, and osl::WHITE.
Referenced by osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval().
static int osl::eval::ml::KingXBothBlocked::index | ( | const Square | king | ) | [inline, static, private] |
Definition at line 265 of file eval/ml/king8.h.
References osl::Square::x().
Referenced by osl::eval::ml::KingXBlockedYBase::evalWithUpdateBang().
static int osl::eval::ml::KingXBothBlocked::indexY | ( | const Square | king | ) | [inline, static, private] |
Definition at line 271 of file eval/ml/king8.h.
References osl::BLACK, osl::Square::x(), and osl::Square::y().
void osl::eval::ml::KingXBothBlocked::setUp | ( | const Weights & | weights | ) | [static] |
Definition at line 603 of file eval/ml/king8.cc.
References osl::NStages, and osl::eval::ml::Weights::value().
friend class KingXBlockedYBase [friend] |
Definition at line 258 of file eval/ml/king8.h.
osl::misc::CArray< MultiInt, osl::eval::ml::KingXBothBlocked::ONE_DIM > osl::eval::ml::KingXBothBlocked::table [static, private] |
Definition at line 264 of file eval/ml/king8.h.
Referenced by adjust().