#include <square.h>


Public Member Functions | |
| SquareX (int ix, Ptype ptype, bool drop) | |
| bool | match (const NumEffectState &, Move move, const RatingEnv &) 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 int | makeX (Move move) |
Static Private Member Functions | |
| static const std::string | name (int x) |
Static Private Member Functions inherited from osl::rating::DropPtype | |
| static std::string | name (Ptype ptype, bool drop) |
| static int | index (Move move) |
Private Attributes | |
| int | x |
Private Attributes inherited from osl::rating::DropPtype | |
| Ptype | ptype |
| bool | drop |
Additional Inherited Members | |
Private Types inherited from osl::rating::DropPtype | |
| enum | { UNIT = PTYPE_MAX+1-PTYPE_PIECE_MIN + (PTYPE_MAX+1 - (PTYPE_BASIC_MIN+1)) } |
Private Member Functions inherited from osl::rating::DropPtype | |
| DropPtype (Ptype p, bool d) | |
| bool | match (Move m) const |
Definition at line 124 of file rating/feature/square.h.
|
inline |
Definition at line 129 of file rating/feature/square.h.
|
inlinestatic |
Definition at line 131 of file rating/feature/square.h.
References osl::Move::to(), and osl::Square::x().
Referenced by osl::rating::SquareXGroup::findMatch(), and match().
|
inlinevirtual |
Implements osl::rating::Feature.
Definition at line 138 of file rating/feature/square.h.
References makeX(), osl::rating::DropPtype::match(), and x.
|
staticprivate |
Definition at line 33 of file rating/feature/square.cc.
|
private |
Definition at line 126 of file rating/feature/square.h.
Referenced by match().
1.8.4