vector<Moves>の追跡 [詳細]
#include <recordTracer.h>


Public 型 | |
| typedef vector< Move > | moves_t |
Public メソッド | |
| RecordTracer (const moves_t &moves, bool verbose=false) | |
| RecordTracer (const RecordTracer &) | |
| ~RecordTracer () | |
| OpeningBookTracer * | clone () const |
| new したものを返す | |
| void | update (Move) |
| 指した手に対応して状態を更新する. | |
| const Move | selectMove () const |
| 良い手を探す.状態は更新しない. | |
| int | stateIndex () const |
| bool | isOutOfBook () const |
| void | popMove () |
| 一手前の状態に戻す | |
Static Public メソッド | |
| static const RecordTracer | kisenRecord (const char *filename, int id, unsigned int num_moves, bool verbose) |
Private 変数 | |
| const moves_t | moves |
| stack< int > | state_index |
| bool | verbose |
vector<Moves>の追跡
recordTracer.h の 17 行で定義されています。
| typedef vector<Move> osl::game_playing::RecordTracer::moves_t |
recordTracer.h の 20 行で定義されています。
| osl::game_playing::RecordTracer::RecordTracer | ( | const moves_t & | moves, | |
| bool | verbose = false | |||
| ) | [explicit] |
参照元 clone(), と kisenRecord().
| osl::game_playing::RecordTracer::RecordTracer | ( | const RecordTracer & | copy | ) |
recordTracer.cc の 19 行で定義されています。
| osl::game_playing::RecordTracer::~RecordTracer | ( | ) |
recordTracer.cc の 26 行で定義されています。
| osl::game_playing::OpeningBookTracer * osl::game_playing::RecordTracer::clone | ( | ) | const [virtual] |
new したものを返す
osl::game_playing::OpeningBookTracerを実装しています。
recordTracer.cc の 31 行で定義されています。
参照先 RecordTracer().
| bool osl::game_playing::RecordTracer::isOutOfBook | ( | ) | const [virtual] |
osl::game_playing::OpeningBookTracerを実装しています。
recordTracer.cc の 64 行で定義されています。
参照先 stateIndex().
参照元 selectMove(), と update().
| const osl::game_playing::RecordTracer osl::game_playing::RecordTracer::kisenRecord | ( | const char * | filename, | |
| int | id, | |||
| unsigned int | num_moves, | |||
| bool | verbose | |||
| ) | [static] |
recordTracer.cc の 75 行で定義されています。
参照先 moves, と RecordTracer().
| void osl::game_playing::RecordTracer::popMove | ( | ) | [virtual] |
一手前の状態に戻す
osl::game_playing::OpeningBookTracerを実装しています。
recordTracer.cc の 69 行で定義されています。
参照先 state_index.
| const osl::Move osl::game_playing::RecordTracer::selectMove | ( | ) | const [virtual] |
良い手を探す.状態は更新しない.
osl::game_playing::OpeningBookTracerを実装しています。
recordTracer.cc の 56 行で定義されています。
参照先 osl::Move::INVALID(), isOutOfBook(), moves, と stateIndex().
| int osl::game_playing::RecordTracer::stateIndex | ( | ) | const [inline] |
| void osl::game_playing::RecordTracer::update | ( | Move | ) | [virtual] |
指した手に対応して状態を更新する.
osl::game_playing::OpeningBookTracerを実装しています。
recordTracer.cc の 37 行で定義されています。
参照先 isOutOfBook(), moves, osl::record::csa::show(), state_index, stateIndex(), と verbose.
const moves_t osl::game_playing::RecordTracer::moves [private] |
recordTracer.h の 22 行で定義されています。
参照元 kisenRecord(), selectMove(), と update().
stack<int> osl::game_playing::RecordTracer::state_index [private] |
recordTracer.h の 23 行で定義されています。
参照元 popMove(), stateIndex(), と update().
bool osl::game_playing::RecordTracer::verbose [private] |
1.6.3