#include <majorPiece.h>
Public Types | |
enum | { DIM = 1 } |
Static Public Member Functions | |
static void | setUp (const Weights &weights) |
static int | eval (const NumEffectState &state) |
Static Private Attributes | |
static int | weight |
Definition at line 67 of file majorPiece.h.
anonymous enum |
Enumerator | |
---|---|
DIM |
Definition at line 70 of file majorPiece.h.
|
static |
Definition at line 33 of file majorPiece.cc.
References osl::BLACK, osl::Square::canPromote(), osl::Piece::isOnBoard(), osl::Piece::owner(), result, osl::Piece::square(), weight, and osl::Square::x().
|
static |
Definition at line 27 of file majorPiece.cc.
References osl::eval::ml::Weights::value(), and weight.
|
staticprivate |
Definition at line 74 of file majorPiece.h.