#include <minorPiece.h>
Public 型 | |
enum | { ONE_DIM = 1440, DIM = ONE_DIM * EvalStages } |
Static Public メソッド | |
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 メソッド | |
static int | index (Player player, Ptype ptype, int y, int pawn_y) |
Static Private 変数 | |
static CArray< MultiInt, 1440 > | table |
minorPiece.h の 1538 行で定義されています。
anonymous enum |
minorPiece.h の 1541 行で定義されています。
osl::MultiInt osl::eval::ml::PtypeYPawnY::eval | ( | const NumEffectState & | state, | |
const CArray2d< int, 2, 9 > & | pawns | |||
) | [static] |
template void osl::eval::ml::PtypeYPawnY::evalWithUpdateBang< WHITE > | ( | const NumEffectState & | state, | |
Move | moved, | |||
const CArray2d< int, 2, 9 > & | pawns, | |||
MultiInt & | last_value | |||
) | [static] |
minorPiece.cc の 2076 行で定義されています。
参照先 osl::alt(), osl::BLACK, osl::captured(), osl::Move::capturePtype(), osl::Move::from(), index(), osl::Move::isDrop(), osl::Piece::isEmpty(), osl::Move::oldPtype(), osl::Piece::owner(), osl::PAWN, osl::SimpleState::pieceAt(), osl::Move::player(), osl::Move::ptype(), osl::Piece::ptype(), osl::PTYPE_EMPTY, table, osl::Move::to(), osl::Square::x(), と osl::Square::y().
void osl::eval::ml::PtypeYPawnY::setUp | ( | const Weights & | weights | ) | [static] |
minorPiece.cc の 2034 行で定義されています。
osl::CArray< MultiInt, 1440 > osl::eval::ml::PtypeYPawnY::table [static, private] |
minorPiece.h の 1560 行で定義されています。
参照元 eval(), evalWithUpdateBang(), と setUp().