ネームスペース osl::record

棋譜関係 [詳細]

ネームスペース

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"

説明

棋譜関係


列挙型

列挙型の値:
MOVE 
TORYO 
MATTA 
CHUDAN 
SENNICHITE 
JISHOGI 
TSUMI 
FUZUMI 
ND_ERROR 
KACHI 
HIKIWAKE 

record.h29 行で定義されています。


関数

int osl::record::fromBase64 ( const std::string &  base64,
MiniBoard &  mb 
)
void osl::record::kakinokiParseLine ( boost::shared_ptr< RecordVisitor > &  rv,
std::string  s 
)
bool osl::record::operator< ( const MiniBoardChar50 &  l,
const MiniBoardChar50 &  r 
)

miniBoardChar50.cc77 行で定義されています。

参照先 osl::record::MiniBoardChar50::data.

std::ostream & osl::record::operator<< ( std::ostream &  os,
Record &  r 
)
std::ostream & osl::record::operator<< ( std::ostream &  os,
const MoveRecord &  mr 
)

record.cc122 行で定義されています。

参照先 osl::record::MoveRecord::getNodeIndex().

std::ostream & osl::record::operator<< ( std::ostream &  os,
const Color &  c 
)

kanjiPrint.cc132 行で定義されています。

参照先 osl::record::Color::value.

std::ostream & osl::record::operator<< ( std::ostream &  os,
const CompactBoard &  c 
)
bool osl::record::operator== ( const MiniBoardChar50 &  l,
const MiniBoardChar50 &  r 
)

miniBoardChar50.cc82 行で定義されています。

参照先 osl::record::MiniBoardChar50::data.

bool osl::record::operator== ( const CompactBoard &  lhs,
const CompactBoard &  rhs 
)

局面を比較する.

将棋としての局面(手番や持ち駒を含む)を比較する. NumEffectState等と異なり駒番号は考慮されない.

compactBoard.cc96 行で定義されています。

参照先 osl::record::CompactBoard::pieces, と osl::record::CompactBoard::turn.

std::istream & osl::record::operator>> ( std::istream &  os,
CompactBoard &  c 
)

compactBoard.cc115 行で定義されています。

参照先 osl::record::CompactBoard::pieces, readInt(), と osl::record::CompactBoard::turn.

int osl::record::readInt ( std::istream &  is  ) 
void osl::record::writeInt ( std::ostream &  os,
int  n 
)

変数

const std::string osl::record::K_BISHOP = "\xB3\xD1" [static]

kanjiCode.h70 行で定義されています。

参照元 osl::record::KanjiMove::KanjiMove().

const std::string osl::record::K_BISHOP_R = "\xA7\xA4" [static]

kanjiCode.h71 行で定義されています。

const std::string osl::record::K_BLACK = "\xC0\xE8\xBC\xEA" [static]

kanjiCode.h82 行で定義されています。

参照元 kakinokiParseLine().

const std::string osl::record::K_BLACK_SIGN = "\xA2\xA5" [static]

Define Kanji characters by using EUC-JP codes.

kanjiCode.h13 行で定義されています。

参照元 osl::record::ki2::show(), と osl::record::KanjiMove::strToMove().

const std::string osl::record::K_BLACK_STAND = K_BLACK + "\xBB\xFD\xB6\xF0" [static]

kanjiCode.h84 行で定義されています。

参照元 osl::record::KanjiPrint::print().

const std::string osl::record::K_COLON = "\xA1\xA7" [static]

kanjiCode.h17 行で定義されています。

参照元 kakinokiParseLine().

const std::string osl::record::K_FUNARI = "\xC9\xD4" + K_NARU [static]

kanjiCode.h46 行で定義されています。

参照元 osl::record::ki2::showPromote(), と osl::record::KanjiMove::strToMove().

const std::string osl::record::K_GOLD = "\xB6\xE2" [static]

kanjiCode.h68 行で定義されています。

参照元 osl::record::KanjiMove::KanjiMove().

const std::string osl::record::K_GOLD_R = "\xA7\xA7" [static]

kanjiCode.h69 行で定義されています。

const std::string osl::record::K_HENKA = "\xca\xd1\xb2\xbd" [static]

kanjiCode.h90 行で定義されています。

参照元 osl::record::kakinoki::InputStream::load().

const std::string osl::record::K_HIDARI = "\xBA\xB8" [static]

kanjiCode.h37 行で定義されています。

参照元 osl::record::KanjiMove::selectCandidates(), と osl::record::ki2::show().

const std::string osl::record::K_HIKU = "\xB0\xFA" [static]

kanjiCode.h42 行で定義されています。

参照元 osl::record::KanjiMove::selectCandidates(), と osl::record::ki2::show().

const std::string osl::record::K_K1 = "\xB0\xEC" [static]

kanjiCode.h27 行で定義されています。

const std::string osl::record::K_K2 = "\xC6\xF3" [static]

kanjiCode.h28 行で定義されています。

const std::string osl::record::K_K3 = "\xBB\xB0" [static]

kanjiCode.h29 行で定義されています。

const std::string osl::record::K_K4 = "\xBB\xCD" [static]

kanjiCode.h30 行で定義されています。

const std::string osl::record::K_K5 = "\xB8\xDE" [static]

kanjiCode.h31 行で定義されています。

const std::string osl::record::K_K6 = "\xCF\xBB" [static]

kanjiCode.h32 行で定義されています。

const std::string osl::record::K_K7 = "\xBC\xB7" [static]

kanjiCode.h33 行で定義されています。

const std::string osl::record::K_K8 = "\xC8\xAC" [static]

kanjiCode.h34 行で定義されています。

const std::string osl::record::K_K9 = "\xB6\xE5" [static]

kanjiCode.h35 行で定義されています。

const std::string osl::record::K_KIFU = "\xb4\xfd\xc9\xe8" [static]

kanjiCode.h92 行で定義されています。

参照元 osl::record::kakinoki::KakinokiFile::isKakinokiFile(), と run().

const std::string osl::record::K_KING = "\xB6\xCC" [static]

kanjiCode.h79 行で定義されています。

参照元 osl::record::KanjiMove::KanjiMove().

const std::string osl::record::K_KING_R = "\xA7\xA1" [static]

kanjiCode.h80 行で定義されています。

const std::string osl::record::K_KISEN = "\xb4\xfd\xc0\xef" [static]

kanjiCode.h91 行で定義されています。

参照元 kakinokiParseLine().

const std::string osl::record::K_KNIGHT = "\xB7\xCB" [static]

kanjiCode.h58 行で定義されています。

参照元 osl::record::KanjiMove::KanjiMove().

const std::string osl::record::K_KNIGHT_R = "\xA7\xAA" [static]

kanjiCode.h59 行で定義されています。

const std::string osl::record::K_LANCE = "\xB9\xE1" [static]

kanjiCode.h53 行で定義されています。

参照元 osl::record::KanjiMove::KanjiMove().

const std::string osl::record::K_LANCE_R = "\xA7\xAC" [static]

kanjiCode.h54 行で定義されています。

const std::string osl::record::K_MIGI = "\xB1\xA6" [static]

kanjiCode.h36 行で定義されています。

参照元 osl::record::KanjiMove::selectCandidates(), と osl::record::ki2::show().

const std::string osl::record::K_NAKAGURO = "\xA1\xA6" [static]

kanjiCode.h16 行で定義されています。

const std::string osl::record::K_NARU = "\xC0\xAE" [static]
const std::string osl::record::K_ONAZI = "\xC6\xB1" [static]
const std::string osl::record::K_PASS = "\xA5\xD1\xA5\xB9" [static]

kanjiCode.h87 行で定義されています。

参照元 osl::record::ki2::show().

const std::string osl::record::K_PAWN = "\xCA\xE2" [static]

kanjiCode.h49 行で定義されています。

参照元 osl::record::KanjiMove::KanjiMove().

const std::string osl::record::K_PAWN_R = "\xA7\xAE" [static]

kanjiCode.h50 行で定義されています。

const std::string osl::record::K_PBISHOP = "\xC7\xCF" [static]

kanjiCode.h72 行で定義されています。

参照元 osl::record::KanjiMove::KanjiMove().

const std::string osl::record::K_PBISHOP_R = "\xA7\xA5" [static]

kanjiCode.h73 行で定義されています。

const std::string osl::record::K_PKNIGHT = "\xB7\xBD" [static]

kanjiCode.h60 行で定義されています。

const std::string osl::record::K_PKNIGHT_D = K_NARU + K_KNIGHT [static]

kanjiCode.h62 行で定義されています。

参照元 osl::record::KanjiMove::KanjiMove().

const std::string osl::record::K_PKNIGHT_R = "\xA7\xAB" [static]

kanjiCode.h61 行で定義されています。

const std::string osl::record::K_PLANCE = "\xB0\xC9" [static]

kanjiCode.h55 行で定義されています。

const std::string osl::record::K_PLANCE_D = K_NARU + K_LANCE [static]

kanjiCode.h57 行で定義されています。

参照元 osl::record::KanjiMove::KanjiMove().

const std::string osl::record::K_PLANCE_R = "\xA7\xAD" [static]

kanjiCode.h56 行で定義されています。

const std::string osl::record::K_PPAWN = "\xA4\xC8" [static]

kanjiCode.h51 行で定義されています。

参照元 osl::record::KanjiMove::KanjiMove().

const std::string osl::record::K_PPAWN_R = "\xA7\xAF" [static]

kanjiCode.h52 行で定義されています。

const std::string osl::record::K_PROOK = "\xCE\xB6" [static]

kanjiCode.h76 行で定義されています。

参照元 osl::record::KanjiMove::KanjiMove().

const std::string osl::record::K_PROOK2 = "\xCE\xB5" [static]

kanjiCode.h77 行で定義されています。

参照元 osl::record::KanjiMove::KanjiMove().

const std::string osl::record::K_PROOK_R = "\xA7\xA3" [static]

kanjiCode.h78 行で定義されています。

const std::string osl::record::K_PSILVER = "\xC1\xB4" [static]

kanjiCode.h65 行で定義されています。

const std::string osl::record::K_PSILVER_D = K_NARU + K_SILVER [static]

kanjiCode.h67 行で定義されています。

参照元 osl::record::KanjiMove::KanjiMove().

const std::string osl::record::K_PSILVER_R = "\xA7\xA9" [static]

kanjiCode.h66 行で定義されています。

const std::string osl::record::K_R1 = "\xA3\xB1" [static]

kanjiCode.h18 行で定義されています。

const std::string osl::record::K_R2 = "\xA3\xB2" [static]

kanjiCode.h19 行で定義されています。

const std::string osl::record::K_R3 = "\xA3\xB3" [static]

kanjiCode.h20 行で定義されています。

const std::string osl::record::K_R4 = "\xA3\xB4" [static]

kanjiCode.h21 行で定義されています。

const std::string osl::record::K_R5 = "\xA3\xB5" [static]

kanjiCode.h22 行で定義されています。

const std::string osl::record::K_R6 = "\xA3\xB6" [static]

kanjiCode.h23 行で定義されています。

const std::string osl::record::K_R7 = "\xA3\xB7" [static]

kanjiCode.h24 行で定義されています。

const std::string osl::record::K_R8 = "\xA3\xB8" [static]

kanjiCode.h25 行で定義されています。

const std::string osl::record::K_R9 = "\xA3\xB9" [static]

kanjiCode.h26 行で定義されています。

const std::string osl::record::K_ROOK = "\xC8\xF4" [static]

kanjiCode.h74 行で定義されています。

参照元 osl::record::KanjiMove::KanjiMove().

const std::string osl::record::K_ROOK_R = "\xA7\xA2" [static]

kanjiCode.h75 行で定義されています。

const std::string osl::record::K_SENKEI = "\xC0\xEF\xB7\xBF" [static]

kanjiCode.h88 行で定義されています。

参照元 osl::record::kakinoki::KakinokiFile::isKakinokiFile().

const std::string osl::record::K_SHITA = "\xB2\xBC" [static]

kanjiCode.h39 行で定義されています。

参照元 osl::record::KanjiMove::selectCandidates().

const std::string osl::record::K_SILVER = "\xB6\xE4" [static]

kanjiCode.h63 行で定義されています。

参照元 osl::record::KanjiMove::KanjiMove().

const std::string osl::record::K_SILVER_R = "\xA7\xA8" [static]

kanjiCode.h64 行で定義されています。

const std::string osl::record::K_SPACE = "\xA1\xA1" [static]

kanjiCode.h15 行で定義されています。

参照元 osl::record::KanjiMove::strToMove().

const std::string osl::record::K_SUGU = "\xC4\xBE" [static]

kanjiCode.h40 行で定義されています。

参照元 osl::record::KanjiMove::selectCandidates(), と osl::record::ki2::show().

const std::string osl::record::K_TEAIWARI = "\xBC\xEA\xB9\xE7\xB3\xE4" [static]

kanjiCode.h86 行で定義されています。

const std::string osl::record::K_TORYO = "\xc5\xea\xce\xbb" [static]

kanjiCode.h89 行で定義されています。

参照元 kakinokiParseLine().

const std::string osl::record::K_TSUMERO = "\xb5\xcd\xa4\xe1\xa4\xed" [static]

kanjiCode.h93 行で定義されています。

参照元 osl::search::AlphaBeta2Tree< EvalT >::showPV().

const std::string osl::record::K_UE = "\xBE\xE5" [static]

kanjiCode.h38 行で定義されています。

参照元 osl::record::KanjiMove::selectCandidates(), と osl::record::ki2::show().

const std::string osl::record::K_UTSU = "\xC2\xC7" [static]
const std::string osl::record::K_WHITE = "\xB8\xE5\xBC\xEA" [static]

kanjiCode.h83 行で定義されています。

参照元 kakinokiParseLine().

const std::string osl::record::K_WHITE_SIGN = "\xA2\xA4" [static]

kanjiCode.h14 行で定義されています。

参照元 osl::record::ki2::show().

const std::string osl::record::K_WHITE_STAND = K_WHITE + "\xBB\xFD\xB6\xF0" [static]

kanjiCode.h85 行で定義されています。

参照元 osl::record::KanjiPrint::print().

const std::string osl::record::K_YORU = "\xB4\xF3" [static]

kanjiCode.h41 行で定義されています。

参照元 osl::record::KanjiMove::selectCandidates(), と osl::record::ki2::show().

const std::string osl::record::K_YUKU = "\xB9\xD4" [static]

kanjiCode.h43 行で定義されています。

参照元 osl::record::KanjiMove::selectCandidates().

 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義
Sun May 16 09:58:45 2010に生成されました。  doxygen 1.6.3