自玉の 8近傍への手 More...
#include <toAroundKing8Filter.h>
Public Member Functions | |
BOOST_CLASS_REQUIRE (OrigAction, osl::move_action, Concept) | |
ToAroundKing8Filter (const NumEffectState &s, OrigAction &action) | |
bool | isToAroundKing8Move (Square to) |
void | simpleMove (Square from, Square to, Ptype ptype, bool isPromote, Player p, Move m) |
コマをとらないMove | |
void | unknownMove (Square from, Square to, Piece p1, Ptype ptype, bool isPromote, Player p, Move m) |
コマを取るかもしれない Move | |
void | dropMove (Square to, Ptype ptype, Player p, Move m) |
dropMoveが自殺手になることはない | |
void | simpleMove (Square from, Square to, Ptype ptype, bool isPromote, Player p) |
void | unknownMove (Square from, Square to, Piece captured, Ptype ptype, bool isPromote, Player p) |
void | dropMove (Square to, Ptype ptype, Player p) |
Public Attributes | |
const NumEffectState & | state |
OrigAction & | action |
Square | position_king |
自玉の 8近傍への手
Definition at line 23 of file toAroundKing8Filter.h.
osl::move_action::ToAroundKing8Filter< P, OrigAction >::ToAroundKing8Filter | ( | const NumEffectState & | s, |
OrigAction & | action | ||
) | [inline] |
Definition at line 31 of file toAroundKing8Filter.h.
osl::move_action::ToAroundKing8Filter< P, OrigAction >::BOOST_CLASS_REQUIRE | ( | OrigAction | , |
osl::move_action | , | ||
Concept | |||
) |
void osl::move_action::ToAroundKing8Filter< P, OrigAction >::dropMove | ( | Square | to, |
Ptype | ptype, | ||
Player | p, | ||
Move | m | ||
) | [inline] |
dropMoveが自殺手になることはない
Reimplemented from osl::move_action::MoveAction.
Definition at line 64 of file toAroundKing8Filter.h.
References osl::move_action::ToAroundKing8Filter< P, OrigAction >::action, and osl::move_action::ToAroundKing8Filter< P, OrigAction >::isToAroundKing8Move().
Referenced by osl::move_action::ToAroundKing8Filter< P, OrigAction >::dropMove().
void osl::move_action::ToAroundKing8Filter< P, OrigAction >::dropMove | ( | Square | to, |
Ptype | ptype, | ||
Player | p | ||
) | [inline] |
Definition at line 82 of file toAroundKing8Filter.h.
References osl::move_action::ToAroundKing8Filter< P, OrigAction >::dropMove().
bool osl::move_action::ToAroundKing8Filter< P, OrigAction >::isToAroundKing8Move | ( | Square | to | ) | [inline] |
Definition at line 38 of file toAroundKing8Filter.h.
References osl::Board_Table, osl::D, osl::DL, osl::DR, osl::BoardTable::getOffsetForBlack(), osl::L, osl::move_action::ToAroundKing8Filter< P, OrigAction >::position_king, osl::R, osl::U, osl::UL, and osl::UR.
Referenced by osl::move_action::ToAroundKing8Filter< P, OrigAction >::dropMove(), osl::move_action::ToAroundKing8Filter< P, OrigAction >::simpleMove(), and osl::move_action::ToAroundKing8Filter< P, OrigAction >::unknownMove().
void osl::move_action::ToAroundKing8Filter< P, OrigAction >::simpleMove | ( | Square | from, |
Square | to, | ||
Ptype | ptype, | ||
bool | isPromote, | ||
Player | p, | ||
Move | move | ||
) | [inline] |
コマをとらないMove
Reimplemented from osl::move_action::MoveAction.
Definition at line 50 of file toAroundKing8Filter.h.
References osl::move_action::ToAroundKing8Filter< P, OrigAction >::action, and osl::move_action::ToAroundKing8Filter< P, OrigAction >::isToAroundKing8Move().
Referenced by osl::move_action::ToAroundKing8Filter< P, OrigAction >::simpleMove().
void osl::move_action::ToAroundKing8Filter< P, OrigAction >::simpleMove | ( | Square | from, |
Square | to, | ||
Ptype | ptype, | ||
bool | isPromote, | ||
Player | p | ||
) | [inline] |
Definition at line 70 of file toAroundKing8Filter.h.
References osl::PTYPE_EMPTY, and osl::move_action::ToAroundKing8Filter< P, OrigAction >::simpleMove().
void osl::move_action::ToAroundKing8Filter< P, OrigAction >::unknownMove | ( | Square | from, |
Square | to, | ||
Piece | captured, | ||
Ptype | ptype, | ||
bool | isPromote, | ||
Player | p, | ||
Move | move | ||
) | [inline] |
コマを取るかもしれない Move
Reimplemented from osl::move_action::MoveAction.
Definition at line 56 of file toAroundKing8Filter.h.
References osl::move_action::ToAroundKing8Filter< P, OrigAction >::action, and osl::move_action::ToAroundKing8Filter< P, OrigAction >::isToAroundKing8Move().
Referenced by osl::move_action::ToAroundKing8Filter< P, OrigAction >::unknownMove().
void osl::move_action::ToAroundKing8Filter< P, OrigAction >::unknownMove | ( | Square | from, |
Square | to, | ||
Piece | captured, | ||
Ptype | ptype, | ||
bool | isPromote, | ||
Player | p | ||
) | [inline] |
Definition at line 76 of file toAroundKing8Filter.h.
References osl::Piece::ptype(), and osl::move_action::ToAroundKing8Filter< P, OrigAction >::unknownMove().
OrigAction& osl::move_action::ToAroundKing8Filter< P, OrigAction >::action |
Square osl::move_action::ToAroundKing8Filter< P, OrigAction >::position_king |
Definition at line 28 of file toAroundKing8Filter.h.
Referenced by osl::move_action::ToAroundKing8Filter< P, OrigAction >::isToAroundKing8Move().
const NumEffectState& osl::move_action::ToAroundKing8Filter< P, OrigAction >::state |
Definition at line 26 of file toAroundKing8Filter.h.