#include <minorPiece.h>
Public 型 | |
enum | { DIM = 9 } |
Public メソッド | |
template<osl::Player P> | |
bool | cantAdvance (const osl::state::NumEffectState &state, const osl::Piece knight) |
Static Public メソッド | |
static void | setUp (const Weights &weights, int stage) |
static MultiInt | eval (const NumEffectState &state) |
Static Private メソッド | |
static int | index (Player P, Position pos) |
template<Player P> | |
static bool | cantAdvance (const NumEffectState &state, const Piece knight) |
Static Private 変数 | |
static CArray< MultiInt, 9 > | table |
minorPiece.h の 702 行で定義されています。
anonymous enum |
minorPiece.h の 705 行で定義されています。
bool osl::eval::ml::KnightAdvance::cantAdvance | ( | const osl::state::NumEffectState & | state, | |
const osl::Piece | knight | |||
) | [inline] |
static bool osl::eval::ml::KnightAdvance::cantAdvance | ( | const NumEffectState & | state, | |
const Piece | knight | |||
) | [inline, static, private] |
MultiInt osl::eval::ml::KnightAdvance::eval | ( | const NumEffectState & | state | ) | [static] |
minorPiece.cc の 482 行で定義されています。
参照先 osl::BLACK, index(), osl::PtypeTraits< KNIGHT >::indexMin, osl::Piece::isOnBoard(), osl::Piece::isPromoted(), osl::Piece::owner(), osl::Piece::position(), result, table, と osl::WHITE.
参照元 osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval(), と osl::eval::ml::OpenMidEndingEval::updateSub().
void osl::eval::ml::KnightAdvance::setUp | ( | const Weights & | weights, | |
int | stage | |||
) | [static] |
minorPiece.cc の 475 行で定義されています。
参照先 osl::eval::ml::Weights::dimension(), table, と osl::eval::ml::Weights::value().
osl::misc::CArray< MultiInt, 9 > osl::eval::ml::KnightAdvance::table [static, private] |
minorPiece.h の 707 行で定義されています。