#include <kingTable.h>

Public Types | |
| enum | { ONE_DIM = 2400, DIM = ONE_DIM * EvalStages } |
Static Public Member Functions | |
| static void | setUp (const Weights &weights) |
| static MultiInt | eval (const NumEffectState &state, const CArray< PieceMask, 2 > &king25_mask) |
Static Private Member Functions | |
| static int | index (int piece_count, bool with_knight, int stand_count, bool with_knight_on_stand, int attacked_count) |
| static int | indexY (int piece_count, bool with_knight, int stand_count, bool with_knight_on_stand, int attacked_count, int king_y) |
| template<osl::Player Attack> | |
| static MultiInt | evalOne (const NumEffectState &state, PieceMask king25) |
Static Private Attributes | |
| static CArray< MultiInt, 2400 > | table |
| static CArray< MultiInt, 21600 > | y_table |
Friends | |
| class | King25Effect3Y |
Definition at line 910 of file kingTable.h.
| anonymous enum |
Definition at line 914 of file kingTable.h.
| osl::MultiInt osl::eval::ml::King25Effect3::eval | ( | const NumEffectState & | state, |
| const CArray< PieceMask, 2 > & | king25_mask | ||
| ) | [static] |
Definition at line 1767 of file kingTable.cc.
References osl::BLACK, and osl::WHITE.
Referenced by osl::eval::ml::OpenMidEndingEval::debugInfo(), osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval(), and osl::eval::ml::OpenMidEndingEval::updateSub().
| osl::MultiInt osl::eval::ml::King25Effect3::evalOne | ( | const NumEffectState & | state, |
| PieceMask | king25 | ||
| ) | [static, private] |
Definition at line 1716 of file kingTable.cc.
References osl::BISHOP, osl::BLACK, osl::GOLD, osl::KNIGHT, osl::LANCE, osl::eval::min(), osl::PAWN, osl::ROOK, osl::SILVER, osl::Piece::square(), osl::WHITE, and osl::eval::ml::ppair::y_table.
| static int osl::eval::ml::King25Effect3::index | ( | int | piece_count, |
| bool | with_knight, | ||
| int | stand_count, | ||
| bool | with_knight_on_stand, | ||
| int | attacked_count | ||
| ) | [inline, static, private] |
Definition at line 919 of file kingTable.h.
| static int osl::eval::ml::King25Effect3::indexY | ( | int | piece_count, |
| bool | with_knight, | ||
| int | stand_count, | ||
| bool | with_knight_on_stand, | ||
| int | attacked_count, | ||
| int | king_y | ||
| ) | [inline, static, private] |
Definition at line 931 of file kingTable.h.
| void osl::eval::ml::King25Effect3::setUp | ( | const Weights & | weights | ) | [static] |
Definition at line 1696 of file kingTable.cc.
References osl::NStages, and osl::eval::ml::Weights::value().
friend class King25Effect3Y [friend] |
Definition at line 912 of file kingTable.h.
osl::misc::CArray< MultiInt, 2400 > osl::eval::ml::King25Effect3::table [static, private] |
Definition at line 947 of file kingTable.h.
osl::misc::CArray< MultiInt, 21600 > osl::eval::ml::King25Effect3::y_table [static, private] |
Definition at line 948 of file kingTable.h.
Referenced by osl::eval::ml::King25Effect3Y::setUp().
1.7.6.1