|
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.
References evalOne().
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, distance_table, osl::NumEffectState::hasEffectAt(), osl::NumEffectState::hasEffectByPtypeStrict(), osl::SimpleState::kingSquare(), osl::LANCE, pawn_table, pawnAttack(), osl::SimpleState::pieceOf(), osl::NumEffectState::pin(), osl::Piece::ptype(), osl::PTYPE_SIZE, osl::Piece::square(), table, osl::WHITE, osl::Square::x(), and osl::Square::y().
|
staticprivate |
Referenced by eval().
|
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().
Referenced by evalOne().
|
staticprotected |
Definition at line 66 of file pin.h.
Referenced by evalOne(), and osl::eval::ml::PinPtypeDistance::setUp().
|
staticprotected |
Definition at line 65 of file pin.h.
Referenced by evalOne(), and osl::eval::ml::PinPtypePawnAttack::setUp().
|
staticprotected |
Definition at line 64 of file pin.h.
Referenced by evalOne(), and osl::eval::ml::PinPtype::setUp().