#include <pieceStand.h>
Public Types | |
enum | { ONE_DIM = 44, DIM = ONE_DIM * EvalStages } |
Public Member Functions | |
NonPawnPieceStandTurn () | |
template<osl::Player P> | |
void | evalWithUpdateBang (const NumEffectState &state, Move moved, MultiIntPair &result) |
Static Public Member Functions | |
static void | setUp (const Weights &weights) |
static void | eval (const NumEffectState &state, MultiIntPair &out) |
template<Player P> | |
static void | evalWithUpdateBang (const NumEffectState &state, Move moved, MultiIntPair &last_value_and_out) |
Static Private Member Functions | |
static int | index (Player player, Player turn, Ptype ptype, int count) |
Static Private Attributes | |
static CArray< MultiInt, 44 > | table |
Definition at line 99 of file eval/ml/pieceStand.h.
anonymous enum |
Enumerator | |
---|---|
ONE_DIM | |
DIM |
Definition at line 102 of file eval/ml/pieceStand.h.
|
inline |
Definition at line 103 of file eval/ml/pieceStand.h.
|
static |
Definition at line 234 of file eval/ml/pieceStand.cc.
References osl::BLACK, osl::PieceStand::order, osl::PAWN, and osl::WHITE.
Referenced by osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval().
|
static |
void osl::eval::ml::NonPawnPieceStandTurn::evalWithUpdateBang | ( | const NumEffectState & | state, |
Move | moved, | ||
MultiIntPair & | result | ||
) |
Definition at line 262 of file eval/ml/pieceStand.cc.
References osl::BLACK, osl::Move::capturePtype(), count, osl::Move::isCapture(), osl::Move::isDrop(), osl::PAWN, osl::Move::player(), osl::Move::ptype(), osl::unpromote(), and osl::WHITE.
|
inlinestaticprivate |
Definition at line 112 of file eval/ml/pieceStand.h.
References osl::PtypeTable::getIndexMin(), and osl::Ptype_Table.
|
static |
Definition at line 224 of file eval/ml/pieceStand.cc.
References osl::NStages, and osl::eval::ml::Weights::value().
|
staticprivate |
Definition at line 111 of file eval/ml/pieceStand.h.