My Project
|
#include <feature.h>
Public Member Functions | |
BadLance (bool h) | |
bool | match (const NumEffectState &state, Move move, const RatingEnv &) const |
![]() | |
Feature (const std::string &name) | |
virtual | ~Feature () |
virtual bool | effectiveInCheck () const |
const std::string & | name () const |
Static Public Member Functions | |
static bool | basicMatch (const NumEffectState &state, Move move, Square front) |
Private Attributes | |
bool | has_effect |
Definition at line 217 of file rating/feature.h.
|
inlineexplicit |
Definition at line 221 of file rating/feature.h.
|
inlinestatic |
Definition at line 224 of file rating/feature.h.
References osl::alt(), osl::SimpleState::hasPieceOnStand(), osl::Move::isDrop(), osl::Piece::isEmpty(), osl::SimpleState::isPawnMaskSet(), osl::LANCE, osl::PAWN, osl::SimpleState::pieceOnBoard(), osl::Move::player(), osl::Move::ptype(), and osl::Square::x().
Referenced by osl::rating::BadLanceGroup::findMatch(), and match().
|
inlinevirtual |
Implements osl::rating::Feature.
Definition at line 232 of file rating/feature.h.
References osl::alt(), basicMatch(), osl::Board_Table, has_effect, osl::NumEffectState::hasEffectAt(), osl::BoardTable::nextSquare(), osl::Move::player(), osl::Move::to(), and osl::U.
|
private |
Definition at line 219 of file rating/feature.h.
Referenced by match().