18 enum {
INF = 999999 };
32 int see = this->
see(state, move, env);
Ptype capturePtype() const
bool isNormal() const
INVALID でも PASS でもない.
const Square from() const
bool hasLastMove(size_t last=1) const
const Move lastMove(size_t last=1) const
bool match(const NumEffectState &state, Move move, const RatingEnv &env) const
static int see(const NumEffectState &state, Move move, const RatingEnv &env)
bool match(const NumEffectState &, Move move, const RatingEnv &env) const
bool match(const NumEffectState &, Move move, const RatingEnv &env) const
const std::string & name() const
bool match(const NumEffectState &state, Move move, const RatingEnv &) const
bool match(const NumEffectState &state, Move move, const RatingEnv &) const
Ptype unpromote(Ptype ptype)
ptypeがpromote後の型の時に,promote前の型を返す. promoteしていない型の時はそのまま返す
static int count2(const NumEffectState &, Square target, Player attack)
target に attack の影利きを二つまで数える.
static int see(const NumEffectState &state, Move move, const PieceMask &my_pin=PieceMask(), const PieceMask &op_pin=PieceMask(), const PtypeEvalTable *table=0)