構成 | |
class | GoldKingAction |
promoteԲǽûˤ Functor [詳細] | |
class | ShortPieceAction |
promoteǽûˤ Functor [詳細] | |
class | LongPieceAction |
Ĺˤ Functor [詳細] | |
関数 | |
template<class State, Player P, Ptype T, class Action, bool isPromote> | |
void | generateMove (State const &state, Position from, Position target, NearMask nearMask, Action &action) |
template<class State, Player P, Ptype T, class Action> | |
void | generateLongMoveDirectNoPromote (State const &state, Position from, Position target, NearMask nearMask, Action &action) |
template<class State, Player P, Ptype T, class Action> | |
void | generateLongMoveDirectCanPromote (State const &state, Position from, Position target, NearMask nearMask, Action &action) |
template<class State, bool isAttackToKing> | |
bool | isEmptyOrAdditional (State const &state, Position from, Position to, int &count) |
template<class State, Player P, Ptype T, class Action, bool canPromote, bool isAttackToKing> | |
void | generateLongMove (State const &state, Position from, Position target, NearMask nearMask, Action &action) |
template<class State, Player P, Ptype T, class Action, bool isLong, bool isAttackToKing> | |
void | generateDrop (State const &state, Position target, NearMask nearMask, Action &action) |
void osl::move_generator::without_effect::generateDrop | ( | State const & | state, | |
Position | target, | |||
NearMask | nearMask, | |||
Action & | action | |||
) | [inline] |
ζػ
addEffect_.tcc の 287 行で定義されています。
参照先 osl::Board_Table, osl::Piece::isEdge(), osl::isLong(), と osl::PAWN.
void osl::move_generator::without_effect::generateLongMove | ( | State const & | state, | |
Position | from, | |||
Position | target, | |||
NearMask | nearMask, | |||
Action & | action | |||
) | [inline] |
longofset
ƱlineǤǽϤ
open attack
capture attack
LANCEξľʳäƤϥ
ƱlineǤʤ 8˵˰ưƤβ
1position
ϰϳΤȤ⤢
2position
3position
addEffect_.tcc の 104 行で定義されています。
参照先 osl::move_generator::Add_Effect_Table, osl::BISHOP, osl::BLACK, osl::Offset::blackOffset(), osl::Board_Table, osl::Piece::canMoveOn(), osl::Position::canPromote(), osl::canPromote(), osl::PtypeTable::getEffect(), osl::BoardTable::getLongDirection(), osl::move_generator::AddEffectTable::getNearMaskLong(), osl::move_generator::AddEffectTable::getNearMaskPBISHOP(), osl::move_generator::AddEffectTable::getNearMaskPROOK(), osl::move_generator::AddEffectTable::getOffsetLong(), osl::move_generator::AddEffectTable::getOffsetPBISHOP(), osl::move_generator::AddEffectTable::getOffsetPROOK(), osl::BoardTable::getShortOffset(), osl::EffectContent::hasEffect(), osl::EffectContent::hasUnblockableEffect(), osl::isBasic(), osl::Piece::isEdge(), osl::Piece::isEmpty(), osl::LANCE, osl::longToShort(), osl::newPtypeO(), osl::EffectContent::offset(), osl::PBISHOP, osl::PROOK, osl::Ptype_Table, osl::ROOK, osl::unpromote(), と osl::Offset::zero().
void osl::move_generator::without_effect::generateLongMoveDirectCanPromote | ( | State const & | state, | |
Position | from, | |||
Position | target, | |||
NearMask | nearMask, | |||
Action & | action | |||
) | [inline] |
void osl::move_generator::without_effect::generateLongMoveDirectNoPromote | ( | State const & | state, | |
Position | from, | |||
Position | target, | |||
NearMask | nearMask, | |||
Action & | action | |||
) | [inline] |
֤٤ƶ
addEffect_.tcc の 44 行で定義されています。
参照先 osl::move_generator::Add_Effect_Table, osl::Board_Table, と osl::move_generator::AddEffectTable::getNearMask().
void osl::move_generator::without_effect::generateMove | ( | State const & | state, | |
Position | from, | |||
Position | target, | |||
NearMask | nearMask, | |||
Action & | action | |||
) | [inline] |
P(template) | - ¦Υץ쥤䡼 | |
T(template) | - ¦ζμ | |
state | - | |
from | - ⤷褦Ȥΰ | |
target | - ⤷褦Ȥޥ Ǥ˹⤷褦Ȥޥϲ⤷ʤ? ʤ顤ʬưƤȤΰ֤ĤʤɤϹͤʤ |
addEffect_.tcc の 25 行で定義されています。
参照先 osl::move_generator::Add_Effect_Table, osl::Board_Table, osl::Position::canPromote(), osl::move_generator::AddEffectTable::getNearMask(), と osl::move_generator::AddEffectTable::getNearMaskWithPromote().
bool osl::move_generator::without_effect::isEmptyOrAdditional | ( | State const & | state, | |
Position | from, | |||
Position | to, | |||
int & | count | |||
) | [inline] |
addEffect_.tcc の 86 行で定義されています。
参照先 osl::Board_Table, osl::BoardTable::getShortOffset(), と osl::Offset::zero().