Public Member Functions | |
Table () | |
![]() | |
int & | valueOf (Square king, Player defense, Square other, Ptype ptype) |
int | valueOf (Square king, Player defense, Square other, Ptype ptype) const |
void | saveText (const char *filename) const |
kingPieceTable.cc More... | |
void | loadText (const char *filename) |
void | resetWeights (const int *w) |
void | randomize () |
void | clear () |
Additional Inherited Members | |
![]() | |
enum | { EffectiveDimension = 81*2*82*PTYPE_SIZE } |
![]() | |
static int | otherIndex (Square other, Ptype ptype) |
static int | kingIndex (Square king, Player defense) |
static int | effectiveIndexOf (Square king, Player defense, Square other, Ptype ptype) |
static int | dimension () |
![]() | |
KingPieceTable () | |
![]() | |
CArray2d< int, Square::SIZE *2, Square::SIZE *PTYPE_SIZE > | data |
Definition at line 21 of file defenseKing.h.
osl::eval::endgame::DefenseKing::Table::Table | ( | ) |
Definition at line 88 of file defenseKing.cc.
References osl::BISHOP, osl::BLACK, osl::GOLD, osl::isMajorBasic(), osl::isPiece(), osl::KING, osl::KNIGHT, osl::LANCE, osl::eval::min(), osl::newPtypeO(), osl::PAWN, osl::PBISHOP, osl::PSILVER, osl::eval::Ptype_Eval_Table, osl::PTYPE_MAX, osl::PTYPE_PIECE_MIN, osl::ROOK, osl::Square::rotate180(), osl::SILVER, osl::Square::STAND(), osl::unpromote(), osl::eval::PtypeEvalTable::value(), osl::eval::endgame::DefenseKing::valueOf(), and osl::WHITE.