My Project
|
#include <pin.h>
Public Member Functions | |
template<osl::Player Defense> | |
osl::MultiInt | evalOne (const NumEffectState &state) |
Static Public Member Functions | |
static MultiInt | eval (const NumEffectState &state) |
Static Protected Attributes | |
static CArray< MultiInt, 80 > | table |
static CArray< MultiInt, 48 > | pawn_table |
static CArray< MultiInt, 560 > | distance_table |
Static Private Member Functions | |
template<Player Defense> | |
static MultiInt | evalOne (const NumEffectState &state) |
template<Player Defense> | |
static bool | pawnAttack (const NumEffectState &state, Piece piece) |
|
static |
Definition at line 185 of file eval_pin.cc.
Referenced by osl::eval::ml::OpenMidEndingEval::debugInfo(), osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval(), and osl::eval::ml::OpenMidEndingEval::updateSub().
osl::MultiInt osl::eval::ml::PinPtypeAll::evalOne | ( | const NumEffectState & | state | ) |
Definition at line 115 of file eval_pin.cc.
References osl::alt(), osl::BLACK, osl::NumEffectState::hasEffectAt(), osl::NumEffectState::hasEffectByPtypeStrict(), osl::SimpleState::kingSquare(), osl::LANCE, osl::SimpleState::pieceOf(), osl::NumEffectState::pin(), osl::Piece::ptype(), osl::PTYPE_SIZE, osl::Piece::square(), osl::WHITE, osl::Square::x(), and osl::Square::y().
|
staticprivate |
|
inlinestaticprivate |
Definition at line 53 of file pin.h.
References osl::alt(), osl::NumEffectState::hasEffectByPtypeStrict(), osl::Piece::isEmpty(), osl::Square::isOnBoard(), osl::SimpleState::isPawnMaskSet(), osl::PAWN, osl::SimpleState::pieceAt(), osl::Piece::square(), and osl::Square::x().
|
staticprotected |
|
staticprotected |
|
staticprotected |