合法手をランダムに指す More...
#include <computerPlayer.h>


Public Member Functions | |
| ComputerPlayer * | clone () 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 |
合法手をランダムに指す
Definition at line 83 of file computerPlayer.h.
| osl::game_playing::RandomPlayer::~RandomPlayer | ( | ) |
Definition at line 73 of file computerPlayer.cc.
|
inlinevirtual |
new したものを返す
Implements osl::game_playing::ComputerPlayer.
Definition at line 86 of file computerPlayer.h.
|
virtual |
Implements osl::game_playing::ComputerPlayer.
Definition at line 82 of file computerPlayer.cc.
|
virtual |
Implements osl::game_playing::ComputerPlayer.
Definition at line 78 of file computerPlayer.cc.
|
virtual |
| seconds | 残り持ち時間 |
Implements osl::game_playing::ComputerPlayer.
Definition at line 86 of file computerPlayer.cc.
References osl::move_generator::capture::generate(), moves, osl::game_playing::GameState::state(), and osl::misc::time_seeded_random().
1.8.4