#include <bookPlayer.h>
Public メソッド | |
BookPlayer (OpeningBookTracer *, ComputerPlayer *) | |
ͭž: new ΤϤ | |
~BookPlayer () | |
ComputerPlayer * | clone () const |
new Τ֤ | |
void | setBookLimit (int new_limit) |
ޤפȤ. | |
void | pushMove (Move m) |
void | popMove () |
const MoveWithComment | selectBestMove (const GameState &, int seconds, int byoyomi) |
void | allowSpeculativeSearch (bool value) |
֤õĤ (GameManager ) | |
bool | bookAvailable () const |
Private 変数 | |
boost::scoped_ptr < OpeningBookTracer > | book |
boost::scoped_ptr< ComputerPlayer > | searcher |
int | book_limit |
int | current_moves |
bookPlayer.h の 16 行で定義されています。
osl::game_playing::BookPlayer::BookPlayer | ( | OpeningBookTracer * | b, | |
ComputerPlayer * | s | |||
) |
osl::game_playing::BookPlayer::~BookPlayer | ( | ) |
bookPlayer.cc の 16 行で定義されています。
osl::game_playing::ComputerPlayer * osl::game_playing::BookPlayer::clone | ( | ) | const [virtual] |
new Τ֤
osl::game_playing::ComputerPlayerを実装しています。
bookPlayer.cc の 21 行で定義されています。
参照先 book, BookPlayer(), と searcher.
void osl::game_playing::BookPlayer::setBookLimit | ( | int | new_limit | ) |
void osl::game_playing::BookPlayer::pushMove | ( | Move | m | ) | [virtual] |
osl::game_playing::ComputerPlayerを実装しています。
bookPlayer.cc の 33 行で定義されています。
参照先 book, current_moves, と searcher.
void osl::game_playing::BookPlayer::popMove | ( | ) | [virtual] |
osl::game_playing::ComputerPlayerを実装しています。
bookPlayer.cc の 40 行で定義されています。
参照先 book, current_moves, と searcher.
const osl::game_playing::MoveWithComment osl::game_playing::BookPlayer::selectBestMove | ( | const GameState & | , | |
int | seconds, | |||
int | byoyomi | |||
) | [virtual] |
seconds | Ĥ |
osl::game_playing::ComputerPlayerを実装しています。
bookPlayer.cc の 55 行で定義されています。
参照先 book, bookAvailable(), osl::game_playing::GameState::isIllegal(), osl::Move::isNormal(), と searcher.
void osl::game_playing::BookPlayer::allowSpeculativeSearch | ( | bool | value | ) | [virtual] |
֤õĤ (GameManager )
osl::game_playing::ComputerPlayerを再定義しています。
bookPlayer.cc の 70 行で定義されています。
参照先 osl::game_playing::ComputerPlayer::allowSpeculativeSearch(), と searcher.
bool osl::game_playing::BookPlayer::bookAvailable | ( | ) | const |
boost::scoped_ptr<OpeningBookTracer> osl::game_playing::BookPlayer::book [private] |
bookPlayer.h の 18 行で定義されています。
参照元 bookAvailable(), clone(), popMove(), pushMove(), と selectBestMove().
boost::scoped_ptr<ComputerPlayer> osl::game_playing::BookPlayer::searcher [private] |
bookPlayer.h の 19 行で定義されています。
参照元 allowSpeculativeSearch(), clone(), popMove(), pushMove(), と selectBestMove().
int osl::game_playing::BookPlayer::book_limit [private] |
int osl::game_playing::BookPlayer::current_moves [private] |