#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 1532 of file move_probability/feature.h.
anonymous enum |
Enumerator | |
---|---|
DIM |
Definition at line 1535 of file move_probability/feature.h.
|
inline |
Definition at line 1538 of file move_probability/feature.h.
|
inlinestatic |
Definition at line 1541 of file move_probability/feature.h.
References osl::alt(), osl::Board_Table, osl::NumEffectState::countEffect(), osl::NumEffectState::findCheapAttack(), osl::BoardTable::getShortOffsetNotKnight(), osl::NumEffectState::hasEffectIf(), osl::BoardTable::isBetween(), osl::Move::isDrop(), osl::Move::ptypeO(), osl::Piece::square(), osl::Move::to(), osl::SimpleState::turn(), and osl::Offset::zero().
|
inlinevirtual |
Implements osl::move_probability::Feature.
Definition at line 1554 of file move_probability/feature.h.
References osl::alt(), osl::PieceMask::any(), osl::PieceMask::clearBit(), osl::NumEffectState::effectedMask(), osl::move_probability::MoveInfo::move, osl::PAWN, osl::SimpleState::pieceOf(), osl::NumEffectState::piecesOnBoard(), osl::move_probability::MoveInfo::player, osl::Piece::ptype(), osl::Move::ptype(), osl::PTYPE_SIZE, osl::Piece::square(), osl::move_probability::StateInfo::state, and osl::container::PieceMask64::takeOneBit().