#include <minorPiece.h>
Public 型 | |
enum | { ONE_DIM = 1024, DIM = ONE_DIM * EvalStages } |
Static Public メソッド | |
static void | setUp (const Weights &weights) |
static MultiInt | eval (const NumEffectState &state) |
template<Player P> | |
static MultiInt | evalWithUpdate (const NumEffectState &state, Move moved, const CArray2d< int, 2, 9 > &pawns, const MultiInt &last_value) |
Static Private メソッド | |
static int | index (Player P, PtypeO up, PtypeO up_up) |
static int | indexY (Player P, PtypeO up, PtypeO up_up, int y) |
Static Private 変数 | |
static CArray< MultiInt, 1024 > | table |
static CArray< MultiInt, 9216 > | y_table |
フレンド | |
class | PawnPtypeOPtypeOY |
minorPiece.h の 850 行で定義されています。
anonymous enum |
minorPiece.h の 854 行で定義されています。
MultiInt osl::eval::ml::PawnPtypeOPtypeO::eval | ( | const NumEffectState & | state | ) | [static] |
minorPiece.cc の 692 行で定義されています。
参照先 osl::Board_Table, index(), osl::PtypeTraits< PAWN >::indexMin, indexY(), osl::Square::isOnBoard(), osl::Piece::isOnBoard(), osl::Piece::isPromoted(), osl::BoardTable::nextSquare(), osl::Piece::owner(), osl::SimpleState::pieceAt(), osl::SimpleState::pieceOf(), osl::Piece::ptypeO(), osl::PTYPEO_EDGE, osl::Piece::square(), table, osl::Square::y(), と y_table.
template MultiInt osl::eval::ml::PawnPtypeOPtypeO::evalWithUpdate< WHITE > | ( | const NumEffectState & | state, | |
Move | moved, | |||
const CArray2d< int, 2, 9 > & | pawns, | |||
const MultiInt & | last_value | |||
) | [static] |
minorPiece.cc の 727 行で定義されています。
参照先 osl::alt(), osl::BLACK, osl::captured(), osl::Move::capturePtype(), osl::Move::capturePtypeOSafe(), osl::Move::from(), index(), indexY(), osl::Move::isDrop(), osl::Square::isOnBoard(), osl::Move::oldPtype(), osl::Move::oldPtypeO(), osl::PAWN, osl::SimpleState::pieceAt(), osl::Move::player(), osl::Move::ptype(), osl::Move::ptypeO(), osl::Piece::ptypeO(), osl::PTYPEO_EDGE, osl::PTYPEO_EMPTY, table, osl::Move::to(), osl::WHITE, osl::Square::x(), osl::Square::y(), と y_table.
static int osl::eval::ml::PawnPtypeOPtypeO::index | ( | Player | P, | |
PtypeO | up, | |||
PtypeO | up_up | |||
) | [inline, static, private] |
minorPiece.h の 863 行で定義されています。
参照先 osl::altIfPiece(), osl::PTYPEO_MIN, と osl::WHITE.
参照元 eval(), evalWithUpdate(), と indexY().
void osl::eval::ml::PawnPtypeOPtypeO::setUp | ( | const Weights & | weights | ) | [static] |
minorPiece.cc の 672 行で定義されています。
friend class PawnPtypeOPtypeOY [friend] |
minorPiece.h の 852 行で定義されています。
osl::CArray< MultiInt, 1024 > osl::eval::ml::PawnPtypeOPtypeO::table [static, private] |
minorPiece.h の 877 行で定義されています。
参照元 eval(), evalWithUpdate(), と setUp().
osl::CArray< MultiInt, 9216 > osl::eval::ml::PawnPtypeOPtypeO::y_table [static, private] |
minorPiece.h の 878 行で定義されています。
参照元 eval(), evalWithUpdate(), と osl::eval::ml::PawnPtypeOPtypeOY::setUp().