My Project
|
#include <majorPiece.h>
Public Types | |
enum | { ONE_DIM = 180 , DIM = ONE_DIM * EvalStages } |
Static Public Member Functions | |
static void | setUp (const Weights &weights) |
static MultiInt | eval (const NumEffectState &state, const CArray2d< int, 2, 9 > &pawns) |
Static Private Member Functions | |
static int | index (const Piece rook, const int pawn_y) |
static int | indexY (const Square king, const Piece rook, int pawn_y) |
Static Private Attributes | |
static CArray< MultiInt, 180 > | table |
static CArray< MultiInt, 1620 > | y_attack_table |
static CArray< MultiInt, 1620 > | y_defense_table |
Friends | |
class | RookPawnYX |
Definition at line 81 of file majorPiece.h.
anonymous enum |
Enumerator | |
---|---|
ONE_DIM | |
DIM |
Definition at line 85 of file majorPiece.h.
|
static |
Definition at line 83 of file majorPiece.cc.
References osl::BLACK, osl::Piece::isOnBoard(), osl::SimpleState::kingSquare(), osl::Piece::owner(), osl::SimpleState::pieceOf(), osl::Piece::square(), osl::WHITE, and osl::Square::x().
Referenced by osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval(), and osl::eval::ml::OpenMidEndingEval::updateSub().
|
inlinestaticprivate |
Definition at line 90 of file majorPiece.h.
References osl::BLACK, osl::Piece::isPromoted(), osl::Piece::owner(), osl::Piece::square(), and osl::Square::y().
|
inlinestaticprivate |
Definition at line 96 of file majorPiece.h.
References osl::BLACK, osl::Piece::isPromoted(), osl::Piece::owner(), osl::Piece::square(), osl::Square::x(), and osl::Square::y().
|
static |
Definition at line 73 of file majorPiece.cc.
References osl::NStages, and osl::eval::ml::Weights::value().
|
friend |
Definition at line 83 of file majorPiece.h.
|
staticprivate |
Definition at line 104 of file majorPiece.h.
|
staticprivate |
Definition at line 105 of file majorPiece.h.
|
staticprivate |
Definition at line 106 of file majorPiece.h.