vector<Moves>の追跡 More...
#include <recordTracer.h>


Public Types | |
| typedef vector< Move > | moves_t |
Public Member Functions | |
| RecordTracer (const moves_t &moves, bool verbose=false) | |
| RecordTracer (const RecordTracer &) | |
| ~RecordTracer () | |
| OpeningBookTracer * | clone () const |
| new したものを返す More... | |
| void | update (Move) |
| 指した手に対応して状態を更新する. More... | |
| const Move | selectMove () const |
| 良い手を探す.状態は更新しない. More... | |
| int | stateIndex () const |
| bool | isOutOfBook () const |
| void | popMove () |
| 一手前の状態に戻す More... | |
Public Member Functions inherited from osl::game_playing::OpeningBookTracer | |
| OpeningBookTracer () | |
| virtual | ~OpeningBookTracer () |
| bool | isVerbose () const |
Static Public Member Functions | |
| static const RecordTracer | kisenRecord (const char *filename, int id, unsigned int num_moves, bool verbose) |
Private Attributes | |
| const moves_t | moves |
| stack< int > | state_index |
| bool | verbose |
Additional Inherited Members | |
Protected Attributes inherited from osl::game_playing::OpeningBookTracer | |
| bool | verbose |
vector<Moves>の追跡
Definition at line 17 of file recordTracer.h.
| typedef vector<Move> osl::game_playing::RecordTracer::moves_t |
Definition at line 20 of file recordTracer.h.
|
explicit |
| osl::game_playing::RecordTracer::RecordTracer | ( | const RecordTracer & | copy) |
Definition at line 19 of file recordTracer.cc.
| osl::game_playing::RecordTracer::~RecordTracer | ( | ) |
Definition at line 26 of file recordTracer.cc.
|
virtual |
new したものを返す
Implements osl::game_playing::OpeningBookTracer.
Definition at line 31 of file recordTracer.cc.
|
virtual |
Implements osl::game_playing::OpeningBookTracer.
Definition at line 64 of file recordTracer.cc.
|
static |
Definition at line 75 of file recordTracer.cc.
References moves.
|
virtual |
一手前の状態に戻す
Implements osl::game_playing::OpeningBookTracer.
Definition at line 69 of file recordTracer.cc.
|
virtual |
良い手を探す.状態は更新しない.
Implements osl::game_playing::OpeningBookTracer.
Definition at line 56 of file recordTracer.cc.
References osl::Move::INVALID(), and moves.
|
inline |
Definition at line 34 of file recordTracer.h.
References state_index.
|
virtual |
指した手に対応して状態を更新する.
Implements osl::game_playing::OpeningBookTracer.
Definition at line 37 of file recordTracer.cc.
References moves, osl::record::csa::show(), and verbose.
|
private |
Definition at line 22 of file recordTracer.h.
|
private |
Definition at line 23 of file recordTracer.h.
Referenced by stateIndex().
|
private |
Definition at line 24 of file recordTracer.h.
1.8.4