#include <majorPiece.h>
Public Types | |
enum | { ONE_DIM = 800, DIM = ONE_DIM * EvalStages } |
Static Public Member Functions | |
static void | setUp (const Weights &weights) |
static MultiInt | eval (const NumEffectState &state) |
Static Private Member Functions | |
template<bool SamePlayer, Player P> | |
static int | index (Piece rook1, Piece rook2) |
static int | index (bool same_player, bool promoted1, bool promoted2, int y1, int y2) |
Static Private Attributes | |
static CArray< MultiInt, 800 > | table |
Definition at line 548 of file majorPiece.h.
anonymous enum |
Enumerator | |
---|---|
ONE_DIM | |
DIM |
Definition at line 551 of file majorPiece.h.
|
static |
Definition at line 1062 of file majorPiece.cc.
References osl::BLACK, osl::Piece::owner(), osl::SimpleState::pieceOf(), osl::eval::ml::RookRookPiece::setUp(), and osl::eval::ml::RookRookPiece::table.
Referenced by osl::eval::ml::OpenMidEndingEval::debugInfo(), osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval(), setUp(), and osl::eval::ml::OpenMidEndingEval::updateSub().
|
inlinestaticprivate |
Definition at line 556 of file majorPiece.h.
References osl::BLACK, osl::Piece::isOnBoard(), osl::Piece::isPromoted(), osl::Piece::square(), and osl::Square::y().
|
inlinestaticprivate |
Definition at line 595 of file majorPiece.h.
|
static |
Definition at line 1002 of file majorPiece.cc.
References eval(), osl::eval::ml::RookEffectBase::index(), osl::NStages, osl::eval::ml::RookEffectBase::ONE_DIM, and osl::eval::ml::Weights::value().
Referenced by osl::eval::ml::BishopBishopPiece::eval().
|
staticprivate |
Definition at line 603 of file majorPiece.h.
Referenced by osl::eval::ml::BishopBishopPiece::eval().