My Project
|
「.kif」という拡張子を持つ棋泉形式ファイル. More...
#include <kisen.h>
Public Member Functions | |
KisenFile (const std::string &filename) | |
~KisenFile () | |
size_t | size () const |
NumEffectState | initialState () const |
std::vector< Move > | moves (size_t index) |
std::string | fileName () const |
std::string | ipxFileName () const |
Static Public Member Functions | |
static std::string | ipxFileName (const std::string &) |
Static Public Attributes | |
static const size_t | MaxMoves =256 |
Private Attributes | |
NumEffectState | initial_state |
std::ifstream | ifs |
size_t | number_of_games |
const std::string | filename |
|
explicit |
Definition at line 84 of file kisen.cc.
References ifs, and number_of_games.
|
inline |
|
inline |
Definition at line 36 of file kisen.h.
References initial_state.
Referenced by osl::rating::BradleyTerry::accumulate().
|
inline |
Definition at line 39 of file kisen.h.
References filename, and ipxFileName().
Referenced by osl::rating::BradleyTerry::accumulate(), and ipxFileName().
|
static |
Definition at line 123 of file kisen.cc.
References osl::misc::file_string().
std::vector< osl::Move > osl::record::KisenFile::moves | ( | size_t | index | ) |
Definition at line 94 of file kisen.cc.
References osl::alt(), osl::BLACK, osl::record::KisenUtils::convertMove(), osl::NumEffectState::isConsistent(), osl::Move::isInvalid(), osl::NumEffectState::makeMove(), MaxMoves, and osl::CArray< T, Capacity >::size().
Referenced by osl::rating::BradleyTerry::accumulate().
|
inline |
Definition at line 35 of file kisen.h.
References number_of_games.
Referenced by osl::rating::BradleyTerry::update().
|
private |
Definition at line 29 of file kisen.h.
Referenced by fileName(), and ipxFileName().
|
private |
Definition at line 27 of file kisen.h.
Referenced by KisenFile().
|
private |
Definition at line 26 of file kisen.h.
Referenced by initialState().
|
static |
|
private |
Definition at line 28 of file kisen.h.
Referenced by KisenFile(), and size().