#include <pattern.h>
Public メソッド | |
PatternBlock (Ptype s, Ptype a, LongTarget t) | |
bool | match (const NumEffectState &state, Move move, const RatingEnv &env) const |
Static Public メソッド | |
static const PieceSquare | find (const NumEffectState &state, Move move, Ptype attacker_ptype) |
Private 変数 | |
Ptype | self |
Ptype | attack |
LongTarget | target |
osl::rating::PatternBlock::PatternBlock | ( | Ptype | s, | |
Ptype | a, | |||
LongTarget | t | |||
) |
pattern.cc の 98 行で定義されています。
const osl::rating::PieceSquare osl::rating::PatternBlock::find | ( | const NumEffectState & | state, | |
Move | move, | |||
Ptype | attacker_ptype | |||
) | [static] |
pattern.cc の 105 行で定義されています。
参照先 osl::alt(), attack, osl::BISHOP, osl::Board_Table, osl::Piece::EDGE(), osl::NumEffectState::findAttackAt(), osl::BoardTable::getShortOffset(), osl::Piece::isPiece(), osl::LANCE, osl::rating::PatternLong::nextPieceOrEnd(), osl::Piece::ptype(), osl::ROOK, osl::Piece::square(), osl::Square::STAND(), osl::Move::to(), と osl::SimpleState::turn().
bool osl::rating::PatternBlock::match | ( | const NumEffectState & | state, | |
Move | move, | |||
const RatingEnv & | env | |||
) | const [inline, virtual] |
Ptype osl::rating::PatternBlock::attack [private] |
Ptype osl::rating::PatternBlock::self [private] |
LongTarget osl::rating::PatternBlock::target [private] |