|
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, index(), indexY(), osl::Piece::isOnBoard(), osl::SimpleState::kingSquare(), osl::Piece::owner(), osl::SimpleState::pieceOf(), osl::Piece::square(), table, osl::WHITE, osl::Square::x(), y_attack_table, and y_defense_table.
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().
Referenced by eval().
|
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().
Referenced by eval().
|
static |
Definition at line 73 of file majorPiece.cc.
References osl::NStages, ONE_DIM, table, and osl::eval::ml::Weights::value().
|
friend |
|
staticprivate |
Definition at line 104 of file majorPiece.h.
|
staticprivate |
Definition at line 105 of file majorPiece.h.
Referenced by eval(), and osl::eval::ml::RookPawnYX::setUp().
|
staticprivate |
Definition at line 106 of file majorPiece.h.
Referenced by eval(), and osl::eval::ml::RookPawnYX::setUp().