My Project
|
#include <kingTable.h>
Public Types | |
enum | { ONE_DIM = 2400 , DIM = ONE_DIM * EvalStages } |
Public Member Functions | |
template<osl::Player Attack> | |
osl::MultiInt | evalOne (const NumEffectState &state, PieceMask king25) |
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 906 of file kingTable.h.
anonymous enum |
Enumerator | |
---|---|
ONE_DIM | |
DIM |
Definition at line 910 of file kingTable.h.
|
static |
Definition at line 1766 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 | ||
) |
Definition at line 1715 of file kingTable.cc.
References osl::alt(), osl::PieceMask::any(), osl::BISHOP, osl::BLACK, osl::PieceMask::clearBit(), osl::container::PieceMask64::countBit(), osl::SimpleState::countPiecesOnStand(), osl::NumEffectState::effectedMask(), osl::NumEffectState::effectSetAt(), osl::GOLD, osl::SimpleState::hasPieceOnStand(), osl::SimpleState::kingSquare(), osl::KNIGHT, osl::LANCE, osl::PAWN, osl::SimpleState::pieceOf(), osl::NumEffectState::piecesOnBoard(), osl::NumEffectState::promotedPieces(), osl::ROOK, osl::SILVER, osl::Piece::square(), osl::container::PieceMask64::takeOneBit(), osl::WHITE, osl::Square::y(), and osl::eval::ml::ppair::y_table.
|
staticprivate |
|
inlinestaticprivate |
Definition at line 915 of file kingTable.h.
|
inlinestaticprivate |
Definition at line 927 of file kingTable.h.
|
static |
Definition at line 1696 of file kingTable.cc.
References osl::NStages, and osl::eval::ml::Weights::value().
|
friend |
Definition at line 908 of file kingTable.h.
|
staticprivate |
Definition at line 943 of file kingTable.h.
|
staticprivate |
Definition at line 944 of file kingTable.h.
Referenced by osl::eval::ml::King25Effect3Y::setUp().