クラス osl::game_playing::RecordTracer

vector<Moves>の追跡 [詳細]

#include <recordTracer.h>

osl::game_playing::RecordTracerに対する継承グラフ
Inheritance graph
[凡例]
osl::game_playing::RecordTracerのコラボレーション図
Collaboration graph
[凡例]

すべてのメンバ一覧

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 行で定義されています。


型定義

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]

良い手を探す.状態は更新しない.

戻り値:
定跡をはずれたら Move::INVALID()

osl::game_playing::OpeningBookTracerを実装しています。

recordTracer.cc の 56 行で定義されています。

参照先 osl::Move::INVALID(), isOutOfBook(), moves, と stateIndex().

int osl::game_playing::RecordTracer::stateIndex (  )  const [inline]

recordTracer.h の 34 行で定義されています。

参照先 state_index.

参照元 isOutOfBook(), selectMove(), と update().

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.


変数

recordTracer.h の 22 行で定義されています。

参照元 kisenRecord(), selectMove(), と update().

recordTracer.h の 23 行で定義されています。

参照元 popMove(), stateIndex(), と update().

osl::game_playing::OpeningBookTracerを再定義しています。

recordTracer.h の 24 行で定義されています。

参照元 update().


このクラスの説明は次のファイルから生成されました:
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義
Sun May 16 09:58:19 2010に生成されました。  doxygen 1.6.3