osl::eval::ml::LanceMobilityAll Struct 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 | List of all members
osl::eval::ml::LanceMobilityAll Struct Reference

`#include <mobility.h>`

## Public Member Functions
template<int Sign>
void | adjust (int mobility, MultiInt &value)

## Static Public Member Functions
template<int Sign>
static void | adjust (int index, MultiInt &value)
static void | eval (const NumEffectState &, MultiInt &out)

## Detailed Description

Definition at line 134 of file mobility.h.

## Member Function Documentation

template<int Sign>

static void osl::eval::ml::LanceMobilityAll::adjust | ( | int | index,
|  | MultiInt & | value
| ) |  |
| static

template<int Sign>

void osl::eval::ml::LanceMobilityAll::adjust | ( | int | mobility,
|  | MultiInt & | value
| ) |  |
| inline

Definition at line 271 of file mobility.cc.

void osl::eval::ml::LanceMobilityAll::eval | ( | const NumEffectState & | state,
|  | MultiInt & | out
| ) |  |
| static

Definition at line 280 of file mobility.cc.

References adjust(), osl::Piece::isOnBoardNotPromoted(), out, osl::Piece::pieceIsBlack(), and osl::Piece::square().

Referenced by osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval(), and osl::eval::ml::OpenMidEndingEval::updateSub().

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

- mobility.h
- mobility.cc