#include <feature.h>
Public Types | |
enum | { PatternCacheSize = PatternCommon::PatternCacheSize, DIM = PatternCacheSize*2 } |
Public Member Functions | |
BishopAttack () | |
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 | addSquare (Square target, const StateInfo &info, int offset, const double *w) |
template<Direction D, Ptype Type> | |
static double | addOne (const StateInfo &info, Square to, int offset, const double *w) |
![]() | |
static int | classifyEffect9 (const NumEffectState &state, Player player, Square to) |
Definition at line 922 of file move_probability/feature.h.
anonymous enum |
Enumerator | |
---|---|
PatternCacheSize | |
DIM |
Definition at line 925 of file move_probability/feature.h.
|
inline |
Definition at line 929 of file move_probability/feature.h.
|
inlinestatic |
Definition at line 947 of file move_probability/feature.h.
References osl::move_probability::StateInfo::state, and target.
|
inlinestatic |
Definition at line 932 of file move_probability/feature.h.
References osl::Square::index(), and osl::move_probability::StateInfo::pattern_cache.
|
inlinevirtual |
Implements osl::move_probability::Feature.
Definition at line 987 of file move_probability/feature.h.
References osl::BISHOP, osl::move_probability::MoveInfo::move, osl::Move::ptype(), osl::Move::to(), and osl::unpromote().