#include <pieceStand.h>
Public Types | |
enum | { ONE_DIM = 44, DIM = ONE_DIM * EvalStages } |
Public Member Functions | |
NonPawnPieceStandTurn () | |
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 |
Definition at line 102 of file eval/ml/pieceStand.h.
Definition at line 103 of file eval/ml/pieceStand.h.
void osl::eval::ml::NonPawnPieceStandTurn::eval | ( | const NumEffectState & | state, |
MultiIntPair & | out | ||
) | [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().
template void osl::eval::ml::NonPawnPieceStandTurn::evalWithUpdateBang< WHITE > | ( | const NumEffectState & | state, |
Move | moved, | ||
MultiIntPair & | last_value_and_out | ||
) | [static] |
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.
static int osl::eval::ml::NonPawnPieceStandTurn::index | ( | Player | player, |
Player | turn, | ||
Ptype | ptype, | ||
int | count | ||
) | [inline, static, private] |
Definition at line 112 of file eval/ml/pieceStand.h.
References osl::PtypeTable::getIndexMin(), and osl::Ptype_Table.
void osl::eval::ml::NonPawnPieceStandTurn::setUp | ( | const Weights & | weights | ) | [static] |
Definition at line 224 of file eval/ml/pieceStand.cc.
References osl::NStages, and osl::eval::ml::Weights::value().
osl::misc::CArray< osl::MultiInt, 44 > osl::eval::ml::NonPawnPieceStandTurn::table [static, private] |
Definition at line 111 of file eval/ml/pieceStand.h.