All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
osl::game_playing::RandomPlayer Class Reference

合法手をランダムに指す More...

#include <computerPlayer.h>

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

Public Member Functions

ComputerPlayerclone () const
 new したものを返す More...
 
 ~RandomPlayer ()
 
void pushMove (Move m)
 
void popMove ()
 
const MoveWithComment selectBestMove (const GameState &, int, int, int)
 
- Public Member Functions inherited from osl::game_playing::ComputerPlayer
 ComputerPlayer ()
 
virtual ~ComputerPlayer ()
 
virtual bool isReasonableMove (const GameState &, Move move, int pawn_sacrifice)
 
virtual void setInitialState (const NumEffectState &)
 
virtual void allowSpeculativeSearch (bool value)
 相手時間の探索を許可する (GameManager が操作) More...
 
virtual bool stopSearchNow ()
 探索をとめる More...
 
virtual void setRootIgnoreMoves (const container::MoveVector *rim, bool prediction)
 

Additional Inherited Members

- Protected Attributes inherited from osl::game_playing::ComputerPlayer
bool speculative_search_allowed
 

Detailed Description

合法手をランダムに指す

Definition at line 83 of file computerPlayer.h.

Constructor & Destructor Documentation

osl::game_playing::RandomPlayer::~RandomPlayer ( )

Definition at line 73 of file computerPlayer.cc.

Member Function Documentation

ComputerPlayer* osl::game_playing::RandomPlayer::clone ( ) const
inlinevirtual

new したものを返す

Implements osl::game_playing::ComputerPlayer.

Definition at line 86 of file computerPlayer.h.

void osl::game_playing::RandomPlayer::popMove ( )
virtual

Implements osl::game_playing::ComputerPlayer.

Definition at line 82 of file computerPlayer.cc.

void osl::game_playing::RandomPlayer::pushMove ( Move  m)
virtual

Implements osl::game_playing::ComputerPlayer.

Definition at line 78 of file computerPlayer.cc.

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

The documentation for this class was generated from the following files: