All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
osl::game_playing::SpeculativeSearchPlayer Class Reference

相手時間中に探索 More...

#include <speculativeSearchPlayer.h>

Inheritance diagram for osl::game_playing::SpeculativeSearchPlayer:
Inheritance graph
[legend]
Collaboration diagram for osl::game_playing::SpeculativeSearchPlayer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 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 Member Functions

void selectBestMoveCleanUp (const GameState &state)

Private Attributes

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

Detailed Description

相手時間中に探索

Definition at line 20 of file speculativeSearchPlayer.h.


Constructor & Destructor Documentation

所有権移転

Definition at line 20 of file speculativeSearchPlayer.cc.

Definition at line 28 of file speculativeSearchPlayer.cc.


Member Function Documentation

new したものを返す

Implements osl::game_playing::ComputerPlayer.

Definition at line 33 of file speculativeSearchPlayer.cc.

Implements osl::game_playing::ComputerPlayer.

Definition at line 78 of file speculativeSearchPlayer.cc.

const osl::search::MoveWithComment osl::game_playing::SpeculativeSearchPlayer::selectBestMove ( const GameState ,
int  seconds,
int  elapsed,
int  byoyomi 
) [virtual]

Definition at line 152 of file speculativeSearchPlayer.cc.

References osl::game_playing::GameState::clone().

ThreadForEachMove のみに有効

Definition at line 40 of file speculativeSearchPlayer.cc.

osl::search::TimeAssigned osl::game_playing::SpeculativeSearchPlayer::standardSearchSeconds ( const GameState state,
int  limit,
int  elapsed,
int  byoyomi 
) const

探索をとめる

Reimplemented from osl::game_playing::ComputerPlayer.

Definition at line 86 of file speculativeSearchPlayer.cc.


Member Data Documentation

Definition at line 22 of file speculativeSearchPlayer.h.

Definition at line 25 of file speculativeSearchPlayer.h.

Definition at line 23 of file speculativeSearchPlayer.h.

Definition at line 24 of file speculativeSearchPlayer.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines