クラス osl::game_playing::ThreadForEachMove

相手の手の予測1つにつき1thread [詳細]

#include <threadForEachMove.h>

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

すべてのメンバ一覧

Public メソッド

 ThreadForEachMove (int max_threads=1)
 ~ThreadForEachMove ()
void setMaxThreads (int new_max_threads)
void startSpeculative (const boost::shared_ptr< GameState > state, const SearchPlayer &main_player)
void stopOtherThan (Move)
void stopAll ()
const MoveWithComment waitResult (Move last_move, int wait_for, SearchPlayer &main_player, int)
void selectBestMoveCleanUp ()

Private 変数

boost::scoped_ptr
< SpeculativeThread > 
speculative_thread0
boost::scoped_ptr
< SpeculativeThread > 
speculative_thread1
int max_threads

説明

相手の手の予測1つにつき1thread

threadForEachMove.h19 行で定義されています。


コンストラクタとデストラクタ

osl::game_playing::ThreadForEachMove::ThreadForEachMove ( int  max_threads = 1  )  [explicit]
osl::game_playing::ThreadForEachMove::~ThreadForEachMove (  ) 

関数

void osl::game_playing::ThreadForEachMove::selectBestMoveCleanUp (  )  [virtual]

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

void osl::game_playing::ThreadForEachMove::setMaxThreads ( int  new_max_threads  )  [inline, virtual]

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

threadForEachMove.h29 行で定義されています。

参照先 max_threads.

void osl::game_playing::ThreadForEachMove::startSpeculative ( const boost::shared_ptr< GameState state,
const SearchPlayer main_player 
) [virtual]

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

void osl::game_playing::ThreadForEachMove::stopAll (  )  [virtual]

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

void osl::game_playing::ThreadForEachMove::stopOtherThan ( Move   )  [virtual]

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

const MoveWithComment osl::game_playing::ThreadForEachMove::waitResult ( Move  last_move,
int  wait_for,
SearchPlayer main_player,
int   
)

変数

threadForEachMove.h24 行で定義されています。

参照元 setMaxThreads().

boost::scoped_ptr<SpeculativeThread> osl::game_playing::ThreadForEachMove::speculative_thread0 [private]

threadForEachMove.h21 行で定義されています。

boost::scoped_ptr<SpeculativeThread> osl::game_playing::ThreadForEachMove::speculative_thread1 [private]

threadForEachMove.h23 行で定義されています。


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