#include <pattern.h>


| Public Member Functions | |
| LongTarget (Ptype t, bool p, bool s, int attack, int defense) | |
| bool | match (const NumEffectState &state, Move move, PieceSquare p, const RatingEnv &env) const | 
| bool | matchOtherThanPromotable (const NumEffectState &state, Move move, PieceSquare p, const RatingEnv &env) const | 
| const std::string | name () const | 
| Static Public Member Functions | |
| static bool | isPromotable (Move move, Square position) | 
| Public Attributes | |
| Ptype | target | 
| bool | promotable | 
| bool | same | 
| osl::rating::LongTarget::LongTarget | ( | Ptype | t, | 
| bool | p, | ||
| bool | s, | ||
| int | attack, | ||
| int | defense | ||
| ) |  [inline] | 
| static bool osl::rating::LongTarget::isPromotable | ( | Move | move, | 
| Square | position | ||
| ) |  [inline, static] | 
Definition at line 69 of file pattern.h.
References osl::Square::canPromote(), osl::Move::isDrop(), osl::Square::isOnBoard(), osl::Move::player(), and osl::Move::to().
Referenced by osl::rating::PatternLongGroup::findMatch(), and match().
| bool osl::rating::LongTarget::match | ( | const NumEffectState & | state, | 
| Move | move, | ||
| PieceSquare | p, | ||
| const RatingEnv & | env | ||
| ) | const  [inline] | 
Definition at line 74 of file pattern.h.
References isPromotable(), osl::rating::CountEffect2::match(), osl::Move::player(), promotable, osl::PTYPE_EDGE, same, and target.
Referenced by osl::rating::PatternLong::match().
| bool osl::rating::LongTarget::matchOtherThanPromotable | ( | const NumEffectState & | state, | 
| Move | move, | ||
| PieceSquare | p, | ||
| const RatingEnv & | env | ||
| ) | const  [inline] | 
Definition at line 88 of file pattern.h.
References osl::rating::CountEffect2::match(), osl::Move::player(), osl::PTYPE_EDGE, same, and target.
Referenced by osl::rating::PatternBlock::match().
| const std::string osl::rating::LongTarget::name | ( | ) | const | 
Definition at line 17 of file pattern.cc.
References osl::PtypeTable::getCsaName(), osl::rating::CountEffect2::name(), osl::Ptype_Table, and target.
Definition at line 64 of file pattern.h.
Referenced by match(), and osl::rating::PatternBlock::match().
Definition at line 64 of file pattern.h.
Referenced by match(), and matchOtherThanPromotable().
Definition at line 63 of file pattern.h.
Referenced by match(), and matchOtherThanPromotable().
 1.7.6.1
 1.7.6.1