#include <computerPlayer.h>
Public Member Functions | |
ComputerPlayer () | |
virtual | ~ComputerPlayer () |
virtual ComputerPlayer * | clone () const =0 |
new したものを返す More... | |
virtual void | pushMove (Move m)=0 |
virtual void | popMove ()=0 |
virtual bool | isReasonableMove (const GameState &, Move move, int pawn_sacrifice) |
virtual const MoveWithComment | selectBestMove (const GameState &, int seconds, int elapsed, int byoyomi)=0 |
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) |
Protected Attributes | |
bool | speculative_search_allowed |
Definition at line 24 of file computerPlayer.h.
|
inline |
Definition at line 29 of file computerPlayer.h.
|
virtual |
Definition at line 11 of file computerPlayer.cc.
|
virtual |
相手時間の探索を許可する (GameManager が操作)
Reimplemented in osl::game_playing::BookPlayer.
Definition at line 22 of file computerPlayer.cc.
Referenced by osl::game_playing::BookPlayer::allowSpeculativeSearch().
|
pure virtual |
new したものを返す
Implemented in osl::game_playing::RandomPlayer, osl::game_playing::ResignPlayer, osl::game_playing::AlphaBeta4Player, osl::game_playing::AlphaBeta3OpenMidEndingEvalPlayer, osl::game_playing::AlphaBeta2OpenMidEndingEvalPlayer, osl::game_playing::SpeculativeSearchPlayer, osl::game_playing::BookPlayer, and osl::game_playing::AlphaBeta2ProgressEvalPlayer.
Referenced by osl::game_playing::SpeculativeAllMoves::SearchAllMoves::setUp().
|
virtual |
Reimplemented in osl::game_playing::AlphaBeta4Player, osl::game_playing::AlphaBeta3OpenMidEndingEvalPlayer, osl::game_playing::AlphaBeta2OpenMidEndingEvalPlayer, and osl::game_playing::AlphaBeta2ProgressEvalPlayer.
Definition at line 16 of file computerPlayer.cc.
|
pure virtual |
|
pure virtual |
|
pure virtual |
seconds | 残り持ち時間 |
Implemented in osl::game_playing::SearchPlayer, osl::game_playing::RandomPlayer, osl::game_playing::ResignPlayer, osl::game_playing::SpeculativeSearchPlayer, and osl::game_playing::BookPlayer.
|
virtual |
Reimplemented in osl::game_playing::BookPlayer.
Definition at line 28 of file computerPlayer.cc.
|
virtual |
Reimplemented in osl::game_playing::BookPlayer.
Definition at line 39 of file computerPlayer.cc.
Referenced by osl::game_playing::BookPlayer::setRootIgnoreMoves().
|
virtual |
探索をとめる
Reimplemented in osl::game_playing::SearchPlayer, osl::game_playing::BookPlayer, and osl::game_playing::SpeculativeSearchPlayer.
Definition at line 33 of file computerPlayer.cc.
|
protected |
Definition at line 27 of file computerPlayer.h.