|
My Project
|
#include <pin.h>
Public Types | |
| enum | { ONE_DIM = PTYPE_SIZE * 5 , DIM = ONE_DIM * EvalStages } |
Public Member Functions | |
| template<osl::Player Defense> | |
| osl::MultiInt | evalOne (const NumEffectState &state) |
Static Public Member Functions | |
| static void | setUp (const Weights &weights) |
| static MultiInt | eval (const NumEffectState &state) |
| template<Player King> | |
| static MultiInt | evalOne (const NumEffectState &state) |
Static Public Attributes | |
| static CArray< MultiInt, ONE_DIM > | table |
|
static |
Definition at line 247 of file eval_pin.cc.
References evalOne().
Referenced by osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval(), and osl::eval::ml::OpenMidEndingEval::updateSub().
| osl::MultiInt osl::eval::ml::CheckShadowPtype::evalOne | ( | const NumEffectState & | state | ) |
Definition at line 206 of file eval_pin.cc.
References osl::alt(), osl::BLACK, osl::NumEffectState::checkShadow(), osl::NumEffectState::hasEffectByPtypeStrict(), osl::SimpleState::kingSquare(), osl::LANCE, osl::SimpleState::pieceOf(), osl::Piece::ptype(), osl::PTYPE_SIZE, osl::Piece::square(), table, osl::WHITE, osl::Square::x(), and osl::Square::y().
|
static |
Referenced by eval().
|
static |
Definition at line 195 of file eval_pin.cc.
References osl::NStages, ONE_DIM, table, and osl::eval::ml::Weights::value().
|
static |