All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Static Public Member Functions | List of all members
osl::move_probability::CheckFeature Class Reference

#include <feature.h>

Inheritance diagram for osl::move_probability::CheckFeature:
Inheritance graph
[legend]
Collaboration diagram for osl::move_probability::CheckFeature:
Collaboration graph
[legend]

Public Types

enum  { CHECK_CLASS = 4, RELATIVE_Y_CLASS = 3 }
 

Public Member Functions

 CheckFeature ()
 
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 checkIndex (const MoveInfo &move)
 
static int sign (const NumEffectState &state, Move move, Player player)
 
- Static Public Member Functions inherited from osl::move_probability::Feature
static int classifyEffect9 (const NumEffectState &state, Player player, Square to)
 

Detailed Description

Definition at line 42 of file move_probability/feature.h.

Member Enumeration Documentation

anonymous enum
Enumerator
CHECK_CLASS 
RELATIVE_Y_CLASS 

Definition at line 45 of file move_probability/feature.h.

Constructor & Destructor Documentation

osl::move_probability::CheckFeature::CheckFeature ( )
inline

Definition at line 46 of file move_probability/feature.h.

Member Function Documentation

static int osl::move_probability::CheckFeature::checkIndex ( const MoveInfo move)
inlinestatic
double osl::move_probability::CheckFeature::match ( const StateInfo state,
const MoveInfo move,
int  offset,
const double *  w 
) const
inlinevirtual
static int osl::move_probability::CheckFeature::sign ( const NumEffectState &  state,
Move  move,
Player  player 
)
inlinestatic

Definition at line 56 of file move_probability/feature.h.

References osl::alt(), osl::playerToMul(), osl::Move::to(), and osl::Square::y().

Referenced by match().


The documentation for this class was generated from the following file: