#include <pieceStand.h>
Public 型 | |
enum | { ONE_DIM = osl::Piece::SIZE * 9, DIM = ONE_DIM * 2*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 MultiInt &last_value) |
Static Private メソッド | |
static int | index (Ptype ptype, Player player, Position king, int count) |
static int | index (int i, Player player, Position king, int count) |
static void | updateResult (NumEffectState const &state, MultiInt &result, int i, Ptype ptype, CArray< Position, 2 > const &kings) |
Static Private 変数 | |
static CArray< MultiInt, 360 > | y_attack_table |
static CArray< MultiInt, 360 > | y_defense_table |
static CArray< MultiInt, 9 *7 *19 > | y_attack_table_sum |
static CArray< MultiInt, 9 *7 *19 > | y_defense_table_sum |
eval/ml/pieceStand.h の 118 行で定義されています。
anonymous enum |
eval/ml/pieceStand.h の 137 行で定義されています。
osl::MultiInt osl::eval::ml::PieceStandY::eval | ( | const NumEffectState & | state | ) | [static] |
eval/ml/pieceStand.cc の 360 行で定義されています。
参照先 osl::BISHOP, osl::BLACK, osl::GOLD, osl::KNIGHT, osl::LANCE, osl::PAWN, osl::ROOK, osl::SILVER, updateResult(), と osl::WHITE.
参照元 evalWithUpdate(), と osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval().
static int osl::eval::ml::PieceStandY::index | ( | int | i, | |
Player | player, | |||
Position | king, | |||
int | count | |||
) | [inline, static, private] |
eval/ml/pieceStand.h の 130 行で定義されています。
参照先 osl::BLACK, と osl::Position::y().
static int osl::eval::ml::PieceStandY::index | ( | Ptype | ptype, | |
Player | player, | |||
Position | king, | |||
int | count | |||
) | [inline, static, private] |
eval/ml/pieceStand.h の 125 行で定義されています。
参照先 osl::BLACK, osl::PtypeTable::getIndexMin(), osl::Ptype_Table, と osl::Position::y().
参照元 evalWithUpdate(), と setUp().
void osl::eval::ml::PieceStandY::setUp | ( | const Weights & | weights | ) | [static] |
eval/ml/pieceStand.cc の 313 行で定義されています。
参照先 osl::BLACK, osl::PtypeTable::getIndexLimit(), osl::PtypeTable::getIndexMin(), index(), osl::NStages, ONE_DIM, osl::PieceStand::order, osl::Ptype_Table, osl::eval::ml::Weights::value(), y_attack_table, y_attack_table_sum, y_defense_table, と y_defense_table_sum.
static void osl::eval::ml::PieceStandY::updateResult | ( | NumEffectState const & | state, | |
MultiInt & | result, | |||
int | i, | |||
Ptype | ptype, | |||
CArray< Position, 2 > const & | kings | |||
) | [static, private] |
参照元 eval().
osl::misc::CArray< osl::MultiInt, 360 > osl::eval::ml::PieceStandY::y_attack_table [static, private] |
eval/ml/pieceStand.h の 121 行で定義されています。
参照元 evalWithUpdate(), と setUp().
osl::misc::CArray< osl::MultiInt, 9 *7 *19 > osl::eval::ml::PieceStandY::y_attack_table_sum [static, private] |
eval/ml/pieceStand.h の 123 行で定義されています。
参照元 setUp().
osl::misc::CArray< osl::MultiInt, 360 > osl::eval::ml::PieceStandY::y_defense_table [static, private] |
eval/ml/pieceStand.h の 122 行で定義されています。
参照元 evalWithUpdate(), と setUp().
osl::misc::CArray< osl::MultiInt, 9 *7 *19 > osl::eval::ml::PieceStandY::y_defense_table_sum [static, private] |
eval/ml/pieceStand.h の 124 行で定義されています。
参照元 setUp().