#include "osl/numEffectState.h"
#include <vector>
#include <string>
#include <stdexcept>
構成 | |
class | osl::usi::ParseError |
class | osl::psn::ParseError |
ネームスペース | |
namespace | osl |
namespace | osl::usi |
namespace | osl::psn |
gnushogi で使われるフォーマット. | |
関数 | |
const Move | osl::usi::strToMove (const std::string &, const NumEffectState &) |
PtypeO | osl::usi::charToPtypeO (char) |
const std::string | osl::usi::show (Move) |
const std::string | osl::usi::show (PtypeO) |
const std::string | osl::usi::show (Piece) |
const std::string | osl::usi::show (const NumEffectState &) |
void | osl::usi::parseBoard (const std::string &board, NumEffectState &) |
盤面を取得する. | |
void | osl::usi::parse (const std::string &line, NumEffectState &) |
[sfen <sfenstring> | startpos ] moves <move1> ... | |
void | osl::usi::parse (const std::string &line, NumEffectState &initial, std::vector< Move > &moves) |
NumEffectState | osl::usi::makeState (const std::string &line) |
const Move | osl::psn::strToMove (const std::string &, const SimpleState &) |
const Square | osl::psn::strToPos (const std::string &) |
Ptype | osl::psn::charToPtype (char) |
const std::string | osl::psn::show (Move) |
const std::string | osl::psn::show (Square) |
char | osl::psn::show (Ptype) |
const std::string | osl::psn::showXP (Move) |
decorate capture by 'x', promote by '+', and unpromote by '=' |