#include <minorPiece.h>
Static Public メソッド | |
static MultiInt | eval (const NumEffectState &state) |
Static Protected メソッド | |
template<Player P> | |
static int | indexRetreat (Square pos) |
static int | indexSideX (Square pos) |
template<Player P> | |
static int | indexSideY (Square pos) |
template<Player P> | |
static bool | canRetreat (const NumEffectState &state, const Piece gold) |
template<Player P> | |
static bool | canMoveToSide (const NumEffectState &state, const Piece gold) |
template<Player P> | |
static MultiInt | evalOne (const NumEffectState &state, const Piece gold, const CArray< Square, 2 > &kings) |
Static Protected 変数 | |
static CArray< MultiInt, 153 > | knight_table |
static CArray< MultiInt, 9 > | retreat_table |
static CArray< MultiInt, 14 > | side_table |
minorPiece.h の 599 行で定義されています。
static bool osl::eval::ml::GoldFeatures::canMoveToSide | ( | const NumEffectState & | state, | |
const Piece | gold | |||
) | [inline, static, protected] |
bool osl::eval::ml::GoldFeatures::canRetreat | ( | const NumEffectState & | state, | |
const Piece | gold | |||
) | [inline, static, protected] |
osl::MultiInt osl::eval::ml::GoldFeatures::eval | ( | const NumEffectState & | state | ) | [static] |
minorPiece.cc の 397 行で定義されています。
参照先 osl::BLACK, osl::PtypeTraits< GOLD >::indexMin, osl::Piece::isOnBoard(), osl::SimpleState::kingSquare(), osl::Piece::owner(), osl::SimpleState::pieceOf(), と osl::WHITE.
参照元 osl::eval::ml::OpenMidEndingEval::debugInfo(), osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval(), と osl::eval::ml::OpenMidEndingEval::updateSub().
static MultiInt osl::eval::ml::GoldFeatures::evalOne | ( | const NumEffectState & | state, | |
const Piece | gold, | |||
const CArray< Square, 2 > & | kings | |||
) | [inline, static, protected] |
minorPiece.h の 640 行で定義されています。
参照先 osl::BLACK, osl::NumEffectState::hasEffectAt(), indexSideX(), osl::Piece::isEmpty(), osl::SimpleState::kingSquare(), knight_table, osl::Square::neighbor(), osl::Piece::owner(), osl::SimpleState::pieceAt(), retreat_table, side_table, osl::Piece::square(), osl::UUL, osl::UUR, osl::Square::x(), と osl::Square::y().
static int osl::eval::ml::GoldFeatures::indexRetreat | ( | Square | pos | ) | [inline, static, protected] |
minorPiece.h の 605 行で定義されています。
参照先 osl::BLACK, と osl::Square::y().
static int osl::eval::ml::GoldFeatures::indexSideX | ( | Square | pos | ) | [inline, static, protected] |
static int osl::eval::ml::GoldFeatures::indexSideY | ( | Square | pos | ) | [inline, static, protected] |
minorPiece.h の 614 行で定義されています。
参照先 osl::BLACK, と osl::Square::y().
osl::CArray< osl::MultiInt, 153 > osl::eval::ml::GoldFeatures::knight_table [static, protected] |
minorPiece.h の 670 行で定義されています。
参照元 evalOne(), と osl::eval::ml::GoldKnightKingRelative::setUp().
osl::CArray< osl::MultiInt, 9 > osl::eval::ml::GoldFeatures::retreat_table [static, protected] |
minorPiece.h の 671 行で定義されています。
osl::CArray< osl::MultiInt, 14 > osl::eval::ml::GoldFeatures::side_table [static, protected] |
minorPiece.h の 672 行で定義されています。