|
My Project
|
#include <majorPiece.h>
Public Types | |
| enum | { DIM = 18 } |
Static Public Member Functions | |
| static void | setUp (const Weights &weights) |
| static int | eval (const NumEffectState &state) |
Static Private Member Functions | |
| static int | index (Piece piece) |
Static Private Attributes | |
| static CArray< int, 18 > | table |
Definition at line 19 of file majorPiece.h.
| anonymous enum |
| Enumerator | |
|---|---|
| DIM | |
Definition at line 29 of file majorPiece.h.
|
inlinestatic |
Definition at line 31 of file majorPiece.h.
References osl::BLACK, index(), osl::Piece::isOnBoard(), osl::Piece::owner(), osl::SimpleState::pieceOf(), and table.
|
inlinestaticprivate |
Definition at line 23 of file majorPiece.h.
References osl::BLACK, osl::Piece::isPromoted(), osl::Piece::owner(), osl::Piece::square(), and osl::Square::y().
Referenced by eval().
|
static |
Definition at line 12 of file majorPiece.cc.
References osl::eval::ml::Weights::dimension(), table, and osl::eval::ml::Weights::value().
|
staticprivate |
Definition at line 22 of file majorPiece.h.