#include <minorPiece.h>

Public Types | |
| enum | { ONE_DIM = PTYPE_SIZE, DIM = ONE_DIM*EvalStages } |
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 |
Definition at line 1729 of file minorPiece.h.
| osl::MultiInt osl::eval::ml::Promotion37::eval | ( | const NumEffectState & | state | ) | [static] |
Definition at line 3025 of file minorPiece.cc.
Referenced by osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval(), and osl::eval::ml::OpenMidEndingEval::updateSub().
| osl::MultiInt osl::eval::ml::Promotion37::evalOne | ( | const NumEffectState & | state, |
| int | rank | ||
| ) | [static] |
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.
| osl::MultiInt osl::eval::ml::Promotion37::evalWithUpdate | ( | const NumEffectState & | state, |
| Move | moved, | ||
| MultiInt const & | last_value | ||
| ) | [static] |
Definition at line 3032 of file minorPiece.cc.
References osl::Move::isPass().
| void osl::eval::ml::Promotion37::setUp | ( | const Weights & | weights | ) | [static] |
Definition at line 2986 of file minorPiece.cc.
References osl::NStages, and osl::eval::ml::Weights::value().
osl::CArray< osl::MultiInt, osl::PTYPE_SIZE > osl::eval::ml::Promotion37::table [static] |
Definition at line 1738 of file minorPiece.h.
1.7.6.1