#include <pin.h>
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) |
Definition at line 47 of file eval/ml/pin.h.
osl::MultiInt osl::eval::ml::PinPtypeAll::eval | ( | const NumEffectState & | state | ) | [static] |
Definition at line 186 of file eval/ml/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 | ) | [static, private] |
Definition at line 116 of file eval/ml/pin.cc.
References osl::alt(), osl::BLACK, osl::LANCE, osl::Piece::ptype(), osl::PTYPE_SIZE, result, osl::Piece::square(), osl::WHITE, osl::Square::x(), and osl::Square::y().
static bool osl::eval::ml::PinPtypeAll::pawnAttack | ( | const NumEffectState & | state, |
Piece | piece | ||
) | [inline, static, private] |
Definition at line 55 of file eval/ml/pin.h.
References osl::alt(), osl::Square::isOnBoard(), osl::PAWN, osl::Piece::square(), and osl::Square::x().
osl::misc::CArray< MultiInt, 560 > osl::eval::ml::PinPtypeAll::distance_table [static, protected] |
Definition at line 68 of file eval/ml/pin.h.
osl::misc::CArray< MultiInt, 48 > osl::eval::ml::PinPtypeAll::pawn_table [static, protected] |
Definition at line 67 of file eval/ml/pin.h.
osl::misc::CArray< MultiInt, 80 > osl::eval::ml::PinPtypeAll::table [static, protected] |
Definition at line 66 of file eval/ml/pin.h.