#include <minorPiece.h>
Public 型 | |
enum | { ONE_DIM = 9, DIM = ONE_DIM * EvalStages } |
Static Public メソッド | |
static void | setUp (const Weights &weights) |
static MultiInt | eval (const NumEffectState &state) |
static MultiInt | evalWithUpdate (const NumEffectState &state, Move moved, const MultiInt &last_values) |
template<int Sign> | |
static void | adjust (int index, int index_attack, int index_defense, MultiInt &result) |
Static Private メソッド | |
template<Player P> | |
static void | evalOne (const NumEffectState &state, const PieceMask promoted, MultiInt &result) |
template<bool attack, Player owner> | |
static int | indexY (const Position king, int x_diff) |
Static Private 変数 | |
static CArray< MultiInt, 9 > | table |
static CArray< MultiInt, 162 > | y_table |
フレンド | |
class | PromotedMinorPiecesY |
minorPiece.h の 887 行で定義されています。
anonymous enum |
minorPiece.h の 891 行で定義されています。
void osl::eval::ml::PromotedMinorPieces::adjust | ( | int | index, | |
int | index_attack, | |||
int | index_defense, | |||
MultiInt & | result | |||
) | [inline, static] |
MultiInt osl::eval::ml::PromotedMinorPieces::eval | ( | const NumEffectState & | state | ) | [static] |
minorPiece.cc の 1068 行で定義されています。
参照先 osl::BISHOP, result, と osl::ROOK.
参照元 evalWithUpdate(), と osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval().
void osl::eval::ml::PromotedMinorPieces::evalOne | ( | const NumEffectState & | state, | |
const PieceMask | promoted, | |||
MultiInt & | result | |||
) | [inline, static, private] |
minorPiece.cc の 994 行で定義されています。
参照先 adjust(), osl::BLACK, osl::Piece::position(), と osl::Position::x().
static int osl::eval::ml::PromotedMinorPieces::indexY | ( | const Position | king, | |
int | x_diff | |||
) | [inline, static, private] |
minorPiece.h の 907 行で定義されています。
参照先 osl::BLACK, と osl::Position::y().
void osl::eval::ml::PromotedMinorPieces::setUp | ( | const Weights & | weights | ) | [static] |
minorPiece.cc の 963 行で定義されています。
参照先 osl::NStages, ONE_DIM, table, と osl::eval::ml::Weights::value().
friend class PromotedMinorPiecesY [friend] |
minorPiece.h の 889 行で定義されています。
osl::misc::CArray< MultiInt, 9 > osl::eval::ml::PromotedMinorPieces::table [static, private] |
minorPiece.h の 912 行で定義されています。
osl::misc::CArray< MultiInt, 162 > osl::eval::ml::PromotedMinorPieces::y_table [static, private] |
minorPiece.h の 913 行で定義されています。
参照元 adjust(), と osl::eval::ml::PromotedMinorPiecesY::setUp().