#include <feature.h>
Public Member Functions | |
Open (int p) | |
bool | match (const NumEffectState &state, Move move, const RatingEnv &) const |
bool | effectiveInCheck () const |
Static Public Member Functions | |
static int | index (const NumEffectState &state, Move move) |
static const std::string | name (int property) |
Private Attributes | |
int | property |
Definition at line 122 of file rating/feature.h.
osl::rating::Open::Open | ( | int | p | ) | [inline] |
Definition at line 126 of file rating/feature.h.
bool osl::rating::Open::effectiveInCheck | ( | ) | const [inline, virtual] |
Reimplemented from osl::rating::Feature.
Definition at line 139 of file rating/feature.h.
static int osl::rating::Open::index | ( | const NumEffectState & | state, |
Move | move | ||
) | [inline, static] |
Definition at line 127 of file rating/feature.h.
References osl::alt(), osl::Move::from(), osl::rating::CountOpen::index(), osl::Move::isDrop(), and osl::Move::player().
Referenced by osl::rating::OpenGroup::findMatch(), and match().
bool osl::rating::Open::match | ( | const NumEffectState & | state, |
Move | move, | ||
const RatingEnv & | |||
) | const [inline, virtual] |
Implements osl::rating::Feature.
Definition at line 134 of file rating/feature.h.
const std::string osl::rating::Open::name | ( | int | property | ) | [static] |
Definition at line 40 of file rating/feature.cc.
int osl::rating::Open::property [private] |
Definition at line 124 of file rating/feature.h.
Referenced by match().