My Project
|
#include <majorPiece.h>
Public Types | |
enum | { ONE_DIM = PTYPE_SIZE * PTYPE_SIZE * 2 * 2 * 2 , DIM = ONE_DIM * EvalStages } |
Static Public Member Functions | |
static void | setUp (const Weights &weights) |
static MultiInt | eval (const NumEffectState &state) |
Private Member Functions | |
size_t | maxActive () const |
Static Private Member Functions | |
static int | index (Ptype support, Ptype attack, bool has_gold, bool rook_support, bool bishop_support) |
template<Player Owner> | |
static void | addOne (const NumEffectState &state, Piece rook, MultiInt &) |
Static Private Attributes | |
static CArray< MultiInt, ONE_DIM > | table |
Definition at line 688 of file majorPiece.h.
anonymous enum |
Enumerator | |
---|---|
ONE_DIM | |
DIM |
Definition at line 691 of file majorPiece.h.
|
staticprivate |
Definition at line 1438 of file majorPiece.cc.
References osl::alt(), osl::BISHOP, osl::BLACK, osl::NumEffectState::countEffect(), osl::NumEffectState::findCheapAttack(), osl::GOLD, osl::NumEffectState::hasEffectAt(), osl::NumEffectState::hasEffectNotBy(), osl::SimpleState::hasPieceOnStand(), osl::Piece::isPlayerPtype(), osl::Square::neighbor(), osl::Piece::ptype(), osl::Piece::square(), osl::Square::squareForBlack(), osl::U, osl::UL, osl::UR, and osl::Square::y().
|
static |
Definition at line 1482 of file majorPiece.cc.
References osl::BLACK, osl::Piece::isOnBoard(), osl::Piece::isPromoted(), osl::SimpleState::nth(), osl::SimpleState::nthLimit(), osl::Piece::owner(), and osl::ROOK.
Referenced by osl::eval::ml::OpenMidEndingEval::debugInfo(), osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval(), and osl::eval::ml::OpenMidEndingEval::updateSub().
|
inlinestaticprivate |
Definition at line 700 of file majorPiece.h.
References osl::unpromoteSafe().
|
inlineprivate |
Definition at line 699 of file majorPiece.h.
|
static |
Definition at line 1426 of file majorPiece.cc.
References osl::NStages, and osl::eval::ml::Weights::value().
|
staticprivate |
Definition at line 698 of file majorPiece.h.