bool hasEffectAt(Square target) const
対象とするマスにあるプレイヤーの利きがあるかどうか.
bool match(const NumEffectState &state, Move move, const RatingEnv &) const
bool match(const NumEffectState &state, Move move, const RatingEnv &) const
static bool isCandidate(const NumEffectState &state, Move move)
static bool knight2Step(const NumEffectState &state, Move move, Square king)
static bool captureForKnightCheck(const NumEffectState &state, Move move, Square king)
constexpr Player alt(Player player)
static bool effectiveAttackCandidate0(const NumEffectState &state, Move move)
depth==0でeffectiveAttackになる可能性がなければfalse
static bool effectiveAttack(NumEffectState &state, Move move, int depth)
move を指した後,alt(move.player())が取ると詰みかどうか.