#include <minorPiece.h>
Static Public メソッド | |
static int | index (Player P, Square pos) |
static bool | cantAdvance (const NumEffectState &state, const Piece pawn) |
static bool | cantAdvance (const NumEffectState &state, const PtypeO ptypeO, const Square position) |
minorPiece.h の 499 行で定義されています。
static bool osl::eval::ml::PawnAdvanceUtil::cantAdvance | ( | const NumEffectState & | state, | |
const Piece | pawn | |||
) | [inline, static] |
minorPiece.h の 505 行で定義されています。
参照先 osl::Piece::ptypeO(), と osl::Piece::square().
参照元 osl::eval::ml::PawnAdvance::eval(), と osl::eval::ml::PawnAdvanceAll::evalWithUpdateBang().
static bool osl::eval::ml::PawnAdvanceUtil::cantAdvance | ( | const NumEffectState & | state, | |
const PtypeO | ptypeO, | |||
const Square | position | |||
) | [inline, static] |
minorPiece.h の 509 行で定義されています。
参照先 osl::Board_Table, osl::getOwner(), osl::getPtype(), osl::BoardTable::nextSquare(), osl::PAWN, osl::SimpleState::pieceAt(), と osl::U.
minorPiece.h の 501 行で定義されています。
参照先 osl::BLACK, と osl::Square::y().
参照元 osl::eval::ml::PawnAdvance::eval(), と osl::eval::ml::PawnAdvanceAll::evalWithUpdateBang().