#include <feature.h>


| Public Member Functions | |
| Block (int s, int o) | |
| bool | match (const NumEffectState &state, Move move, const RatingEnv &) const | 
| bool | effectiveInCheck () const | 
|  Public Member Functions inherited from osl::rating::Feature | |
| Feature (const std::string &name) | |
| virtual | ~Feature () | 
| const std::string & | name () const | 
| Static Public Member Functions | |
| static const std::string | name (int self, int opponent) | 
| static int | count (const NumEffectState &state, Square position, Player player) | 
| Private Attributes | |
| int | self | 
| int | opponent | 
Definition at line 88 of file rating/feature.h.
| 
 | inline | 
Definition at line 93 of file rating/feature.h.
| 
 | inlinestatic | 
Definition at line 94 of file rating/feature.h.
References osl::BISHOP, osl::LANCE, and osl::ROOK.
Referenced by osl::rating::BlockGroup::findMatch(), and match().
| 
 | inlinevirtual | 
Reimplemented from osl::rating::Feature.
Definition at line 105 of file rating/feature.h.
| 
 | inlinevirtual | 
Implements osl::rating::Feature.
Definition at line 100 of file rating/feature.h.
References osl::alt(), count(), opponent, and osl::Move::to().
| 
 | static | 
Definition at line 33 of file rating/feature.cc.
| 
 | private | 
Definition at line 90 of file rating/feature.h.
Referenced by match().
| 
 | private | 
Definition at line 90 of file rating/feature.h.
 1.8.4
 1.8.4