#include <gameState.h>
Public 型 | |
enum | MoveType { VALID, PAWN_DROP_FOUL, UNSAFE_KING, OTHER_INVALID } |
Public メソッド | |
GameState (const SimpleState &initial_state) | |
~GameState () | |
MoveType | isIllegal (Move m) const |
const Sennichite | pushMove (Move m) |
const Move | popMove () |
bool | canPopMove () const |
const HashEffectState & | state () const |
const RepetitionCounter & | counter () const |
const container::MoveStack & | moveHistory () const |
const hash::HashKeyStack & | hashHistory () const |
int | moves () const |
int | ply () const |
const SimpleState & | getInitialState () const |
const boost::shared_ptr < GameState > | clone () const |
GameState Υԡ롥 ߤζ̤̤Ȥưᡤ pushMoveʤ¤popMoveϤǤʤ | |
Private メソッド | |
GameState (const State &src) | |
Private 変数 | |
boost::scoped_ptr< State > | stack |
構成 | |
struct | State |
gameState.h の 30 行で定義されています。
osl::game_playing::GameState::GameState | ( | const State & | src | ) | [explicit, private] |
osl::game_playing::GameState::GameState | ( | const SimpleState & | initial_state | ) | [explicit] |
gameState.cc の 37 行で定義されています。
osl::game_playing::GameState::~GameState | ( | ) |
gameState.cc の 49 行で定義されています。
osl::game_playing::GameState::MoveType osl::game_playing::GameState::isIllegal | ( | Move | m | ) | const |
gameState.cc の 65 行で定義されています。
参照先 osl::alt(), OTHER_INVALID, PAWN_DROP_FOUL, stack, state(), UNSAFE_KING, と VALID.
const osl::Sennichite osl::game_playing::GameState::pushMove | ( | Move | m | ) |
const osl::Move osl::game_playing::GameState::popMove | ( | ) |
bool osl::game_playing::GameState::canPopMove | ( | ) | const |
const osl::HashEffectState & osl::game_playing::GameState::state | ( | ) | const |
gameState.cc の 97 行で定義されています。
参照先 stack.
参照元 isIllegal(), osl::game_playing::ProgressMtdfPlayer::isReasonableMove(), osl::game_playing::PlainMtdfPlayer::isReasonableMove(), osl::game_playing::AlphaBeta2Player::isReasonableMove(), osl::game_playing::SearchPlayer::pickUpBestMoves(), osl::game_playing::SearchPlayer::search(), search(), osl::game_playing::ProgressMtdfPlayer::searchWithSecondsForThisMove(), osl::game_playing::PlainMtdfPlayer::searchWithSecondsForThisMove(), osl::game_playing::AlphaBeta2Player::searchWithSecondsForThisMove(), osl::game_playing::SearchPlayer::secondsForThisMove(), osl::game_playing::SearchPlayer::selectBestMove(), osl::game_playing::RandomPlayer::selectBestMove(), と osl::game_playing::SearchPlayer::setUpTable().
const osl::RepetitionCounter & osl::game_playing::GameState::counter | ( | ) | const |
const osl::MoveStack & osl::game_playing::GameState::moveHistory | ( | ) | const |
const osl::hash::HashKeyStack & osl::game_playing::GameState::hashHistory | ( | ) | const |
int osl::game_playing::GameState::moves | ( | ) | const |
int osl::game_playing::GameState::ply | ( | ) | const [inline] |
const osl::state::SimpleState & osl::game_playing::GameState::getInitialState | ( | ) | const |
const boost::shared_ptr< osl::game_playing::GameState > osl::game_playing::GameState::clone | ( | ) | const |
GameState Υԡ롥 ߤζ̤̤Ȥưᡤ pushMoveʤ¤popMoveϤǤʤ
gameState.cc の 133 行で定義されています。
参照先 GameState(), と stack.
参照元 osl::game_playing::ThreadForEachMove::SpeculativeThread::run(), osl::game_playing::SpeculativeSearchPlayer::selectBestMoveCleanUp(), と osl::game_playing::SpeculativeAllMoves::SearchAllMoves::setUp().
boost::scoped_ptr<State> osl::game_playing::GameState::stack [private] |
gameState.h の 33 行で定義されています。
参照元 canPopMove(), clone(), counter(), getInitialState(), hashHistory(), isIllegal(), moveHistory(), moves(), popMove(), pushMove(), と state().