#include <openingBook.h>
Public メソッド | |
WinCountBook (const char *filename) | |
~WinCountBook () | |
int | getWinCount (int stateIndex) |
int | getLoseCount (int stateIndex) |
vector< OBMove > | getMoves (int stateIndex) |
Private メソッド | |
int | readInt () |
void | seek (int offset) |
Private 変数 | |
int | nStates |
std::ifstream | ifs |
Statevector<OBMove>ȹ鸫winCount, loseCountݻ OBMoveMoveȤMoveѤStateindex ե state - 4byte State - 16byte * state + winCount + winCount + OBMoveο + OBMoveγindex OBMove - 8byte * OBMove + Move (4byte) + Stateindex
openingBook.h の 96 行で定義されています。
osl::record::opening::WinCountBook::WinCountBook | ( | const char * | filename | ) |
osl::record::opening::WinCountBook::~WinCountBook | ( | ) |
openingBook.cc の 25 行で定義されています。
int osl::record::opening::WinCountBook::getWinCount | ( | int | stateIndex | ) |
openingBook.cc の 67 行で定義されています。
参照元 printStats(), と osl::game_playing::WinCountTracer::selectMove().
int osl::record::opening::WinCountBook::getLoseCount | ( | int | stateIndex | ) |
openingBook.cc の 74 行で定義されています。
参照元 printStats(), と osl::game_playing::WinCountTracer::selectMove().
osl::vector< osl::record::opening::OBMove > osl::record::opening::WinCountBook::getMoves | ( | int | stateIndex | ) |
openingBook.cc の 48 行で定義されています。
参照先 osl::Move::makeDirect(), moves, nStates, readInt(), と seek().
参照元 printNextMoves(), osl::game_playing::WinCountTracer::selectMove(), と osl::game_playing::WinCountTracer::update().
int osl::record::opening::WinCountBook::readInt | ( | ) | [private] |
openingBook.cc の 30 行で定義されています。
参照先 ifs.
参照元 getLoseCount(), getMoves(), getWinCount(), と WinCountBook().
void osl::record::opening::WinCountBook::seek | ( | int | offset | ) | [private] |
int osl::record::opening::WinCountBook::nStates [private] |
std::ifstream osl::record::opening::WinCountBook::ifs [private] |