#include <kingTable.h>
Public Types | |
enum | { DIM = 17 * 128 * 2 } |
Static Public Member Functions | |
template<Player Attack> | |
static void | countEffectAndPiecesBoth (const NumEffectState &state, PieceMask &effect25, PieceMask &effect_supported, int &attack_effect, int &attack_piece, int &defense_effect, int &defence_piece, int &attack_piece_supported, CArray< int, 5 > &effect_vertical, CArray< int, 5 > &king_vertical) |
static void | setUp (const Weights &weights) |
static int | eval (const NumEffectState &, int black_attack_effect, int black_attack_piece, int white_attack_effect, int white_attack_piece, int black_defense_effect, int black_defense_piece, int white_defense_effect, int white_defense_piece) |
Static Public Attributes | |
static CArray< int, DIM/2 > | attack_table |
static CArray< int, DIM/2 > | defense_table |
Static Private Member Functions | |
static int | index (int effect, int piece_count) |
Definition at line 139 of file kingTable.h.
anonymous enum |
Enumerator | |
---|---|
DIM |
Definition at line 159 of file kingTable.h.
|
static |
Definition at line 514 of file kingTable.cc.
References osl::alt(), osl::eval::ml::King25EffectY::attack_table, osl::BLACK, osl::container::PieceMask64::countBit(), osl::NumEffectState::countEffect(), osl::eval::ml::King25EffectY::defense_table, osl::eval::ml::King25EffectY::DIM, osl::NumEffectState::effectedMask(), osl::NumEffectState::effectSetAt(), osl::CArray< T, Capacity >::fill(), osl::Piece::isEmpty(), osl::SimpleState::kingSquare(), osl::eval::max(), osl::eval::min(), osl::Piece::owner(), osl::SimpleState::pieceAt(), osl::NumEffectState::piecesOnBoard(), osl::container::PieceMask64::resetAll(), osl::eval::ml::King25EffectY::setUp(), osl::Square::x(), and osl::Square::y().
|
inlinestatic |
Definition at line 163 of file kingTable.h.
References osl::eval::ml::KingPieceRelative::attack_table, osl::eval::ml::KingPieceRelative::defense_table, and osl::eval::ml::KingPieceRelative::index().
Referenced by osl::eval::ml::OpenMidEndingEval::debugInfo().
|
inlinestaticprivate |
Definition at line 142 of file kingTable.h.
|
static |
Definition at line 501 of file kingTable.cc.
References osl::eval::ml::PtypeYY::DIM, and osl::eval::ml::Weights::value().
Referenced by osl::eval::ml::King25EffectSupportedY::setUp().
|
static |
Definition at line 160 of file kingTable.h.
Referenced by osl::eval::ml::King25EffectSupportedY::setUp().
|
static |
Definition at line 161 of file kingTable.h.
Referenced by osl::eval::ml::King25EffectSupportedY::setUp().