#include <feature.h>


Public Types | |
| enum | { SeeClass = 23, YClass = 3, ProgressClass = 8 } |
Public Member Functions | |
| SeeFeature () | |
| double | match (const StateInfo &state, const MoveInfo &move, int offset, const double *w) const |
Public Member Functions inherited from osl::move_probability::Feature | |
| Feature (std::string n, size_t d) | |
| virtual | ~Feature () |
| std::string | name () const |
| size_t | dimension () const |
Static Public Member Functions | |
| static int | seeIndex (int see) |
Static Public Member Functions inherited from osl::move_probability::Feature | |
| static int | classifyEffect9 (const NumEffectState &state, Player player, Square to) |
Definition at line 97 of file move_probability/feature.h.
| anonymous enum |
| Enumerator | |
|---|---|
| SeeClass | |
| YClass | |
| ProgressClass | |
Definition at line 100 of file move_probability/feature.h.
|
inline |
Definition at line 101 of file move_probability/feature.h.
|
inlinevirtual |
Implements osl::move_probability::Feature.
Definition at line 118 of file move_probability/feature.h.
References osl::alt(), osl::Square::canPromote(), osl::move_probability::MoveInfo::move, osl::move_probability::MoveInfo::player, osl::move_probability::StateInfo::progress8(), osl::move_probability::MoveInfo::see, SeeClass, seeIndex(), osl::Move::to(), and YClass.
|
inlinestatic |
Definition at line 104 of file move_probability/feature.h.
References osl::eval::max(), and osl::eval::min().
Referenced by match().
1.8.4