#include <pattern.h>


| Public Member Functions | |
| PatternLong (Direction d, Ptype s, LongTarget t) | |
| bool | match (const NumEffectState &state, Move move, const RatingEnv &env) const | 
|  Public Member Functions inherited from osl::rating::Feature | |
| Feature (const std::string &name) | |
| virtual | ~Feature () | 
| virtual bool | effectiveInCheck () const | 
| const std::string & | name () const | 
| Static Public Member Functions | |
| static const PieceSquare | nextPieceOrEnd (const SimpleState &state, Square start, Player player, Direction direction) | 
| direction方向に空白を進み、駒を探す  More... | |
| static const PieceSquare | nextPieceOrEnd (const SimpleState &state, Square start, Offset) | 
| static const PieceSquare | find (const NumEffectState &state, Move move, Direction direction) | 
| Static Private Member Functions | |
| static const std::string | name (Direction d, Ptype self) | 
| Private Attributes | |
| Direction | direction | 
| Ptype | self | 
| LongTarget | target | 
| osl::rating::PatternLong::PatternLong | ( | Direction | d, | 
| Ptype | s, | ||
| LongTarget | t | ||
| ) | 
Definition at line 33 of file pattern.cc.
References osl::BISHOP, osl::LANCE, osl::ROOK, and osl::unpromote().
| 
 | static | 
Definition at line 66 of file pattern.cc.
References osl::Move::from(), osl::Move::player(), and osl::Move::to().
Referenced by osl::rating::PatternLongGroup::findMatch(), and match().
| 
 | inlinevirtual | 
Implements osl::rating::Feature.
Definition at line 140 of file pattern.h.
References direction, find(), osl::rating::LongTarget::match(), osl::Move::ptype(), and target.
Definition at line 74 of file pattern.cc.
References osl::PtypeTable::getCsaName(), and osl::Ptype_Table.
| 
 | static | 
direction方向に空白を進み、駒を探す
Definition at line 59 of file pattern.cc.
References osl::Board_Table, and osl::BoardTable::getOffset().
Referenced by osl::rating::PatternBlock::find().
| 
 | static | 
Definition at line 40 of file pattern.cc.
References osl::Piece::EMPTY(), osl::Piece::isEdge(), osl::Square::isOnBoard(), and osl::Offset::zero().
| 
 | private | 
| 
 | private | 
 1.8.4
 1.8.4