#include <feature.h>
Public Types | |
enum | { DIM = PTYPE_SIZE*BlockLong::LongAttackSize } |
Public Member Functions | |
AddEffectLong () | |
double | match (const StateInfo &state, const MoveInfo &move, 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 double | addOne (Direction dir, const StateInfo &state, const MoveInfo &move, int offset, const double *w) |
![]() | |
static int | classifyEffect9 (const NumEffectState &state, Player player, Square to) |
Definition at line 835 of file move_probability/feature.h.
anonymous enum |
Enumerator | |
---|---|
DIM |
Definition at line 838 of file move_probability/feature.h.
|
inline |
Definition at line 841 of file move_probability/feature.h.
|
inlinestatic |
Definition at line 844 of file move_probability/feature.h.
References osl::Board_Table, osl::move_probability::BlockLong::findAll(), osl::BoardTable::getOffset(), osl::isLong(), osl::move_probability::MoveInfo::move, osl::move_probability::MoveInfo::player, osl::move_probability::StateInfo::state, and osl::Move::to().
|
inlinevirtual |
Implements osl::move_probability::Feature.
Definition at line 856 of file move_probability/feature.h.
References osl::misc::BitOp::bsf(), osl::PtypeTable::getMoveMask(), osl::move_probability::BlockLong::LongAttackSize, osl::move_probability::MoveInfo::move, osl::Move::ptype(), and osl::Ptype_Table.