#include <winCountTracer.h>
Public 型 | |
typedef record::opening::WinCountBook | WinCountBook |
Public メソッド | |
WinCountTracer (WinCountBook &, int randomness=0, bool verbose=false) | |
WinCountTracer (const WinCountTracer &) | |
OpeningBookTracer * | clone () const |
new Τ֤ | |
void | update (Move) |
ؤбƾ֤롥 | |
const Move | selectMove () const |
ɤõ֤Ϲʤ | |
int | stateIndex () const |
bool | isOutOfBook () const |
void | popMove () |
ξ֤᤹ | |
Private 変数 | |
WinCountBook & | book |
int | state_index |
Player | turn |
int | randomness |
bool | verbose |
osl::stack< int > | state_stack |
winCountTracer.h の 23 行で定義されています。
winCountTracer.h の 26 行で定義されています。
osl::game_playing::WinCountTracer::WinCountTracer | ( | WinCountBook & | b, | |
int | randomness = 0 , |
|||
bool | verbose = false | |||
) | [explicit] |
osl::game_playing::WinCountTracer::WinCountTracer | ( | const WinCountTracer & | copy | ) |
winCountTracer.cc の 19 行で定義されています。
osl::game_playing::OpeningBookTracer * osl::game_playing::WinCountTracer::clone | ( | ) | const [virtual] |
new Τ֤
osl::game_playing::OpeningBookTracerを実装しています。
winCountTracer.cc の 28 行で定義されています。
参照先 WinCountTracer().
void osl::game_playing::WinCountTracer::update | ( | Move | ) | [virtual] |
ؤбƾ֤롥
osl::game_playing::OpeningBookTracerを実装しています。
winCountTracer.cc の 34 行で定義されています。
参照先 book, osl::changeTurn(), osl::record::opening::WinCountBook::getMoves(), isOutOfBook(), moves, osl::Move::player(), state_index, state_stack, turn, と verbose.
const osl::Move osl::game_playing::WinCountTracer::selectMove | ( | ) | const [virtual] |
ɤõ֤Ϲʤ
osl::game_playing::OpeningBookTracerを実装しています。
winCountTracer.cc の 74 行で定義されています。
参照先 osl::BLACK, book, osl::record::opening::WinCountBook::getLoseCount(), osl::record::opening::WinCountBook::getMoves(), osl::record::opening::WinCountBook::getWinCount(), osl::Move::INVALID(), moves, randomness, state_index, osl::misc::time_seeded_random(), turn, と verbose.
int osl::game_playing::WinCountTracer::stateIndex | ( | ) | const [inline] |
bool osl::game_playing::WinCountTracer::isOutOfBook | ( | ) | const [virtual] |
osl::game_playing::OpeningBookTracerを実装しています。
winCountTracer.cc の 68 行で定義されています。
参照先 state_index.
参照元 update().
void osl::game_playing::WinCountTracer::popMove | ( | ) | [virtual] |
ξ֤᤹
osl::game_playing::OpeningBookTracerを実装しています。
winCountTracer.cc の 60 行で定義されています。
参照先 osl::changeTurn(), state_index, state_stack, と turn.
int osl::game_playing::WinCountTracer::state_index [private] |
winCountTracer.h の 29 行で定義されています。
参照元 isOutOfBook(), popMove(), selectMove(), stateIndex(), と update().
int osl::game_playing::WinCountTracer::randomness [private] |
bool osl::game_playing::WinCountTracer::verbose [private] |
osl::stack<int> osl::game_playing::WinCountTracer::state_stack [private] |