棋譜関係 [詳細]
ネームスペース | |
namespace | csa |
CSA形式. | |
namespace | kakinoki |
namespace | ki2 |
namespace | myshogi |
namespace | opening |
定跡 | |
namespace | psn |
gnushogi で使われるフォーマット. | |
namespace | usi |
構成 | |
class | CheckDuplicate |
Container of moves to check duplicated games. [詳細] | |
class | OPiece |
class | CompactBoard |
SimpleStateよりcompactな局面の表現. [詳細] | |
class | KanjiMove |
Parse kanji records such as "7六歩", the style of which is generally used to write Shogi records in Japanese. [詳細] | |
class | Color |
カラーコードを保持するクラス。 [詳細] | |
class | ChangeShellColor |
shellの文字出力にて、色を変える。 [詳細] | |
class | Characters |
駒の文字を管理するAbstract class。 [詳細] | |
struct | StandardCharacters |
持ち駒用(標準文字) [詳細] | |
struct | RussianCharacters |
ロシア文字(激指フォント用) [詳細] | |
struct | KIFCharacters |
柿木形式(KIF)。頭にv [詳細] | |
class | KanjiPrint |
局面を漢字でカラーで表示する. [詳細] | |
class | KisenUtils |
class | IKisenStream |
class | KisenFile |
「.kif」という拡張子を持つ棋泉形式ファイル. [詳細] | |
class | KisenIpxFile |
「.ipx」という拡張子を持つ棋泉形式ファイル. [詳細] | |
class | KisenPlusFile |
「.kpf」という拡張子を持つ棋泉プラス形式ファイル. [詳細] | |
class | OKisenStream |
class | KisenIpxWriter |
「.ipx」という拡張子を持つ棋泉形式ファイル. [詳細] | |
class | OPosition |
Position, Owner: 9 bits. [詳細] | |
class | OPPosition |
Position, Owner, Promoted : 10 bits. [詳細] | |
class | MiniBoard |
More compact board than CompactBoard. [詳細] | |
class | MiniBoardChar50 |
50 byte の盤面. [詳細] | |
class | IRecordStream |
class | ORecordStream |
class | MoveRecord |
とりあえず tree を表現できるようにする. 合流は考えない. 所詮,出すのは CSA かGCF [詳細] | |
class | NodeRecord |
class | Record |
class | RecordVisitorObserver |
class | RecordVisitor |
struct | SearchInfo |
struct | opiece_sort |
struct | oposition_sort |
列挙型 | |
enum | NodeType { MOVE, TORYO, MATTA, CHUDAN, SENNICHITE, JISHOGI, TSUMI, FUZUMI, ND_ERROR, KACHI, HIKIWAKE } |
関数 | |
bool | operator== (const CompactBoard &, const CompactBoard &) |
局面を比較する. | |
std::ostream & | operator<< (std::ostream &os, const CompactBoard &c) |
std::istream & | operator>> (std::istream &os, CompactBoard &c) |
std::ostream & | operator<< (std::ostream &os, const Color &c) |
bool | operator< (const MiniBoardChar50 &, const MiniBoardChar50 &) |
bool | operator== (const MiniBoardChar50 &, const MiniBoardChar50 &) |
std::ostream & | operator<< (std::ostream &, const MoveRecord &) |
std::ostream & | operator<< (std::ostream &, Record &) |
int | readInt (std::istream &is) |
void | writeInt (std::ostream &os, int n) |
void | kakinokiParseLine (boost::shared_ptr< RecordVisitor > &rv, std::string s) |
int | fromBase64 (const std::string &base64, MiniBoard &mb) |
変数 | |
static const std::string | K_BLACK_SIGN = "\xA2\xA5" |
Define Kanji characters by using EUC-JP codes. | |
static const std::string | K_WHITE_SIGN = "\xA2\xA4" |
static const std::string | K_SPACE = "\xA1\xA1" |
static const std::string | K_NAKAGURO = "\xA1\xA6" |
static const std::string | K_COLON = "\xA1\xA7" |
static const std::string | K_R1 = "\xA3\xB1" |
static const std::string | K_R2 = "\xA3\xB2" |
static const std::string | K_R3 = "\xA3\xB3" |
static const std::string | K_R4 = "\xA3\xB4" |
static const std::string | K_R5 = "\xA3\xB5" |
static const std::string | K_R6 = "\xA3\xB6" |
static const std::string | K_R7 = "\xA3\xB7" |
static const std::string | K_R8 = "\xA3\xB8" |
static const std::string | K_R9 = "\xA3\xB9" |
static const std::string | K_K1 = "\xB0\xEC" |
static const std::string | K_K2 = "\xC6\xF3" |
static const std::string | K_K3 = "\xBB\xB0" |
static const std::string | K_K4 = "\xBB\xCD" |
static const std::string | K_K5 = "\xB8\xDE" |
static const std::string | K_K6 = "\xCF\xBB" |
static const std::string | K_K7 = "\xBC\xB7" |
static const std::string | K_K8 = "\xC8\xAC" |
static const std::string | K_K9 = "\xB6\xE5" |
static const std::string | K_MIGI = "\xB1\xA6" |
static const std::string | K_HIDARI = "\xBA\xB8" |
static const std::string | K_UE = "\xBE\xE5" |
static const std::string | K_SHITA = "\xB2\xBC" |
static const std::string | K_SUGU = "\xC4\xBE" |
static const std::string | K_YORU = "\xB4\xF3" |
static const std::string | K_HIKU = "\xB0\xFA" |
static const std::string | K_YUKU = "\xB9\xD4" |
static const std::string | K_ONAZI = "\xC6\xB1" |
static const std::string | K_NARU = "\xC0\xAE" |
static const std::string | K_FUNARI = "\xC9\xD4" + K_NARU |
static const std::string | K_UTSU = "\xC2\xC7" |
static const std::string | K_PAWN = "\xCA\xE2" |
static const std::string | K_PAWN_R = "\xA7\xAE" |
static const std::string | K_PPAWN = "\xA4\xC8" |
static const std::string | K_PPAWN_R = "\xA7\xAF" |
static const std::string | K_LANCE = "\xB9\xE1" |
static const std::string | K_LANCE_R = "\xA7\xAC" |
static const std::string | K_PLANCE = "\xB0\xC9" |
static const std::string | K_PLANCE_R = "\xA7\xAD" |
static const std::string | K_PLANCE_D = K_NARU + K_LANCE |
static const std::string | K_KNIGHT = "\xB7\xCB" |
static const std::string | K_KNIGHT_R = "\xA7\xAA" |
static const std::string | K_PKNIGHT = "\xB7\xBD" |
static const std::string | K_PKNIGHT_R = "\xA7\xAB" |
static const std::string | K_PKNIGHT_D = K_NARU + K_KNIGHT |
static const std::string | K_SILVER = "\xB6\xE4" |
static const std::string | K_SILVER_R = "\xA7\xA8" |
static const std::string | K_PSILVER = "\xC1\xB4" |
static const std::string | K_PSILVER_R = "\xA7\xA9" |
static const std::string | K_PSILVER_D = K_NARU + K_SILVER |
static const std::string | K_GOLD = "\xB6\xE2" |
static const std::string | K_GOLD_R = "\xA7\xA7" |
static const std::string | K_BISHOP = "\xB3\xD1" |
static const std::string | K_BISHOP_R = "\xA7\xA4" |
static const std::string | K_PBISHOP = "\xC7\xCF" |
static const std::string | K_PBISHOP_R = "\xA7\xA5" |
static const std::string | K_ROOK = "\xC8\xF4" |
static const std::string | K_ROOK_R = "\xA7\xA2" |
static const std::string | K_PROOK = "\xCE\xB6" |
static const std::string | K_PROOK2 = "\xCE\xB5" |
static const std::string | K_PROOK_R = "\xA7\xA3" |
static const std::string | K_KING = "\xB6\xCC" |
static const std::string | K_KING_R = "\xA7\xA1" |
static const std::string | K_BLACK = "\xC0\xE8\xBC\xEA" |
static const std::string | K_WHITE = "\xB8\xE5\xBC\xEA" |
static const std::string | K_BLACK_STAND = K_BLACK + "\xBB\xFD\xB6\xF0" |
static const std::string | K_WHITE_STAND = K_WHITE + "\xBB\xFD\xB6\xF0" |
static const std::string | K_TEAIWARI = "\xBC\xEA\xB9\xE7\xB3\xE4" |
static const std::string | K_PASS = "\xA5\xD1\xA5\xB9" |
static const std::string | K_SENKEI = "\xC0\xEF\xB7\xBF" |
static const std::string | K_TORYO = "\xc5\xea\xce\xbb" |
static const std::string | K_HENKA = "\xca\xd1\xb2\xbd" |
static const std::string | K_KISEN = "\xb4\xfd\xc0\xef" |
static const std::string | K_KIFU = "\xb4\xfd\xc9\xe8" |
static const std::string | K_TSUMERO = "\xb5\xcd\xa4\xe1\xa4\xed" |
棋譜関係
int osl::record::fromBase64 | ( | const std::string & | base64, | |
MiniBoard & | mb | |||
) |
miniBoard.cc の 256 行で定義されています。
参照先 osl::misc::base64Decode(), osl::record::MiniBoard::bishop_pieces, osl::BLACK, osl::record::MiniBoard::gold_pieces, osl::record::MiniBoard::king_pieces, osl::record::MiniBoard::knight_pieces, osl::record::MiniBoard::lance_pieces, osl::record::MiniBoard::pawn_pieces, osl::record::MiniBoard::rook_pieces, osl::record::MiniBoard::silver_pieces, osl::record::OPosition::total_bits, osl::record::OPPosition::total_bits, osl::record::MiniBoard::total_bits, osl::record::MiniBoard::turn, と osl::WHITE.
void osl::record::kakinokiParseLine | ( | boost::shared_ptr< RecordVisitor > & | rv, | |
std::string | s | |||
) |
kakinoki.cc の 20 行で定義されています。
参照先 osl::record::MoveRecord::addComment(), osl::record::Record::addInitialComment(), osl::BLACK, osl::record::Record::BLACK_WIN, osl::Move::isNormal(), K_BLACK, K_COLON, K_KISEN, K_TORYO, K_WHITE, osl::record::Record::setPlayer(), osl::record::Record::setResult(), osl::record::Record::setTounamentName(), osl::record::kakinoki::strToMove(), osl::WHITE, と osl::record::Record::WHITE_WIN.
bool osl::record::operator< | ( | const MiniBoardChar50 & | l, | |
const MiniBoardChar50 & | r | |||
) |
miniBoardChar50.cc の 77 行で定義されています。
std::ostream & osl::record::operator<< | ( | std::ostream & | os, | |
Record & | r | |||
) |
参照先 osl::record::NodeRecord::at(), osl::BLACK, osl::record::MoveRecord::getComment(), osl::record::Record::getInitialState(), osl::record::MoveRecord::getMove(), osl::record::RecordVisitor::getNode(), osl::record::MoveRecord::getNodeIndex(), osl::record::Record::getPlayer(), osl::record::MoveRecord::getTime(), osl::record::Record::getVersion(), osl::record::Record::moveOf(), osl::record::Record::nodeOf(), osl::record::RecordVisitor::setRecord(), osl::record::RecordVisitor::setState(), osl::record::NodeRecord::size(), と osl::WHITE.
std::ostream & osl::record::operator<< | ( | std::ostream & | os, | |
const MoveRecord & | mr | |||
) |
std::ostream & osl::record::operator<< | ( | std::ostream & | os, | |
const Color & | c | |||
) |
kanjiPrint.cc の 132 行で定義されています。
std::ostream & osl::record::operator<< | ( | std::ostream & | os, | |
const CompactBoard & | c | |||
) |
compactBoard.cc の 102 行で定義されています。
参照先 osl::record::CompactBoard::pieces, osl::record::CompactBoard::turn, と writeInt().
bool osl::record::operator== | ( | const MiniBoardChar50 & | l, | |
const MiniBoardChar50 & | r | |||
) |
miniBoardChar50.cc の 82 行で定義されています。
bool osl::record::operator== | ( | const CompactBoard & | lhs, | |
const CompactBoard & | rhs | |||
) |
局面を比較する.
将棋としての局面(手番や持ち駒を含む)を比較する. NumEffectState等と異なり駒番号は考慮されない.
compactBoard.cc の 96 行で定義されています。
参照先 osl::record::CompactBoard::pieces, と osl::record::CompactBoard::turn.
std::istream & osl::record::operator>> | ( | std::istream & | os, | |
CompactBoard & | c | |||
) |
compactBoard.cc の 115 行で定義されています。
参照先 osl::record::CompactBoard::pieces, readInt(), と osl::record::CompactBoard::turn.
int osl::record::readInt | ( | std::istream & | is | ) |
参照元 osl::record::opening::WeightedBook::getBlackWinCount(), osl::record::opening::WeightedBook::getMoves(), osl::record::opening::WeightedBook::getWhiteWinCount(), OpeningBookConverter::OpeningBookConverter(), osl::record::opening::operator>>(), operator>>(), osl::record::CompactBoard::toBase64(), と osl::record::opening::WeightedBook::WeightedBook().
void osl::record::writeInt | ( | std::ostream & | os, | |
int | n | |||
) |
const std::string osl::record::K_BISHOP = "\xB3\xD1" [static] |
kanjiCode.h の 70 行で定義されています。
const std::string osl::record::K_BISHOP_R = "\xA7\xA4" [static] |
kanjiCode.h の 71 行で定義されています。
const std::string osl::record::K_BLACK = "\xC0\xE8\xBC\xEA" [static] |
kanjiCode.h の 82 行で定義されています。
参照元 kakinokiParseLine().
const std::string osl::record::K_BLACK_SIGN = "\xA2\xA5" [static] |
Define Kanji characters by using EUC-JP codes.
kanjiCode.h の 13 行で定義されています。
参照元 osl::record::ki2::show(), と osl::record::KanjiMove::strToMove().
const std::string osl::record::K_BLACK_STAND = K_BLACK + "\xBB\xFD\xB6\xF0" [static] |
kanjiCode.h の 84 行で定義されています。
const std::string osl::record::K_COLON = "\xA1\xA7" [static] |
kanjiCode.h の 17 行で定義されています。
参照元 kakinokiParseLine().
const std::string osl::record::K_FUNARI = "\xC9\xD4" + K_NARU [static] |
kanjiCode.h の 46 行で定義されています。
参照元 osl::record::ki2::showPromote(), と osl::record::KanjiMove::strToMove().
const std::string osl::record::K_GOLD = "\xB6\xE2" [static] |
kanjiCode.h の 68 行で定義されています。
const std::string osl::record::K_GOLD_R = "\xA7\xA7" [static] |
kanjiCode.h の 69 行で定義されています。
const std::string osl::record::K_HENKA = "\xca\xd1\xb2\xbd" [static] |
kanjiCode.h の 90 行で定義されています。
const std::string osl::record::K_HIDARI = "\xBA\xB8" [static] |
kanjiCode.h の 37 行で定義されています。
参照元 osl::record::KanjiMove::selectCandidates(), と osl::record::ki2::show().
const std::string osl::record::K_HIKU = "\xB0\xFA" [static] |
kanjiCode.h の 42 行で定義されています。
参照元 osl::record::KanjiMove::selectCandidates(), と osl::record::ki2::show().
const std::string osl::record::K_K1 = "\xB0\xEC" [static] |
kanjiCode.h の 27 行で定義されています。
const std::string osl::record::K_K2 = "\xC6\xF3" [static] |
kanjiCode.h の 28 行で定義されています。
const std::string osl::record::K_K3 = "\xBB\xB0" [static] |
kanjiCode.h の 29 行で定義されています。
const std::string osl::record::K_K4 = "\xBB\xCD" [static] |
kanjiCode.h の 30 行で定義されています。
const std::string osl::record::K_K5 = "\xB8\xDE" [static] |
kanjiCode.h の 31 行で定義されています。
const std::string osl::record::K_K6 = "\xCF\xBB" [static] |
kanjiCode.h の 32 行で定義されています。
const std::string osl::record::K_K7 = "\xBC\xB7" [static] |
kanjiCode.h の 33 行で定義されています。
const std::string osl::record::K_K8 = "\xC8\xAC" [static] |
kanjiCode.h の 34 行で定義されています。
const std::string osl::record::K_K9 = "\xB6\xE5" [static] |
kanjiCode.h の 35 行で定義されています。
const std::string osl::record::K_KIFU = "\xb4\xfd\xc9\xe8" [static] |
kanjiCode.h の 92 行で定義されています。
参照元 osl::record::kakinoki::KakinokiFile::isKakinokiFile(), と run().
const std::string osl::record::K_KING = "\xB6\xCC" [static] |
kanjiCode.h の 79 行で定義されています。
const std::string osl::record::K_KING_R = "\xA7\xA1" [static] |
kanjiCode.h の 80 行で定義されています。
const std::string osl::record::K_KISEN = "\xb4\xfd\xc0\xef" [static] |
kanjiCode.h の 91 行で定義されています。
参照元 kakinokiParseLine().
const std::string osl::record::K_KNIGHT = "\xB7\xCB" [static] |
kanjiCode.h の 58 行で定義されています。
const std::string osl::record::K_KNIGHT_R = "\xA7\xAA" [static] |
kanjiCode.h の 59 行で定義されています。
const std::string osl::record::K_LANCE = "\xB9\xE1" [static] |
kanjiCode.h の 53 行で定義されています。
const std::string osl::record::K_LANCE_R = "\xA7\xAC" [static] |
kanjiCode.h の 54 行で定義されています。
const std::string osl::record::K_MIGI = "\xB1\xA6" [static] |
kanjiCode.h の 36 行で定義されています。
参照元 osl::record::KanjiMove::selectCandidates(), と osl::record::ki2::show().
const std::string osl::record::K_NAKAGURO = "\xA1\xA6" [static] |
kanjiCode.h の 16 行で定義されています。
const std::string osl::record::K_NARU = "\xC0\xAE" [static] |
const std::string osl::record::K_ONAZI = "\xC6\xB1" [static] |
kanjiCode.h の 44 行で定義されています。
参照元 osl::record::ki2::show(), osl::record::KanjiMove::strToMove(), と osl::record::kakinoki::strToMove().
const std::string osl::record::K_PASS = "\xA5\xD1\xA5\xB9" [static] |
kanjiCode.h の 87 行で定義されています。
const std::string osl::record::K_PAWN = "\xCA\xE2" [static] |
kanjiCode.h の 49 行で定義されています。
const std::string osl::record::K_PAWN_R = "\xA7\xAE" [static] |
kanjiCode.h の 50 行で定義されています。
const std::string osl::record::K_PBISHOP = "\xC7\xCF" [static] |
kanjiCode.h の 72 行で定義されています。
const std::string osl::record::K_PBISHOP_R = "\xA7\xA5" [static] |
kanjiCode.h の 73 行で定義されています。
const std::string osl::record::K_PKNIGHT = "\xB7\xBD" [static] |
kanjiCode.h の 60 行で定義されています。
const std::string osl::record::K_PKNIGHT_D = K_NARU + K_KNIGHT [static] |
kanjiCode.h の 62 行で定義されています。
const std::string osl::record::K_PKNIGHT_R = "\xA7\xAB" [static] |
kanjiCode.h の 61 行で定義されています。
const std::string osl::record::K_PLANCE = "\xB0\xC9" [static] |
kanjiCode.h の 55 行で定義されています。
const std::string osl::record::K_PLANCE_D = K_NARU + K_LANCE [static] |
kanjiCode.h の 57 行で定義されています。
const std::string osl::record::K_PLANCE_R = "\xA7\xAD" [static] |
kanjiCode.h の 56 行で定義されています。
const std::string osl::record::K_PPAWN = "\xA4\xC8" [static] |
kanjiCode.h の 51 行で定義されています。
const std::string osl::record::K_PPAWN_R = "\xA7\xAF" [static] |
kanjiCode.h の 52 行で定義されています。
const std::string osl::record::K_PROOK = "\xCE\xB6" [static] |
kanjiCode.h の 76 行で定義されています。
const std::string osl::record::K_PROOK2 = "\xCE\xB5" [static] |
kanjiCode.h の 77 行で定義されています。
const std::string osl::record::K_PROOK_R = "\xA7\xA3" [static] |
kanjiCode.h の 78 行で定義されています。
const std::string osl::record::K_PSILVER = "\xC1\xB4" [static] |
kanjiCode.h の 65 行で定義されています。
const std::string osl::record::K_PSILVER_D = K_NARU + K_SILVER [static] |
kanjiCode.h の 67 行で定義されています。
const std::string osl::record::K_PSILVER_R = "\xA7\xA9" [static] |
kanjiCode.h の 66 行で定義されています。
const std::string osl::record::K_R1 = "\xA3\xB1" [static] |
kanjiCode.h の 18 行で定義されています。
const std::string osl::record::K_R2 = "\xA3\xB2" [static] |
kanjiCode.h の 19 行で定義されています。
const std::string osl::record::K_R3 = "\xA3\xB3" [static] |
kanjiCode.h の 20 行で定義されています。
const std::string osl::record::K_R4 = "\xA3\xB4" [static] |
kanjiCode.h の 21 行で定義されています。
const std::string osl::record::K_R5 = "\xA3\xB5" [static] |
kanjiCode.h の 22 行で定義されています。
const std::string osl::record::K_R6 = "\xA3\xB6" [static] |
kanjiCode.h の 23 行で定義されています。
const std::string osl::record::K_R7 = "\xA3\xB7" [static] |
kanjiCode.h の 24 行で定義されています。
const std::string osl::record::K_R8 = "\xA3\xB8" [static] |
kanjiCode.h の 25 行で定義されています。
const std::string osl::record::K_R9 = "\xA3\xB9" [static] |
kanjiCode.h の 26 行で定義されています。
const std::string osl::record::K_ROOK = "\xC8\xF4" [static] |
kanjiCode.h の 74 行で定義されています。
const std::string osl::record::K_ROOK_R = "\xA7\xA2" [static] |
kanjiCode.h の 75 行で定義されています。
const std::string osl::record::K_SENKEI = "\xC0\xEF\xB7\xBF" [static] |
kanjiCode.h の 88 行で定義されています。
const std::string osl::record::K_SHITA = "\xB2\xBC" [static] |
kanjiCode.h の 39 行で定義されています。
const std::string osl::record::K_SILVER = "\xB6\xE4" [static] |
kanjiCode.h の 63 行で定義されています。
const std::string osl::record::K_SILVER_R = "\xA7\xA8" [static] |
kanjiCode.h の 64 行で定義されています。
const std::string osl::record::K_SPACE = "\xA1\xA1" [static] |
kanjiCode.h の 15 行で定義されています。
const std::string osl::record::K_SUGU = "\xC4\xBE" [static] |
kanjiCode.h の 40 行で定義されています。
参照元 osl::record::KanjiMove::selectCandidates(), と osl::record::ki2::show().
const std::string osl::record::K_TEAIWARI = "\xBC\xEA\xB9\xE7\xB3\xE4" [static] |
kanjiCode.h の 86 行で定義されています。
const std::string osl::record::K_TORYO = "\xc5\xea\xce\xbb" [static] |
kanjiCode.h の 89 行で定義されています。
参照元 kakinokiParseLine().
const std::string osl::record::K_TSUMERO = "\xb5\xcd\xa4\xe1\xa4\xed" [static] |
kanjiCode.h の 93 行で定義されています。
const std::string osl::record::K_UE = "\xBE\xE5" [static] |
kanjiCode.h の 38 行で定義されています。
参照元 osl::record::KanjiMove::selectCandidates(), と osl::record::ki2::show().
const std::string osl::record::K_UTSU = "\xC2\xC7" [static] |
kanjiCode.h の 47 行で定義されています。
参照元 run(), osl::record::ki2::show(), osl::record::KanjiMove::strToMove(), と osl::record::kakinoki::strToMove().
const std::string osl::record::K_WHITE = "\xB8\xE5\xBC\xEA" [static] |
kanjiCode.h の 83 行で定義されています。
参照元 kakinokiParseLine().
const std::string osl::record::K_WHITE_SIGN = "\xA2\xA4" [static] |
kanjiCode.h の 14 行で定義されています。
const std::string osl::record::K_WHITE_STAND = K_WHITE + "\xBB\xFD\xB6\xF0" [static] |
kanjiCode.h の 85 行で定義されています。
const std::string osl::record::K_YORU = "\xB4\xF3" [static] |
kanjiCode.h の 41 行で定義されています。
参照元 osl::record::KanjiMove::selectCandidates(), と osl::record::ki2::show().
const std::string osl::record::K_YUKU = "\xB9\xD4" [static] |
kanjiCode.h の 43 行で定義されています。