#include <pattern.h>
Public メソッド | |
PatternLong2 (Direction d, Ptype s, LongTarget2 t2) | |
bool | match (const NumEffectState &state, Move move, const RatingEnv &) const |
Static Public メソッド | |
static const Piece | find (const NumEffectState &state, Move move, Direction direction) |
Static Private メソッド | |
static const std::string | name (Direction d, Ptype self) |
Private 変数 | |
Direction | direction |
Ptype | self |
LongTarget2 | target2 |
osl::rating::PatternLong2::PatternLong2 | ( | Direction | d, | |
Ptype | s, | |||
LongTarget2 | t2 | |||
) |
pattern.cc の 83 行で定義されています。
参照先 osl::BISHOP, osl::LANCE, osl::ROOK, と osl::unpromote().
static const Piece osl::rating::PatternLong2::find | ( | const NumEffectState & | state, | |
Move | move, | |||
Direction | direction | |||
) | [inline, static] |
bool osl::rating::PatternLong2::match | ( | const NumEffectState & | state, | |
Move | move, | |||
const RatingEnv & | ||||
) | const [inline, virtual] |
osl::rating::Featureを実装しています。
参照先 direction, find(), osl::rating::LongTarget2::match(), osl::Move::ptype(), と target2.
pattern.cc の 90 行で定義されています。
Ptype osl::rating::PatternLong2::self [private] |