ネームスペース osl::move_generator::without_effect


構成

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)


関数

template<class State, Player P, Ptype T, class Action, bool isLong, bool isAttackToKing>
void osl::move_generator::without_effect::generateDrop ( State const &  state,
Position  target,
NearMask  nearMask,
Action &  action 
) [inline]

ζػ

addEffect_.tcc287 行で定義されています。

参照先 osl::Board_Table, osl::Piece::isEdge(), osl::isLong(), と osl::PAWN.

template<class State, Player P, Ptype T, class Action, bool canPromote, bool isAttackToKing>
void osl::move_generator::without_effect::generateLongMove ( State const &  state,
Position  from,
Position  target,
NearMask  nearMask,
Action &  action 
) [inline]

template<class State, Player P, Ptype T, class Action>
void osl::move_generator::without_effect::generateLongMoveDirectCanPromote ( State const &  state,
Position  from,
Position  target,
NearMask  nearMask,
Action &  action 
) [inline]

template<class State, Player P, Ptype T, class Action>
void osl::move_generator::without_effect::generateLongMoveDirectNoPromote ( State const &  state,
Position  from,
Position  target,
NearMask  nearMask,
Action &  action 
) [inline]

template<class State, Player P, Ptype T, class Action, bool isPromote>
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_.tcc25 行で定義されています。

参照先 osl::move_generator::Add_Effect_Table, osl::Board_Table, osl::Position::canPromote(), osl::move_generator::AddEffectTable::getNearMask(), と osl::move_generator::AddEffectTable::getNearMaskWithPromote().

template<class State, bool isAttackToKing>
bool osl::move_generator::without_effect::isEmptyOrAdditional ( State const &  state,
Position  from,
Position  to,
int &  count 
) [inline]

addEffect_.tcc86 行で定義されています。

参照先 osl::Board_Table, osl::BoardTable::getShortOffset(), と osl::Offset::zero().


Thu Oct 8 05:01:17 2009に生成されました。  doxygen 1.5.6