#include <majorPiece.h>

Public Types | |
| enum | { ONE_DIM = 800, DIM = ONE_DIM * EvalStages } |
Static Public Member Functions | |
| static void | setUp (const Weights &weights) |
| static MultiInt | eval (const NumEffectState &state) |
Static Private Member Functions | |
| template<bool SamePlayer, Player P> | |
| static int | index (Piece rook1, Piece rook2) |
| static int | index (bool same_player, bool promoted1, bool promoted2, int y1, int y2) |
Static Private Attributes | |
| static CArray< MultiInt, 800 > | table |
Definition at line 550 of file majorPiece.h.
| anonymous enum |
Definition at line 553 of file majorPiece.h.
| osl::MultiInt osl::eval::ml::RookRook::eval | ( | const NumEffectState & | state | ) | [static] |
Definition at line 1063 of file majorPiece.cc.
References osl::BLACK, osl::PtypeTraits< ROOK >::indexMin, osl::Piece::owner(), and result.
Referenced by osl::eval::ml::OpenMidEndingEval::debugInfo(), osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval(), and osl::eval::ml::OpenMidEndingEval::updateSub().
| static int osl::eval::ml::RookRook::index | ( | Piece | rook1, |
| Piece | rook2 | ||
| ) | [inline, static, private] |
Definition at line 558 of file majorPiece.h.
References osl::BLACK, osl::Piece::isOnBoard(), osl::Piece::isPromoted(), osl::Piece::square(), and osl::Square::y().
| static int osl::eval::ml::RookRook::index | ( | bool | same_player, |
| bool | promoted1, | ||
| bool | promoted2, | ||
| int | y1, | ||
| int | y2 | ||
| ) | [inline, static, private] |
Definition at line 597 of file majorPiece.h.
| void osl::eval::ml::RookRook::setUp | ( | const Weights & | weights | ) | [static] |
Definition at line 1003 of file majorPiece.cc.
References osl::NStages, and osl::eval::ml::Weights::value().
osl::misc::CArray< MultiInt, 800 > osl::eval::ml::RookRook::table [static, private] |
Definition at line 605 of file majorPiece.h.
1.7.6.1