#include <minorPiece.h>
Public 型 | |
enum | { ONE_DIM = 5*2, DIM = ONE_DIM * EvalStages } |
Static Public メソッド | |
static void | setUp (const Weights &weights) |
static MultiIntPair | eval (const NumEffectState &state, CArray< std::pair< Position, int >, 2 > &silver_drop) |
Static Public 変数 | |
static CArray< MultiInt, ONE_DIM > | table |
Static Private メソッド | |
static std::pair< int, int > | matchRook (const NumEffectState &state, Piece rook, const CArray< bool, 2 > &has_silver, Position &silver_drop) |
static std::pair< int, int > | matchGold (const NumEffectState &state, Piece gold, const CArray< bool, 2 > &has_silver, Position &silver_drop) |
minorPiece.h の 1629 行で定義されています。
anonymous enum |
minorPiece.h の 1638 行で定義されています。
osl::MultiIntPair osl::eval::ml::SilverFork::eval | ( | const NumEffectState & | state, | |
CArray< std::pair< Position, int >, 2 > & | silver_drop | |||
) | [static] |
std::pair< int, int > osl::eval::ml::SilverFork::matchGold | ( | const NumEffectState & | state, | |
Piece | gold, | |||
const CArray< bool, 2 > & | has_silver, | |||
Position & | silver_drop | |||
) | [inline, static, private] |
minorPiece.cc の 2332 行で定義されています。
参照先 osl::alt(), osl::BLACK, osl::Board_Table, osl::Piece::canMoveOn(), osl::Position::canPromote(), osl::D, osl::BoardTable::getOffset(), osl::GOLD, osl::Piece::isEdge(), osl::Piece::isOnBoardByOwner(), osl::Position::isPieceStand(), osl::L, osl::Piece::owner(), osl::playerToMul(), osl::Piece::position(), osl::Piece::ptype(), osl::R, と osl::ROOK.
参照元 eval().
std::pair< int, int > osl::eval::ml::SilverFork::matchRook | ( | const NumEffectState & | state, | |
Piece | rook, | |||
const CArray< bool, 2 > & | has_silver, | |||
Position & | silver_drop | |||
) | [inline, static, private] |
minorPiece.cc の 2302 行で定義されています。
参照先 osl::alt(), osl::Board_Table, osl::Position::canPromote(), osl::BoardTable::getOffset(), osl::GOLD, osl::Piece::isOnBoardByOwner(), osl::Position::isPieceStand(), osl::Piece::isPromoted(), osl::Piece::owner(), osl::playerToMul(), osl::Piece::position(), osl::Piece::ptype(), osl::ROOK, osl::UL, と osl::UR.
参照元 eval().
void osl::eval::ml::SilverFork::setUp | ( | const Weights & | weights | ) | [static] |
minorPiece.cc の 2431 行で定義されています。
参照先 osl::NStages, ONE_DIM, table, と osl::eval::ml::Weights::value().
osl::CArray< osl::MultiInt, 5 *2 > osl::eval::ml::SilverFork::table [static] |
minorPiece.h の 1642 行で定義されています。