クラス osl::game_playing::SpeculativeSearchPlayer

相手時間中に探索 [詳細]

#include <speculativeSearchPlayer.h>

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

すべてのメンバ一覧

Public メソッド

 SpeculativeSearchPlayer (Player my_turn, SearchPlayer *)
 所有権移転
 ~SpeculativeSearchPlayer ()
ComputerPlayerclone () const
 new したものを返す
void pushMove (Move m)
void popMove ()
bool stopSearchNow ()
 探索をとめる
void setMaxThreads (int new_max_threads)
 ThreadForEachMove のみに有効.
const MoveWithComment selectBestMove (const GameState &, int limit, int elapsed, int byoyomi)
search::TimeAssigned standardSearchSeconds (const GameState &, int limit, int elapsed, int byoyomi) const

Private メソッド

void selectBestMoveCleanUp (const GameState &state)

Private 変数

boost::scoped_ptr< SearchPlayermain_player
boost::shared_ptr< GameStateprevious_state
boost::scoped_ptr
< SpeculativeModel
speculative
Player my_turn

説明

相手時間中に探索

speculativeSearchPlayer.h20 行で定義されています。


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

osl::game_playing::SpeculativeSearchPlayer::SpeculativeSearchPlayer ( Player  my_turn,
SearchPlayer player 
)

所有権移転

speculativeSearchPlayer.cc20 行で定義されています。

参照元 clone().

osl::game_playing::SpeculativeSearchPlayer::~SpeculativeSearchPlayer (  ) 

speculativeSearchPlayer.cc28 行で定義されています。


関数

osl::game_playing::ComputerPlayer * osl::game_playing::SpeculativeSearchPlayer::clone (  )  const [virtual]

new したものを返す

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

speculativeSearchPlayer.cc33 行で定義されています。

参照先 main_player, my_turn, と SpeculativeSearchPlayer().

void osl::game_playing::SpeculativeSearchPlayer::popMove (  )  [virtual]

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

speculativeSearchPlayer.cc78 行で定義されています。

参照先 main_player, previous_state, と speculative.

void osl::game_playing::SpeculativeSearchPlayer::pushMove ( Move  m  )  [virtual]
const osl::search::MoveWithComment osl::game_playing::SpeculativeSearchPlayer::selectBestMove ( const GameState ,
int  seconds,
int  elapsed,
int  byoyomi 
) [virtual]
void osl::game_playing::SpeculativeSearchPlayer::selectBestMoveCleanUp ( const GameState state  )  [private]

speculativeSearchPlayer.cc152 行で定義されています。

参照先 osl::game_playing::GameState::clone(), previous_state, と speculative.

参照元 selectBestMove().

void osl::game_playing::SpeculativeSearchPlayer::setMaxThreads ( int  new_max_threads  ) 

ThreadForEachMove のみに有効.

speculativeSearchPlayer.cc40 行で定義されています。

参照先 speculative.

osl::search::TimeAssigned osl::game_playing::SpeculativeSearchPlayer::standardSearchSeconds ( const GameState state,
int  limit,
int  elapsed,
int  byoyomi 
) const
bool osl::game_playing::SpeculativeSearchPlayer::stopSearchNow (  )  [virtual]

探索をとめる

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

speculativeSearchPlayer.cc86 行で定義されています。

参照先 main_player.


変数

speculativeSearchPlayer.h25 行で定義されています。

参照元 clone(), と pushMove().

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

参照元 popMove(), pushMove(), と selectBestMoveCleanUp().


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