osl::eval::ml::SimplePin 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 | Static Public Member Functions | Static Private Attributes | List of all members
osl::eval::ml::SimplePin Class Reference

`#include <pin.h>`

Collaboration diagram for osl::eval::ml::SimplePin:
[legend]

## Public Member Functions
| SimplePin ()
int | eval (const NumEffectState &state, PieceMask black_mask, PieceMask white_mask) const

## Static Public Member Functions
static void | setUp (const Weights &weights)

## Static Private Attributes
static CArray< int, PTYPE_SIZE > | table

## Detailed Description

Definition at line 19 of file eval/ml/pin.h.

## Constructor & Destructor Documentation

osl::eval::ml::SimplePin::SimplePin | ( | ) |  |
| inline

Definition at line 23 of file eval/ml/pin.h.

## Member Function Documentation

int osl::eval::ml::SimplePin::eval | ( | const NumEffectState & | state,
|  | PieceMask | black_mask,
|  | PieceMask | white_mask
| ) |  | const

Definition at line 21 of file eval/ml/pin.cc.

References osl::Piece::ptype().

void osl::eval::ml::SimplePin::setUp | ( | const Weights & | weights) |  |
| static

Definition at line 11 of file eval/ml/pin.cc.

References osl::eval::ml::Weights::dimension(), and osl::eval::ml::Weights::value().

## Member Data Documentation

osl::misc::CArray< int, osl::PTYPE_SIZE > osl::eval::ml::SimplePin::table
| staticprivate

Definition at line 21 of file eval/ml/pin.h.

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

- eval/ml/pin.h
- eval/ml/pin.cc