#include <computerPlayer.h>
Public メソッド | |
ComputerPlayer () | |
virtual | ~ComputerPlayer () |
virtual ComputerPlayer * | clone () const =0 |
new したものを返す | |
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 が操作) | |
virtual bool | stopSearchNow () |
探索をとめる | |
virtual void | setRootIgnoreMoves (const container::MoveVector *rim, bool prediction) |
Protected 変数 | |
bool | speculative_search_allowed |
computerPlayer.h の 24 行で定義されています。
osl::game_playing::ComputerPlayer::ComputerPlayer | ( | ) | [inline] |
computerPlayer.h の 29 行で定義されています。
osl::game_playing::ComputerPlayer::~ComputerPlayer | ( | ) | [virtual] |
computerPlayer.cc の 11 行で定義されています。
void osl::game_playing::ComputerPlayer::allowSpeculativeSearch | ( | bool | value | ) | [virtual] |
相手時間の探索を許可する (GameManager が操作)
osl::game_playing::BookPlayerで再定義されています。
computerPlayer.cc の 22 行で定義されています。
virtual ComputerPlayer* osl::game_playing::ComputerPlayer::clone | ( | ) | const [pure virtual] |
new したものを返す
osl::game_playing::AlphaBeta2ProgressEvalPlayer, osl::game_playing::AlphaBeta2OpenMidEndingEvalPlayer, osl::game_playing::AlphaBeta3OpenMidEndingEvalPlayer, osl::game_playing::BookPlayer, osl::game_playing::ResignPlayer, osl::game_playing::RandomPlayer, と osl::game_playing::SpeculativeSearchPlayerで実装されています。
参照元 osl::game_playing::SpeculativeAllMoves::SearchAllMoves::setUp().
bool osl::game_playing::ComputerPlayer::isReasonableMove | ( | const GameState & | , | |
Move | move, | |||
int | pawn_sacrifice | |||
) | [virtual] |
osl::game_playing::AlphaBeta2ProgressEvalPlayer, osl::game_playing::AlphaBeta2OpenMidEndingEvalPlayer, と osl::game_playing::AlphaBeta3OpenMidEndingEvalPlayerで再定義されています。
computerPlayer.cc の 16 行で定義されています。
virtual void osl::game_playing::ComputerPlayer::popMove | ( | ) | [pure virtual] |
virtual void osl::game_playing::ComputerPlayer::pushMove | ( | Move | m | ) | [pure virtual] |
virtual const MoveWithComment osl::game_playing::ComputerPlayer::selectBestMove | ( | const GameState & | , | |
int | seconds, | |||
int | elapsed, | |||
int | byoyomi | |||
) | [pure virtual] |
void osl::game_playing::ComputerPlayer::setInitialState | ( | const NumEffectState & | ) | [virtual] |
osl::game_playing::BookPlayerで再定義されています。
computerPlayer.cc の 28 行で定義されています。
void osl::game_playing::ComputerPlayer::setRootIgnoreMoves | ( | const container::MoveVector * | rim, | |
bool | prediction | |||
) | [virtual] |
osl::game_playing::BookPlayerで再定義されています。
computerPlayer.cc の 39 行で定義されています。
bool osl::game_playing::ComputerPlayer::stopSearchNow | ( | ) | [virtual] |
探索をとめる
osl::game_playing::BookPlayer, osl::game_playing::SearchPlayer, と osl::game_playing::SpeculativeSearchPlayerで再定義されています。
computerPlayer.cc の 33 行で定義されています。
bool osl::game_playing::ComputerPlayer::speculative_search_allowed [protected] |