#include <minorPiece.h>
Static Public メソッド | |
static MultiInt | eval (const NumEffectState &state) |
Static Protected メソッド | |
template<Player P> | |
static int | indexRetreat (Square pos) |
template<Player P> | |
static bool | canRetreat (const NumEffectState &state, const Piece silver) |
template<Player P> | |
static MultiInt | evalOne (const NumEffectState &state, const Piece silver, const CArray< Square, 2 > &kings) |
Static Protected 変数 | |
static CArray< MultiInt, 153 > | head_table |
static CArray< MultiInt, 9 > | retreat_table |
minorPiece.h の 539 行で定義されています。
bool osl::eval::ml::SilverFeatures::canRetreat | ( | const NumEffectState & | state, | |
const Piece | silver | |||
) | [inline, static, protected] |
osl::MultiInt osl::eval::ml::SilverFeatures::eval | ( | const NumEffectState & | state | ) | [static] |
minorPiece.cc の 312 行で定義されています。
参照先 osl::BLACK, osl::PtypeTraits< SILVER >::indexMin, osl::Piece::isOnBoard(), osl::Piece::isPromoted(), 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::SilverFeatures::evalOne | ( | const NumEffectState & | state, | |
const Piece | silver, | |||
const CArray< Square, 2 > & | kings | |||
) | [inline, static, protected] |
minorPiece.h の 553 行で定義されています。
参照先 osl::alt(), osl::BLACK, osl::NumEffectState::hasEffectByPtypeStrict(), head_table, osl::Piece::isEmpty(), osl::Square::isOnBoard(), osl::SimpleState::isPawnMaskSet(), osl::PAWN, osl::SimpleState::pieceAt(), retreat_table, osl::Piece::square(), osl::Square::x(), と osl::Square::y().
static int osl::eval::ml::SilverFeatures::indexRetreat | ( | Square | pos | ) | [inline, static, protected] |
minorPiece.h の 545 行で定義されています。
参照先 osl::BLACK, と osl::Square::y().
osl::CArray< osl::MultiInt, 153 > osl::eval::ml::SilverFeatures::head_table [static, protected] |
minorPiece.h の 581 行で定義されています。
参照元 evalOne(), と osl::eval::ml::SilverHeadPawnKingRelative::setUp().
osl::CArray< osl::MultiInt, 9 > osl::eval::ml::SilverFeatures::retreat_table [static, protected] |
minorPiece.h の 582 行で定義されています。