osl::move_probability::ToEffectLong 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 Member Functions | List of all members
osl::move_probability::ToEffectLong Class Reference

`#include <feature.h>`

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

## Public Member Functions
| ToEffectLong ()
double | match (const StateInfo &state_info, const MoveInfo &info, 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

## Additional Inherited Members
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 441 of file move_probability/feature.h.

## Constructor & Destructor Documentation

osl::move_probability::ToEffectLong::ToEffectLong | ( | ) |  |
| inline

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

## Member Function Documentation

double osl::move_probability::ToEffectLong::match | ( | const StateInfo & | state_info,
|  | const MoveInfo & | info,
|  | int | offset,
|  | const double * | w
| ) |  | const
| inlinevirtual

Implements osl::move_probability::Feature.

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

References osl::alt(), osl::BISHOP, osl::move_probability::Feature::dimension(), osl::Move::from(), osl::Move::isDrop(), osl::LANCE, osl::move_probability::MoveInfo::move, osl::Move::oldPtype(), osl::move_probability::MoveInfo::player, osl::ROOK, osl::move_probability::StateInfo::state, and osl::Move::to().

Referenced by osl::move_probability::LureDefender::match().

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

- move_probability/feature.h