#include <majorPiece.h>
Public Types | |
enum | { ONE_DIM = 128, 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, bool vertical) |
Static Private Attributes | |
static CArray< MultiInt, 128 > | table |
Definition at line 608 of file majorPiece.h.
anonymous enum |
Definition at line 611 of file majorPiece.h.
osl::MultiInt osl::eval::ml::RookRookPiece::eval | ( | const NumEffectState & | state | ) | [static] |
Definition at line 1105 of file majorPiece.cc.
References osl::BLACK, osl::D, osl::PtypeTraits< ROOK >::indexMin, osl::inverse(), osl::Square::isOnBoard(), osl::Piece::isOnBoard(), osl::L, osl::Piece::number(), osl::Piece::owner(), osl::Piece::ptype(), osl::R, result, osl::ROOK, osl::Piece::square(), osl::U, 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::RookRookPiece::index | ( | Ptype | ptype, |
bool | self_with_support, | ||
bool | opp_with_support, | ||
bool | vertical | ||
) | [inline, static, private] |
Definition at line 615 of file majorPiece.h.
References osl::PTYPE_SIZE.
void osl::eval::ml::RookRookPiece::setUp | ( | const Weights & | weights | ) | [static] |
Definition at line 1095 of file majorPiece.cc.
References osl::NStages, and osl::eval::ml::Weights::value().
osl::misc::CArray< MultiInt, 128 > osl::eval::ml::RookRookPiece::table [static, private] |
Definition at line 622 of file majorPiece.h.