#include <majorPiece.h>

Public Types | |
| enum | { ONE_DIM = 64, 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 int | index (Ptype ptype, bool self_with_support, bool opp_with_support) |
Static Private Attributes | |
| static CArray< MultiInt, 64 > | table |
Definition at line 534 of file majorPiece.h.
| anonymous enum |
Definition at line 537 of file majorPiece.h.
| osl::MultiInt osl::eval::ml::BishopBishopPiece::eval | ( | const NumEffectState & | state | ) | [static] |
Definition at line 934 of file majorPiece.cc.
References osl::BISHOP, osl::BLACK, osl::DL, osl::DR, osl::PtypeTraits< BISHOP >::indexMin, osl::inverse(), osl::Piece::isOnBoard(), osl::Piece::number(), osl::Piece::owner(), osl::Piece::ptype(), result, osl::Piece::square(), osl::UL, osl::UR, osl::WHITE, osl::Square::x(), and osl::Square::y().
Referenced by osl::eval::ml::OpenMidEndingEval::debugInfo(), osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval(), and osl::eval::ml::OpenMidEndingEval::updateSub().
| static int osl::eval::ml::BishopBishopPiece::index | ( | Ptype | ptype, |
| bool | self_with_support, | ||
| bool | opp_with_support | ||
| ) | [inline, static, private] |
Definition at line 541 of file majorPiece.h.
References osl::PTYPE_SIZE.
| void osl::eval::ml::BishopBishopPiece::setUp | ( | const Weights & | weights | ) | [static] |
Definition at line 924 of file majorPiece.cc.
References osl::NStages, and osl::eval::ml::Weights::value().
osl::misc::CArray< MultiInt, 64 > osl::eval::ml::BishopBishopPiece::table [static, private] |
Definition at line 547 of file majorPiece.h.
1.7.6.1