#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 |
Definition at line 70 of file majorPiece.h.
int osl::eval::ml::RookPawn< Opening >::eval | ( | const NumEffectState & | state | ) | [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().
void osl::eval::ml::RookPawn< Opening >::setUp | ( | const Weights & | weights | ) | [static] |
Definition at line 27 of file majorPiece.cc.
References osl::eval::ml::Weights::value(), and weight.
int osl::eval::ml::RookPawn< Opening >::weight [static, private] |
Definition at line 74 of file majorPiece.h.