#include <minorPiece.h>

Public Types | |
| enum | { ONE_DIM = 1440, DIM = ONE_DIM * EvalStages } |
Static Public Member Functions | |
| static MultiInt | eval (const NumEffectState &state, const CArray2d< int, 2, 9 > &pawns) |
| template<Player P> | |
| static void | evalWithUpdateBang (const NumEffectState &state, Move moved, const CArray2d< int, 2, 9 > &pawns, MultiInt &last_value) |
| static void | setUp (const Weights &weights) |
Static Private Member Functions | |
| static int | index (Player player, Ptype ptype, int y, int pawn_y) |
Static Private Attributes | |
| static CArray< MultiInt, 1440 > | table |
Definition at line 1541 of file minorPiece.h.
| anonymous enum |
Definition at line 1544 of file minorPiece.h.
| osl::MultiInt osl::eval::ml::PtypeYPawnY::eval | ( | const NumEffectState & | state, |
| const CArray2d< int, 2, 9 > & | pawns | ||
| ) | [static] |
Definition at line 2046 of file minorPiece.cc.
References osl::BLACK, osl::Piece::isOnBoard(), osl::Piece::owner(), osl::PAWN, osl::Piece::ptype(), result, osl::Piece::SIZE, osl::Piece::square(), osl::Square::x(), and osl::Square::y().
Referenced by osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval().
| template void osl::eval::ml::PtypeYPawnY::evalWithUpdateBang< WHITE > | ( | const NumEffectState & | state, |
| Move | moved, | ||
| const CArray2d< int, 2, 9 > & | pawns, | ||
| MultiInt & | last_value | ||
| ) | [static] |
Definition at line 2076 of file minorPiece.cc.
References osl::alt(), osl::BLACK, osl::captured(), osl::Move::capturePtype(), osl::Move::from(), osl::Move::isDrop(), osl::Piece::isEmpty(), osl::Move::oldPtype(), osl::Piece::owner(), osl::PAWN, osl::Move::player(), osl::PPAWN, osl::Piece::ptype(), osl::Move::ptype(), osl::PTYPE_EMPTY, osl::Move::to(), osl::Square::x(), and osl::Square::y().
| static int osl::eval::ml::PtypeYPawnY::index | ( | Player | player, |
| Ptype | ptype, | ||
| int | y, | ||
| int | pawn_y | ||
| ) | [inline, static, private] |
Definition at line 1554 of file minorPiece.h.
References osl::WHITE.
| void osl::eval::ml::PtypeYPawnY::setUp | ( | const Weights & | weights | ) | [static] |
Definition at line 2034 of file minorPiece.cc.
References osl::NStages, and osl::eval::ml::Weights::value().
osl::misc::CArray< MultiInt, 1440 > osl::eval::ml::PtypeYPawnY::table [static, private] |
Definition at line 1563 of file minorPiece.h.
1.7.6.1