#include <minorPiece.h>
Public Types | |
enum | { ONE_DIM = PTYPE_SIZE, DIM = ONE_DIM*EvalStages } |
Public Member Functions | |
template<osl::Player P> | |
osl::MultiInt | evalOne (const NumEffectState &state, int rank) |
template<osl::Player P> | |
osl::MultiInt | evalWithUpdate (const NumEffectState &state, Move moved, MultiInt const &last_value) |
Static Public Member Functions | |
static void | setUp (const Weights &weights) |
static MultiInt | eval (const NumEffectState &state) |
template<Player P> | |
static MultiInt | evalOne (const NumEffectState &state, int rank) |
template<Player P> | |
static MultiInt | evalWithUpdate (const NumEffectState &, Move moved, MultiInt const &last_value) |
Static Public Attributes | |
static CArray< MultiInt, ONE_DIM > | table |
Definition at line 1726 of file minorPiece.h.
anonymous enum |
Enumerator | |
---|---|
ONE_DIM | |
DIM |
Definition at line 1729 of file minorPiece.h.
|
static |
Definition at line 3025 of file minorPiece.cc.
Referenced by osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval(), and osl::eval::ml::OpenMidEndingEval::updateSub().
|
static |
osl::MultiInt osl::eval::ml::Promotion37::evalOne | ( | const NumEffectState & | state, |
int | rank | ||
) |
Definition at line 2997 of file minorPiece.cc.
References osl::alt(), count, osl::move_generator::addeffect8::hasEffect(), osl::isPiece(), osl::isPromoted(), osl::playerToMul(), osl::PTYPE_BASIC_MIN, osl::PTYPE_MAX, and target.
|
static |
osl::MultiInt osl::eval::ml::Promotion37::evalWithUpdate | ( | const NumEffectState & | state, |
Move | moved, | ||
MultiInt const & | last_value | ||
) |
Definition at line 3032 of file minorPiece.cc.
References osl::Move::isPass().
|
static |
Definition at line 2986 of file minorPiece.cc.
References osl::NStages, and osl::eval::ml::Weights::value().
|
static |
Definition at line 1738 of file minorPiece.h.