#include <minorPiece.h>


Public メソッド | |
| template<osl::Player P> | |
| bool | canRetreat (const osl::state::NumEffectState &state, const osl::Piece gold) |
Static Public メソッド | |
| static MultiInt | eval (const NumEffectState &state) |
Static Protected メソッド | |
| template<Player P> | |
| static int | indexRetreat (Position pos) |
| static int | indexSideX (Position pos) |
| template<Player P> | |
| static int | indexSideY (Position 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< Position, 2 > &kings) |
Static Protected 変数 | |
| static CArray< MultiInt, 153 > | knight_table |
| static CArray< MultiInt, 9 > | retreat_table |
| static CArray< MultiInt, 14 > | side_table |
minorPiece.h の 602 行で定義されています。
| static bool osl::eval::ml::GoldFeatures::canMoveToSide | ( | const NumEffectState & | state, | |
| const Piece | gold | |||
| ) | [inline, static, protected] |
minorPiece.h の 625 行で定義されています。
参照先 osl::alt(), osl::Position::isOnBoard(), osl::Piece::owner(), と osl::Piece::position().
| bool osl::eval::ml::GoldFeatures::canRetreat | ( | const osl::state::NumEffectState & | state, | |
| const osl::Piece | gold | |||
| ) | [inline] |
| static 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 の 396 行で定義されています。
参照先 osl::BLACK, osl::PtypeTraits< GOLD >::indexMin, osl::Piece::isOnBoard(), osl::Piece::owner(), result, と osl::WHITE.
参照元 osl::eval::ml::OpenMidEndingEval::debugInfo(), osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval(), と osl::eval::ml::OpenMidEndingEval::updateSub().
| static int osl::eval::ml::GoldFeatures::indexRetreat | ( | Position | pos | ) | [inline, static, protected] |
minorPiece.h の 608 行で定義されています。
参照先 osl::BLACK, と osl::Position::y().
| static int osl::eval::ml::GoldFeatures::indexSideX | ( | Position | pos | ) | [inline, static, protected] |
| static int osl::eval::ml::GoldFeatures::indexSideY | ( | Position | pos | ) | [inline, static, protected] |
minorPiece.h の 617 行で定義されています。
参照先 osl::BLACK, と osl::Position::y().
osl::misc::CArray< osl::MultiInt, 153 > osl::eval::ml::GoldFeatures::knight_table [static, protected] |
minorPiece.h の 676 行で定義されています。
参照元 evalOne(), と osl::eval::ml::GoldKnightKingRelative::setUp().
osl::misc::CArray< osl::MultiInt, 9 > osl::eval::ml::GoldFeatures::retreat_table [static, protected] |
minorPiece.h の 677 行で定義されています。
osl::misc::CArray< osl::MultiInt, 14 > osl::eval::ml::GoldFeatures::side_table [static, protected] |
minorPiece.h の 678 行で定義されています。
1.6.3