クラス osl::game_playing::SpeculativeAllMoves::SearchAllMoves

ؼ̤resultsˤ롥 run threadưȤꤷƤ뤬༡ǤƥȲ [詳細]

#include <speculativeAllMoves.h>

osl::game_playing::SpeculativeAllMoves::SearchAllMovesのコラボレーション図

Collaboration graph
[凡例]

すべてのメンバ一覧

Public 型

enum  Status {
  INITIAL, RUNNING, PREDICTION1, PREDICTION2,
  SEARCH1, SEARCH2, FINISHED
}

Public メソッド

 SearchAllMoves (SpeculativeAllMoves::ResultVector &)
 ~SearchAllMoves ()
void setUp (const GameState &, const SearchPlayer &, int standard_seconds, bool has_byoyomi)
void run ()
void stopNow ()
void stopOtherThan (Move)
void waitRunning ()
bool isFinished () const
void setStopSchedule (const misc::RealTime &timer)
const Move currentMove () const
SearchPlayercurrentPlayer ()

Private 型

typedef boost::mutex Mutex

Private メソッド

const MoveWithComment testMove (Move)

Private 変数

boost::shared_ptr< GameStatestate
boost::shared_ptr< SearchPlayerplayer
boost::scoped_ptr< Generatorgenerator
SpeculativeAllMoves::ResultVectorresults
Move current_move
volatile Status status
int seconds
Mutex mutex
boost::condition condition
volatile bool stop_flag
 true ʤ鼡ͽõˤϤʤ

フレンド

class Generator
class SpeculativeAllMoves

構成

struct  Generator
struct  StatusLock


説明

ؼ̤resultsˤ롥 run threadưȤꤷƤ뤬༡ǤƥȲ

speculativeAllMoves.h80 行で定義されています。


型定義

speculativeAllMoves.h97 行で定義されています。


列挙型

列挙型の値:
INITIAL 
RUNNING 
PREDICTION1 
PREDICTION2 
SEARCH1 
SEARCH2 
FINISHED 

speculativeAllMoves.h83 行で定義されています。


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

osl::game_playing::SpeculativeAllMoves::SearchAllMoves::SearchAllMoves ( SpeculativeAllMoves::ResultVector r  )  [explicit]

speculativeAllMoves.cc139 行で定義されています。

osl::game_playing::SpeculativeAllMoves::SearchAllMoves::~SearchAllMoves (  ) 

speculativeAllMoves.cc146 行で定義されています。


関数

void osl::game_playing::SpeculativeAllMoves::SearchAllMoves::setUp ( const GameState main_state,
const SearchPlayer main_player,
int  standard_seconds,
bool  has_byoyomi 
)

void osl::game_playing::SpeculativeAllMoves::SearchAllMoves::run (  ) 

void osl::game_playing::SpeculativeAllMoves::SearchAllMoves::stopNow (  ) 

speculativeAllMoves.cc262 行で定義されています。

void osl::game_playing::SpeculativeAllMoves::SearchAllMoves::stopOtherThan ( Move  the_move  ) 

speculativeAllMoves.cc247 行で定義されています。

参照先 show().

void osl::game_playing::SpeculativeAllMoves::SearchAllMoves::waitRunning (  ) 

speculativeAllMoves.cc277 行で定義されています。

bool osl::game_playing::SpeculativeAllMoves::SearchAllMoves::isFinished (  )  const [inline]

speculativeAllMoves.h114 行で定義されています。

参照先 FINISHED, と status.

void osl::game_playing::SpeculativeAllMoves::SearchAllMoves::setStopSchedule ( const misc::RealTime timer  ) 

speculativeAllMoves.cc289 行で定義されています。

const osl::Move osl::game_playing::SpeculativeAllMoves::SearchAllMoves::currentMove (  )  const

speculativeAllMoves.cc299 行で定義されています。

SearchPlayer* osl::game_playing::SpeculativeAllMoves::SearchAllMoves::currentPlayer (  )  [inline]

speculativeAllMoves.h119 行で定義されています。

参照先 player.

const osl::game_playing::MoveWithComment osl::game_playing::SpeculativeAllMoves::SearchAllMoves::testMove ( Move  predicted_move  )  [private]


フレンドと関連する関数

friend class Generator [friend]

speculativeAllMoves.h86 行で定義されています。

friend class SpeculativeAllMoves [friend]

speculativeAllMoves.h88 行で定義されています。


変数

speculativeAllMoves.h90 行で定義されています。

speculativeAllMoves.h91 行で定義されています。

参照元 currentPlayer().

speculativeAllMoves.h92 行で定義されています。

speculativeAllMoves.h93 行で定義されています。

speculativeAllMoves.h94 行で定義されています。

speculativeAllMoves.h95 行で定義されています。

参照元 isFinished().

speculativeAllMoves.h96 行で定義されています。

speculativeAllMoves.h98 行で定義されています。

speculativeAllMoves.h99 行で定義されています。

true ʤ鼡ͽõˤϤʤ

speculativeAllMoves.h101 行で定義されています。


このクラスの説明は次のファイルから生成されました:

Thu Oct 8 05:01:16 2009に生成されました。  doxygen 1.5.6