#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 |
Definition at line 783 of file minorPiece.h.
| static bool osl::eval::ml::KnightCheck::canCheck | ( | const NumEffectState & | state | ) | [inline, static] |
Definition at line 787 of file minorPiece.h.
References osl::Piece::isEmpty(), osl::Square::isOnBoard(), osl::Piece::isOnBoardByOwner(), and osl::KNIGHT.
| MultiInt osl::eval::ml::KnightCheck::eval | ( | const NumEffectState & | state | ) | [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().
| static int osl::eval::ml::KnightCheck::indexY | ( | int | y | ) | [inline, static, private] |
Definition at line 819 of file minorPiece.h.
References osl::BLACK.
| void osl::eval::ml::KnightCheck::setUp | ( | const Weights & | weights, |
| int | stage | ||
| ) | [static] |
Definition at line 636 of file minorPiece.cc.
References osl::eval::ml::Weights::value(), and weight.
| static MultiInt osl::eval::ml::KnightCheck::value | ( | int | index_y | ) | [inline, static] |
Definition at line 815 of file minorPiece.h.
friend class KnightCheckY [friend] |
Definition at line 781 of file minorPiece.h.
MultiInt osl::eval::ml::KnightCheck::weight [static, private] |
Definition at line 817 of file minorPiece.h.
osl::misc::CArray< MultiInt, 9 > osl::eval::ml::KnightCheck::y_table [static, private] |
Definition at line 823 of file minorPiece.h.
Referenced by osl::eval::ml::KnightCheckY::setUp(), and value().
1.7.6.1