osl::move_probability::King5x5Ptype Class Reference

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

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::King5x5Ptype Class Reference

`#include <feature.h>`

Inheritance diagram for osl::move_probability::King5x5Ptype:
[legend]
Collaboration diagram for osl::move_probability::King5x5Ptype:
[legend]

## Public Types
enum | { ONE_DIM = 25 * 4 * PTYPE_SIZE * PTYPE_SIZE, DIM = 2 * ONE_DIM }

## Public Member Functions
| King5x5Ptype ()
double | match (const StateInfo &si, const MoveInfo &mi, 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 double | addOne (Player king, Square center, const StateInfo &si, const MoveInfo &mi, int offset, const double *w)
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 1429 of file move_probability/feature.h.

## Member Enumeration Documentation

anonymous enum

Enumerator
ONE_DIM |
DIM |

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

## Constructor & Destructor Documentation

osl::move_probability::King5x5Ptype::King5x5Ptype | ( | ) |  |
| inline

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

## Member Function Documentation

static double osl::move_probability::King5x5Ptype::addOne | ( | Player | king,
|  | Square | center,
|  | const StateInfo & | si,
|  | const MoveInfo & | mi,
|  | int | offset,
|  | const double * | w
| ) |  |
| inlinestatic

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

References osl::alt(), osl::BLACK, osl::Move::capturePtype(), osl::Move::isDrop(), osl::move_probability::MoveInfo::move, osl::move_probability::MoveInfo::player, osl::Move::ptype(), osl::PTYPE_SIZE, osl::move_probability::StateInfo::state, osl::Move::to(), osl::WHITE, osl::Square::x(), and osl::Square::y().

double osl::move_probability::King5x5Ptype::match | ( | const StateInfo & | si,
|  | const MoveInfo & | mi,
|  | int | offset,
|  | const double * | w
| ) |  | const
| inlinevirtual

Implements osl::move_probability::Feature.

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

References osl::alt(), osl::move_probability::MoveInfo::player, and osl::move_probability::StateInfo::state.

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

- move_probability/feature.h