相手の手の予測1つにつき1thread [詳細]
#include <threadForEachMove.h>
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.h の 19 行で定義されています。
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] |
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 | ||||
) |
int osl::game_playing::ThreadForEachMove::max_threads [private] |
threadForEachMove.h の 24 行で定義されています。
参照元 setMaxThreads().
boost::scoped_ptr<SpeculativeThread> osl::game_playing::ThreadForEachMove::speculative_thread0 [private] |
threadForEachMove.h の 21 行で定義されています。
boost::scoped_ptr<SpeculativeThread> osl::game_playing::ThreadForEachMove::speculative_thread1 [private] |
threadForEachMove.h の 23 行で定義されています。