玉の位置*攻撃駒の位置*ptype More...
#include <attackKing.h>
Classes | |
struct | Table |
Static Public Member Functions | |
static int | valueOf (const Piece king, const Piece attacker) |
static int | valueOf (Piece king, PtypeO ptypeo, Square position) |
static void | saveText (const char *filename) |
static void | loadText (const char *filename) |
static void | resetWeights (const int *w) |
Static Private Attributes | |
static Table | table |
玉の位置*攻撃駒の位置*ptype
Definition at line 19 of file attackKing.h.
static void osl::eval::endgame::AttackKing::loadText | ( | const char * | filename | ) | [inline, static] |
Definition at line 47 of file attackKing.h.
References osl::eval::endgame::KingPieceTable::loadText(), and table.
static void osl::eval::endgame::AttackKing::resetWeights | ( | const int * | w | ) | [inline, static] |
Definition at line 48 of file attackKing.h.
References osl::eval::endgame::KingPieceTable::resetWeights(), and table.
void osl::eval::endgame::AttackKing::saveText | ( | const char * | filename | ) | [static] |
Definition at line 369 of file attackKing.cc.
static int osl::eval::endgame::AttackKing::valueOf | ( | const Piece | king, |
const Piece | attacker | ||
) | [inline, static] |
Definition at line 34 of file attackKing.h.
References osl::Piece::ptypeO(), and osl::Piece::square().
Referenced by osl::eval::endgame::AttackKing::Table::adhoc_edge_king_1().
static int osl::eval::endgame::AttackKing::valueOf | ( | Piece | king, |
PtypeO | ptypeo, | ||
Square | position | ||
) | [inline, static] |
Definition at line 38 of file attackKing.h.
References osl::getOwner(), osl::getPtype(), osl::KING, osl::Piece::owner(), osl::Piece::ptype(), osl::Piece::square(), table, and osl::eval::endgame::KingPieceTable::valueOf().
eval::endgame::AttackKing::Table osl::eval::endgame::AttackKing::table [static, private] |
Definition at line 32 of file attackKing.h.
Referenced by loadText(), resetWeights(), and valueOf().