#include <majorPiece.h>

Public Types | |
| enum | { ONE_DIM = 5 * 9 * 9 * 9 * 9 * 9, DIM = ONE_DIM * EvalStages } |
Static Public Member Functions | |
| static void | setUp (const Weights &weights) |
| static MultiInt | eval (const NumEffectState &state) |
Static Private Member Functions | |
| static size_t | index (int bishop_x, int bishop_y, int silver_x, int silver_y, int knight_x, int knight_y) |
Static Private Attributes | |
| static CArray< MultiInt, ONE_DIM > | table |
Definition at line 672 of file majorPiece.h.
| anonymous enum |
Definition at line 675 of file majorPiece.h.
| osl::MultiInt osl::eval::ml::BishopSilverKnight::eval | ( | const NumEffectState & | state | ) | [static] |
Definition at line 1354 of file majorPiece.cc.
References osl::BLACK, osl::PtypeTraits< KNIGHT >::indexMin, osl::PtypeTraits< SILVER >::indexMin, osl::PtypeTraits< BISHOP >::indexMin, osl::Piece::isOnBoard(), osl::Piece::isPromoted(), osl::Piece::owner(), result, osl::Piece::square(), osl::Square::x(), and osl::Square::y().
Referenced by osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval(), and osl::eval::ml::OpenMidEndingEval::updateSub().
| static size_t osl::eval::ml::BishopSilverKnight::index | ( | int | bishop_x, |
| int | bishop_y, | ||
| int | silver_x, | ||
| int | silver_y, | ||
| int | knight_x, | ||
| int | knight_y | ||
| ) | [inline, static, private] |
Definition at line 683 of file majorPiece.h.
| void osl::eval::ml::BishopSilverKnight::setUp | ( | const Weights & | weights | ) | [static] |
Definition at line 1344 of file majorPiece.cc.
References osl::NStages, and osl::eval::ml::Weights::value().
osl::misc::CArray< MultiInt, osl::eval::ml::BishopSilverKnight::ONE_DIM > osl::eval::ml::BishopSilverKnight::table [static, private] |
Definition at line 682 of file majorPiece.h.
1.7.6.1