関数 | |
| template<Player P, class Action > | |
| void | generate (const NumEffectState &state, Square target, Action &action, PieceMask pieces) |
| void osl::move_generator::capture::generate | ( | const NumEffectState & | state, | |
| Square | target, | |||
| Action & | action, | |||
| PieceMask | pieces | |||
| ) |
capture_.tcc の 19 行で定義されています。
参照先 osl::PieceMask::any(), osl::SimpleState::pieceAt(), osl::SimpleState::pieceOf(), osl::NumEffectState::pinnedCanMoveTo(), osl::NumEffectState::pinOrOpen(), と osl::PieceMask::test().
参照元 osl::checkmate::CheckmateIfCapture::cannotCapture(), osl::NumEffectState::generateAllUnsafe(), osl::NumEffectState::generateLegal(), osl::rating::FeatureSet::generateRating(), と osl::move_generator::promote::EachOnBoard< Action, P, T, noCapture >::operator()().
1.7.1