#include <minorPiece.h>
Public Types | |
enum | { DIM = 1 } |
Static Public Member Functions | |
static void | setUp (const Weights &weights, int stage) |
static MultiInt | eval (const NumEffectState &state) |
template<Player Defense> | |
static bool | canCheck (const NumEffectState &state) |
static MultiInt | value (int index_y) |
Static Private Member Functions | |
template<Player King> | |
static int | indexY (int y) |
Static Private Attributes | |
static MultiInt | weight |
static CArray< MultiInt, 9 > | y_table |
Friends | |
class | KnightCheckY |
Definition at line 779 of file minorPiece.h.
anonymous enum |
Enumerator | |
---|---|
DIM |
Definition at line 783 of file minorPiece.h.
|
inlinestatic |
Definition at line 787 of file minorPiece.h.
References osl::Piece::isEmpty(), osl::Square::isOnBoard(), osl::Piece::isOnBoardByOwner(), and osl::KNIGHT.
|
static |
Definition at line 652 of file minorPiece.cc.
References osl::BLACK, result, and osl::WHITE.
Referenced by osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval(), and osl::eval::ml::OpenMidEndingEval::updateSub().
|
inlinestaticprivate |
Definition at line 819 of file minorPiece.h.
References osl::BLACK.
|
static |
Definition at line 636 of file minorPiece.cc.
References osl::eval::ml::Weights::value(), and weight.
|
inlinestatic |
Definition at line 815 of file minorPiece.h.
|
friend |
Definition at line 781 of file minorPiece.h.
|
staticprivate |
Definition at line 817 of file minorPiece.h.
|
staticprivate |
Definition at line 823 of file minorPiece.h.
Referenced by osl::eval::ml::KnightCheckY::setUp(), and value().