#include <usiState.h>
Public Member Functions | |
UsiState () | |
~UsiState () | |
void | reset (const SimpleState &, const vector< Move > &) |
void | parseUsi (const std::string &) |
void | openFile (std::string) |
bool | isSuccessorOf (const UsiState &parent) |
const NumEffectState | currentState () const |
const std::string | usiString () const |
const std::string | usiBoard () const |
void | parseIgnoreMoves (const std::string &line, MoveVector &ignore_moves) const |
Public Attributes | |
SimpleState | initial_state |
vector< Move > | moves |
volatile bool | aborted |
Definition at line 13 of file usiState.h.
osl::game_playing::UsiState::UsiState | ( | ) |
Definition at line 12 of file usiState.cc.
osl::game_playing::UsiState::~UsiState | ( | ) |
Definition at line 17 of file usiState.cc.
const osl::NumEffectState osl::game_playing::UsiState::currentState | ( | ) | const |
Definition at line 39 of file usiState.cc.
References moves.
bool osl::game_playing::UsiState::isSuccessorOf | ( | const UsiState & | parent) |
Definition at line 30 of file usiState.cc.
References aborted, initial_state, moves, and moves.
void osl::game_playing::UsiState::openFile | ( | std::string | filename) |
Definition at line 55 of file usiState.cc.
References moves.
void osl::game_playing::UsiState::parseIgnoreMoves | ( | const std::string & | line, |
MoveVector & | ignore_moves | ||
) | const |
Definition at line 105 of file usiState.cc.
References osl::record::usi::strToMove().
void osl::game_playing::UsiState::parseUsi | ( | const std::string & | line) |
Definition at line 48 of file usiState.cc.
References moves, and osl::record::usi::parse().
void osl::game_playing::UsiState::reset | ( | const SimpleState & | i, |
const vector< Move > & | m | ||
) |
Definition at line 22 of file usiState.cc.
References moves.
const std::string osl::game_playing::UsiState::usiBoard | ( | ) | const |
Definition at line 97 of file usiState.cc.
References osl::record::usi::show().
const std::string osl::game_playing::UsiState::usiString | ( | ) | const |
Definition at line 82 of file usiState.cc.
References moves, and osl::record::usi::show().
volatile bool osl::game_playing::UsiState::aborted |
Definition at line 17 of file usiState.h.
Referenced by isSuccessorOf().
SimpleState osl::game_playing::UsiState::initial_state |
Definition at line 15 of file usiState.h.
Referenced by isSuccessorOf().
vector<Move> osl::game_playing::UsiState::moves |
Definition at line 16 of file usiState.h.
Referenced by isSuccessorOf().