相手時間中に探索 More...
#include <speculativeSearchPlayer.h>


| Public Member Functions | |
| SpeculativeSearchPlayer (Player my_turn, SearchPlayer *) | |
| 所有権移転  More... | |
| ~SpeculativeSearchPlayer () | |
| ComputerPlayer * | clone () const | 
| new したものを返す  More... | |
| void | pushMove (Move m) | 
| void | popMove () | 
| bool | stopSearchNow () | 
| 探索をとめる  More... | |
| void | setMaxThreads (int new_max_threads) | 
| ThreadForEachMove のみに有効  More... | |
| const MoveWithComment | selectBestMove (const GameState &, int limit, int elapsed, int byoyomi) | 
| search::TimeAssigned | standardSearchSeconds (const GameState &, int limit, int elapsed, int byoyomi) const | 
|  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 void | setRootIgnoreMoves (const container::MoveVector *rim, bool prediction) | 
| Private Member Functions | |
| void | selectBestMoveCleanUp (const GameState &state) | 
| Private Attributes | |
| boost::scoped_ptr< SearchPlayer > | main_player | 
| boost::shared_ptr< GameState > | previous_state | 
| boost::scoped_ptr < SpeculativeModel > | speculative | 
| Player | my_turn | 
| Additional Inherited Members | |
|  Protected Attributes inherited from osl::game_playing::ComputerPlayer | |
| bool | speculative_search_allowed | 
相手時間中に探索
Definition at line 20 of file speculativeSearchPlayer.h.
| osl::game_playing::SpeculativeSearchPlayer::SpeculativeSearchPlayer | ( | Player | my_turn, | 
| SearchPlayer * | player | ||
| ) | 
所有権移転
Definition at line 20 of file speculativeSearchPlayer.cc.
| osl::game_playing::SpeculativeSearchPlayer::~SpeculativeSearchPlayer | ( | ) | 
Definition at line 28 of file speculativeSearchPlayer.cc.
| 
 | virtual | 
new したものを返す
Implements osl::game_playing::ComputerPlayer.
Definition at line 33 of file speculativeSearchPlayer.cc.
| 
 | virtual | 
Implements osl::game_playing::ComputerPlayer.
Definition at line 78 of file speculativeSearchPlayer.cc.
| 
 | virtual | 
Implements osl::game_playing::ComputerPlayer.
Definition at line 46 of file speculativeSearchPlayer.cc.
References osl::Move::player(), osl::OslConfig::setUsiSilent(), and osl::OslConfig::usiMode().
| 
 | virtual | 
| seconds | 残り持ち時間 | 
Implements osl::game_playing::ComputerPlayer.
Definition at line 104 of file speculativeSearchPlayer.cc.
References osl::ctime_r(), osl::game_playing::GameState::hashHistory(), osl::Move::INVALID(), osl::Move::isNormal(), osl::container::MoveStack::lastMove(), limit, osl::eval::max(), osl::eval::min(), osl::game_playing::GameState::moveHistory(), result, osl::OslConfig::setUsiSilent(), osl::record::csa::show(), osl::hash::HashKeyStack::top(), and osl::OslConfig::usiMode().
| 
 | private | 
Definition at line 152 of file speculativeSearchPlayer.cc.
References osl::game_playing::GameState::clone().
| void osl::game_playing::SpeculativeSearchPlayer::setMaxThreads | ( | int | new_max_threads) | 
ThreadForEachMove のみに有効
Definition at line 40 of file speculativeSearchPlayer.cc.
| osl::search::TimeAssigned osl::game_playing::SpeculativeSearchPlayer::standardSearchSeconds | ( | const GameState & | state, | 
| int | limit, | ||
| int | elapsed, | ||
| int | byoyomi | ||
| ) | const | 
Definition at line 92 of file speculativeSearchPlayer.cc.
References osl::search::TimeAssigned::max, result, and osl::search::TimeAssigned::standard.
| 
 | virtual | 
探索をとめる
Reimplemented from osl::game_playing::ComputerPlayer.
Definition at line 86 of file speculativeSearchPlayer.cc.
| 
 | private | 
Definition at line 22 of file speculativeSearchPlayer.h.
| 
 | private | 
Definition at line 25 of file speculativeSearchPlayer.h.
| 
 | private | 
Definition at line 23 of file speculativeSearchPlayer.h.
| 
 | private | 
Definition at line 24 of file speculativeSearchPlayer.h.
 1.8.4
 1.8.4