|
My Project
|
#include <kingTable.h>
Public Types | |
| enum | { DIM = 5 * 5 * 5 * 9 } |
Static Public Member Functions | |
| static int | evalWithUpdate (const NumEffectState &state, osl::Move moved, int last_value) |
| static void | setUp (const Weights &weigths) |
| static int | eval (const NumEffectState &state) |
Static Private Member Functions | |
| template<Player player> | |
| static int | index (Square king, Square target) |
| static int | index (Square king, Square target, Player player) |
| template<Player Defense> | |
| static int | evalOne (const NumEffectState &state) |
Static Private Attributes | |
| static CArray< int, 1125 > | table |
Definition at line 465 of file kingTable.h.
| anonymous enum |
| Enumerator | |
|---|---|
| DIM | |
Definition at line 468 of file kingTable.h.
|
static |
|
staticprivate |
Definition at line 1120 of file kingTable.cc.
References osl::BLACK, index(), osl::Piece::isEmpty(), osl::Square::isOnBoard(), osl::SimpleState::kingSquare(), osl::SimpleState::pieceAt(), table, osl::Square::x(), and osl::Square::y().
Referenced by eval().
|
static |
Definition at line 1154 of file kingTable.cc.
References osl::alt(), osl::BLACK, osl::captured(), osl::Move::capturePtype(), eval(), osl::Move::from(), index(), osl::Move::isDrop(), osl::KING, osl::SimpleState::kingSquare(), osl::Move::player(), osl::Move::ptype(), osl::PTYPE_EMPTY, table, osl::Move::to(), osl::Square::x(), and osl::Square::y().
|
staticprivate |
Definition at line 1096 of file kingTable.cc.
References osl::BLACK, osl::WHITE, osl::Square::x(), and osl::Square::y().
Referenced by evalOne(), evalWithUpdate(), and index().
|
inlinestaticprivate |
Definition at line 474 of file kingTable.h.
References osl::BLACK, and index().
|
static |
Definition at line 1086 of file kingTable.cc.
References osl::eval::ml::Weights::dimension(), table, and osl::eval::ml::Weights::value().
|
staticprivate |
Definition at line 470 of file kingTable.h.
Referenced by evalOne(), evalWithUpdate(), and setUp().