#include <feature.h>
Public Types | |
enum | { DIM = PTYPE_SIZE * PTYPE_SIZE * PTYPE_SIZE } |
Public Member Functions | |
CoverFork () | |
double | match (const StateInfo &si, const MoveInfo &mi, 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 bool | defending (const NumEffectState &state, Move move, Square target) |
![]() | |
static int | classifyEffect9 (const NumEffectState &state, Player player, Square to) |
Definition at line 1534 of file move_probability/feature.h.
anonymous enum |
Enumerator | |
---|---|
DIM |
Definition at line 1537 of file move_probability/feature.h.
|
inline |
Definition at line 1540 of file move_probability/feature.h.
|
inlinestatic |
Definition at line 1543 of file move_probability/feature.h.
References osl::alt(), osl::Board_Table, osl::BoardTable::getShortOffsetNotKnight(), osl::BoardTable::isBetween(), osl::Move::isDrop(), osl::Move::ptypeO(), osl::Piece::square(), target, osl::Move::to(), and osl::Offset::zero().
|
inlinevirtual |
Implements osl::move_probability::Feature.
Definition at line 1556 of file move_probability/feature.h.
References osl::alt(), osl::move_probability::MoveInfo::move, osl::PAWN, osl::move_probability::MoveInfo::player, osl::Piece::ptype(), osl::Move::ptype(), osl::PTYPE_SIZE, osl::Piece::square(), and osl::move_probability::StateInfo::state.