|
My Project
|
#include <pieceStand.h>
Public Types | |
| enum | { ONE_DIM = osl::Piece::SIZE * 9 , DIM = ONE_DIM * 2*EvalStages } |
Public Member Functions | |
| template<osl::Player P> | |
| osl::MultiInt | evalWithUpdate (const NumEffectState &state, Move moved, const MultiInt &last_value) |
Static Public Member Functions | |
| static void | setUp (const Weights &weights) |
| static MultiInt | eval (const NumEffectState &state) |
| template<Player P> | |
| static MultiInt | evalWithUpdate (const NumEffectState &state, Move moved, const MultiInt &last_value) |
Static Private Member Functions | |
| static int | index (Ptype ptype, Player player, Square king, int count) |
| static int | index (int i, Player player, Square king, int count) |
| static void | updateResult (NumEffectState const &state, MultiInt &result, int i, Ptype ptype, CArray< Square, 2 > const &kings) |
Static Private Attributes | |
| static CArray< MultiInt, 360 > | y_attack_table |
| static CArray< MultiInt, 360 > | y_defense_table |
| static CArray< MultiInt, 9 *7 *19 > | y_attack_table_sum |
| static CArray< MultiInt, 9 *7 *19 > | y_defense_table_sum |
Definition at line 115 of file eval/pieceStand.h.
| anonymous enum |
| Enumerator | |
|---|---|
| ONE_DIM | |
| DIM | |
Definition at line 134 of file eval/pieceStand.h.
|
static |
Definition at line 358 of file eval_pieceStand.cc.
References osl::BISHOP, osl::BLACK, osl::GOLD, osl::SimpleState::kingSquare(), osl::KNIGHT, osl::LANCE, osl::PAWN, osl::ROOK, osl::SILVER, and osl::WHITE.
Referenced by osl::eval::ml::OpenMidEndingEval::OpenMidEndingEval().
| osl::MultiInt osl::eval::ml::PieceStandY::evalWithUpdate | ( | const NumEffectState & | state, |
| Move | moved, | ||
| const MultiInt & | last_value | ||
| ) |
Definition at line 377 of file eval_pieceStand.cc.
References osl::alt(), osl::BLACK, osl::Move::capturePtype(), osl::SimpleState::countPiecesOnStand(), osl::Move::isCapture(), osl::Move::isDrop(), osl::KING, osl::SimpleState::kingSquare(), osl::Move::ptype(), and osl::unpromote().
|
static |
|
inlinestaticprivate |
Definition at line 127 of file eval/pieceStand.h.
References osl::BLACK, and osl::Square::y().
|
inlinestaticprivate |
Definition at line 122 of file eval/pieceStand.h.
References osl::BLACK, osl::PtypeTable::getIndexMin(), osl::Ptype_Table, and osl::Square::y().
Referenced by updateResult().
|
static |
Definition at line 311 of file eval_pieceStand.cc.
References osl::BLACK, osl::PtypeTable::getIndexLimit(), osl::PtypeTable::getIndexMin(), osl::NStages, osl::PieceStand::order, osl::Ptype_Table, and osl::eval::ml::Weights::value().
|
inlinestaticprivate |
Definition at line 346 of file eval_pieceStand.cc.
References osl::BLACK, osl::SimpleState::countPiecesOnStand(), index(), and osl::WHITE.
|
staticprivate |
Definition at line 118 of file eval/pieceStand.h.
|
staticprivate |
Definition at line 120 of file eval/pieceStand.h.
|
staticprivate |
Definition at line 119 of file eval/pieceStand.h.
|
staticprivate |
Definition at line 121 of file eval/pieceStand.h.