|
My Project
|
#include <pin.h>
Public Types | |
| enum | { DIM = (osl::PTYPE_MAX - osl::PTYPE_PIECE_MIN + 1) * 17 * 9 } |
Public Member Functions | |
| Pin () | |
Static Public Member Functions | |
| static void | setUp (const Weights &weights, int stage) |
| static MultiInt | eval (const NumEffectState &state, PieceMask black_mask, PieceMask white_mask) |
Static Private Member Functions | |
| static int | index (const Square king, const Piece piece) |
Static Private Attributes | |
| static CArray2d< MultiInt, PTYPE_SIZE, 17 *9 > | table |
|
static |
Definition at line 57 of file eval_pin.cc.
References osl::PieceMask::any(), osl::BLACK, index(), osl::SimpleState::kingSquare(), osl::SimpleState::pieceOf(), osl::Piece::ptype(), table, osl::container::PieceMask64::takeOneBit(), and osl::WHITE.
Definition at line 29 of file pin.h.
References osl::BLACK, osl::Piece::owner(), osl::Piece::square(), osl::Square::x(), and osl::Square::y().
Referenced by eval().
|
static |
Definition at line 40 of file eval_pin.cc.
References osl::PTYPE_MAX, osl::PTYPE_PIECE_MIN, table, and osl::eval::ml::Weights::value().
|
staticprivate |