#include <minorPiece.h>


Public Types | |
| enum | { DIM = 9 } |
Static Public Member Functions | |
| static void | setUp (const Weights &weights, int stage) |
| static MultiInt | eval (const NumEffectState &state) |
Static Public Member Functions inherited from osl::eval::ml::PawnAdvanceUtil | |
| static int | index (Player P, Square pos) |
| static bool | cantAdvance (const NumEffectState &state, const Piece pawn) |
| static bool | cantAdvance (const NumEffectState &state, const PtypeO ptypeO, const Square position) |
Static Private Attributes | |
| static CArray< MultiInt, 9 > | table |
Friends | |
| struct | PawnAdvanceAll |
Definition at line 530 of file minorPiece.h.
| anonymous enum |
| Enumerator | |
|---|---|
| DIM | |
Definition at line 533 of file minorPiece.h.
|
static |
Definition at line 221 of file minorPiece.cc.
References osl::BLACK, osl::Piece::isOnBoard(), osl::Piece::isPromoted(), osl::Piece::owner(), result, osl::Piece::square(), and osl::WHITE.
Referenced by osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval().
|
static |
Definition at line 214 of file minorPiece.cc.
References osl::eval::ml::Weights::dimension(), and osl::eval::ml::Weights::value().
|
friend |
Definition at line 536 of file minorPiece.h.
|
staticprivate |
Definition at line 535 of file minorPiece.h.
Referenced by osl::eval::ml::PawnAdvanceAll::adjust().
1.8.4