#include <minorPiece.h>

Public Types | |
| enum | { DIM = PTYPE_SIZE * 9 } |
Static Public Member Functions | |
| static void | setUp (const Weights &weights, int stage) |
| static MultiInt | eval (const NumEffectState &state) |
| template<Player P> | |
| static MultiInt | evalWithUpdate (const NumEffectState &, Move moved, MultiInt const &last_value) |
Static Private Member Functions | |
| static int | index (const Piece piece) |
| static int | index (const Player player, const Ptype ptype, const Square pos) |
Static Private Attributes | |
| static CArray< MultiInt, 144 > | table |
Definition at line 735 of file minorPiece.h.
| anonymous enum |
Definition at line 738 of file minorPiece.h.
| MultiInt osl::eval::ml::PtypeY::eval | ( | const NumEffectState & | state | ) | [static] |
Definition at line 525 of file minorPiece.cc.
References osl::BLACK, osl::Piece::isOnBoard(), osl::Piece::owner(), osl::Piece::ptype(), result, osl::Piece::SIZE, osl::Piece::square(), and osl::WHITE.
Referenced by osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval().
| template MultiInt osl::eval::ml::PtypeY::evalWithUpdate< WHITE > | ( | const NumEffectState & | , |
| Move | moved, | ||
| MultiInt const & | last_value | ||
| ) | [static] |
Definition at line 543 of file minorPiece.cc.
References osl::alt(), osl::BLACK, osl::captured(), osl::Move::capturePtype(), osl::Move::from(), osl::Move::isDrop(), osl::Move::oldPtype(), osl::Move::ptype(), osl::PTYPE_EMPTY, result, osl::Move::to(), weight, and osl::WHITE.
| static int osl::eval::ml::PtypeY::index | ( | const Piece | piece | ) | [inline, static, private] |
Definition at line 746 of file minorPiece.h.
References osl::Piece::owner(), osl::Piece::ptype(), and osl::Piece::square().
| static int osl::eval::ml::PtypeY::index | ( | const Player | player, |
| const Ptype | ptype, | ||
| const Square | pos | ||
| ) | [inline, static, private] |
Definition at line 750 of file minorPiece.h.
References osl::BLACK, and osl::Square::y().
| void osl::eval::ml::PtypeY::setUp | ( | const Weights & | weights, |
| int | stage | ||
| ) | [static] |
Definition at line 517 of file minorPiece.cc.
References osl::eval::ml::Weights::dimension(), and osl::eval::ml::Weights::value().
osl::misc::CArray< MultiInt, 144 > osl::eval::ml::PtypeY::table [static, private] |
Definition at line 745 of file minorPiece.h.
1.7.6.1