My Project
|
#include <feature.h>
Public Types | |
enum | { DIM = 9*PTYPE_SIZE*16 } |
Public Member Functions | |
SquareY () | |
double | match (const StateInfo &state, const MoveInfo &info, int offset, const double *w) const |
![]() | |
Feature (std::string n, size_t d) | |
virtual | ~Feature () |
std::string | name () const |
size_t | dimension () const |
Static Public Member Functions | |
static int | fromTo (Square to, Square from) |
![]() | |
static int | classifyEffect9 (const NumEffectState &state, Player player, Square to) |
Definition at line 186 of file move_probability/feature.h.
anonymous enum |
Enumerator | |
---|---|
DIM |
Definition at line 190 of file move_probability/feature.h.
|
inline |
Definition at line 193 of file move_probability/feature.h.
Definition at line 196 of file move_probability/feature.h.
References osl::Square::y().
Referenced by match(), osl::move_probability::KingRelativeY::match(), and osl::move_probability::KingRelativeX::match().
|
inlinevirtual |
Implements osl::move_probability::Feature.
Definition at line 200 of file move_probability/feature.h.
References osl::move_probability::Feature::dimension(), osl::Move::from(), fromTo(), osl::Move::isDrop(), osl::Move::isPromotion(), osl::move_probability::MoveInfo::move, osl::move_probability::MoveInfo::player, osl::move_probability::StateInfo::progress8(), osl::Move::ptype(), osl::PTYPE_SIZE, osl::Square::squareForBlack(), osl::Move::to(), and osl::Square::y().