#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 PiecePosition | 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::PiecePosition 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::BoardTable::getShortOffset(), osl::Piece::isPiece(), osl::LANCE, osl::rating::PatternLong::nextPieceOrEnd(), osl::Piece::position(), osl::Piece::ptype(), osl::ROOK, osl::Position::STAND(), と osl::Move::to().
参照元 match().
| 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] |
1.6.3