#include <majorPiece.h>
Public 型 | |
enum | { ONE_DIM = PTYPE_SIZE * 2 * 2, DIM = ONE_DIM * EvalStages } |
Static Public メソッド | |
static void | setUp (const Weights &weights) |
static MultiInt | eval (const NumEffectState &state) |
Static Private メソッド | |
template<Player Owner> | |
static MultiInt | addOne (const NumEffectState &state) |
static size_t | index (Ptype ptype, bool is_rook, bool can_promote) |
Static Private 変数 | |
static CArray< MultiInt, ONE_DIM > | table |
majorPiece.h の 633 行で定義されています。
anonymous enum |
majorPiece.h の 636 行で定義されています。
osl::MultiInt osl::eval::ml::MajorCheckWithCapture::addOne | ( | const NumEffectState & | state | ) | [static, private] |
majorPiece.cc の 1220 行で定義されています。
参照先 osl::alt(), osl::PieceMask::any(), osl::BISHOP, osl::BLACK, osl::Square::canPromote(), osl::NumEffectState::effectedMask(), osl::NumEffectState::hasEffectIf(), osl::NumEffectState::hasLongEffectAt(), index(), osl::SimpleState::kingSquare(), osl::newPtypeO(), osl::SimpleState::pieceOf(), osl::NumEffectState::piecesOnBoard(), osl::Piece::ptype(), osl::ROOK, osl::Piece::square(), と table.
osl::MultiInt osl::eval::ml::MajorCheckWithCapture::eval | ( | const NumEffectState & | state | ) | [static] |
static size_t osl::eval::ml::MajorCheckWithCapture::index | ( | Ptype | ptype, | |
bool | is_rook, | |||
bool | can_promote | |||
) | [inline, static, private] |
majorPiece.h の 646 行で定義されています。
参照元 addOne().
void osl::eval::ml::MajorCheckWithCapture::setUp | ( | const Weights & | weights | ) | [static] |
majorPiece.cc の 1209 行で定義されています。
osl::CArray< MultiInt, osl::eval::ml::MajorCheckWithCapture::ONE_DIM > osl::eval::ml::MajorCheckWithCapture::table [static, private] |
majorPiece.h の 643 行で定義されています。