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

`#include <majorPiece.h>`

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

## Public Types
enum | { ONE_DIM = 128, DIM = ONE_DIM * EvalStages }

## Static Public Member Functions
static void | setUp (const Weights &weights)
static MultiInt | eval (const NumEffectState &state)

## Static Private Member Functions
static int | index (Ptype ptype, bool self_with_support, bool opp_with_support, bool vertical)

## Static Private Attributes
static CArray< MultiInt, 128 > | table

## Detailed Description

Definition at line 608 of file majorPiece.h.

## Member Enumeration Documentation

anonymous enum

Enumerator
ONE_DIM |
DIM |

Definition at line 611 of file majorPiece.h.

## Member Function Documentation

osl::MultiInt osl::eval::ml::RookRookPiece::eval | ( | const NumEffectState & | state) |  |
| static

Definition at line 1105 of file majorPiece.cc.

References osl::BLACK, osl::D, osl::inverse(), osl::Square::isOnBoard(), osl::Piece::isOnBoard(), osl::L, osl::Piece::number(), osl::Piece::owner(), osl::Piece::ptype(), osl::R, result, osl::ROOK, osl::Piece::square(), osl::U, osl::WHITE, osl::Square::x(), and osl::Square::y().

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

static int osl::eval::ml::RookRookPiece::index | ( | Ptype | ptype,
|  | bool | self_with_support,
|  | bool | opp_with_support,
|  | bool | vertical
| ) |  |
| inlinestaticprivate

Definition at line 615 of file majorPiece.h.

References osl::PTYPE_SIZE.

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

Definition at line 1095 of file majorPiece.cc.

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

## Member Data Documentation

osl::misc::CArray< MultiInt, 128 > osl::eval::ml::RookRookPiece::table
| staticprivate

Definition at line 622 of file majorPiece.h.

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

- majorPiece.h
- majorPiece.cc