My Project
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:
osl::move_probability::Feature

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 40 of file move_probability/feature.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
CHECK_CLASS 
RELATIVE_Y_CLASS 

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

Constructor & Destructor Documentation

◆ CheckFeature()

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

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

Member Function Documentation

◆ checkIndex()

static int osl::move_probability::CheckFeature::checkIndex ( const MoveInfo move)
inlinestatic

◆ match()

double osl::move_probability::CheckFeature::match ( const StateInfo state,
const MoveInfo move,
int  offset,
const double *  w 
) const
inlinevirtual

◆ sign()

static int osl::move_probability::CheckFeature::sign ( const NumEffectState state,
Move  move,
Player  player 
)
inlinestatic

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