合法手をランダムに指す [詳細]
#include <computerPlayer.h>


Public メソッド | |
| ComputerPlayer * | clone () const |
| new したものを返す | |
| ~RandomPlayer () | |
| void | pushMove (Move m) |
| void | popMove () |
| const MoveWithComment | selectBestMove (const GameState &, int, int, int) |
合法手をランダムに指す
computerPlayer.h の 83 行で定義されています。
| osl::game_playing::RandomPlayer::~RandomPlayer | ( | ) |
computerPlayer.cc の 73 行で定義されています。
| ComputerPlayer* osl::game_playing::RandomPlayer::clone | ( | ) | const [inline, virtual] |
| void osl::game_playing::RandomPlayer::popMove | ( | ) | [virtual] |
osl::game_playing::ComputerPlayerを実装しています。
computerPlayer.cc の 82 行で定義されています。
| void osl::game_playing::RandomPlayer::pushMove | ( | Move | m | ) | [virtual] |
osl::game_playing::ComputerPlayerを実装しています。
computerPlayer.cc の 78 行で定義されています。
| const osl::search::MoveWithComment osl::game_playing::RandomPlayer::selectBestMove | ( | const GameState & | , | |
| int | seconds, | |||
| int | elapsed, | |||
| int | byoyomi | |||
| ) | [virtual] |
| seconds | 残り持ち時間 |
osl::game_playing::ComputerPlayerを実装しています。
computerPlayer.cc の 86 行で定義されています。
参照先 osl::move_generator::capture::generate(), osl::Move::INVALID(), moves, osl::game_playing::GameState::state(), と osl::misc::time_seeded_random().
1.6.3