My Project
|
#include <square.h>
Public Member Functions | |
RelativeKingY (int iy, int ioy, bool a, Ptype p) | |
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 const std::string | name (int y, int old_y, bool, Ptype ptype) |
static int | makeY (bool attack, const NumEffectState &state, Move move) |
static int | makeOldY (bool attack, const NumEffectState &state, Move move) |
static int | index (bool attack, const NumEffectState &state, Move move) |
Private Attributes | |
int | y |
int | old_y |
Ptype | ptype |
bool | attack |
|
inline |
|
inlinestatic |
Definition at line 115 of file square.h.
References attack, makeOldY(), makeY(), old_y, osl::Move::ptype(), ptype, osl::PTYPE_MAX, osl::PTYPE_PIECE_MIN, and y.
Referenced by osl::rating::RelativeKingYGroup::findMatch().
|
inlinestatic |
Definition at line 99 of file square.h.
References osl::alt(), attack, osl::Move::from(), osl::Move::isDrop(), osl::SimpleState::kingSquare(), osl::Move::player(), osl::WHITE, and osl::Square::y().
|
inlinestatic |
Definition at line 90 of file square.h.
References osl::alt(), attack, osl::SimpleState::kingSquare(), osl::Move::player(), osl::Move::to(), osl::WHITE, and osl::Square::y().
|
inlinevirtual |
Implements osl::rating::Feature.
Definition at line 109 of file square.h.
References attack, makeOldY(), makeY(), old_y, osl::Move::ptype(), ptype, and y.
|
static |
Definition at line 20 of file square.cc.
References osl::PtypeTable::getCsaName(), and osl::Ptype_Table.
|
private |
|
private |
|
private |
|
private |