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