From eee64e37b4eaeff7c588e44309e01bdca33a925d Mon Sep 17 00:00:00 2001 From: TadaoYamaoka Date: Wed, 17 Jan 2024 21:07:00 +0900 Subject: [PATCH] =?UTF-8?q?to=5Fusi=E3=81=A8to=5Fcsa=E3=81=AErtype?= =?UTF-8?q?=E3=82=92str=E3=81=8B=E3=82=89bytes=E3=81=AB=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .doctrees/cshogi.doctree | Bin 508508 -> 508520 bytes .doctrees/environment.pickle | Bin 1356799 -> 1356971 bytes _modules/cshogi/KIF.html | 8 ++++++-- cshogi.html | 4 ++-- searchindex.js | 2 +- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.doctrees/cshogi.doctree b/.doctrees/cshogi.doctree index a84f898b251999c416d4be2b19045b692dcf7ee3..fea8dc1a5269223ed970b3b47768d4a6442315ab 100644 GIT binary patch delta 169 zcmcc9BLAXAzM+M&g=q_OS1}uFQe{bM@npt!2`F>=s$%9mD0{n12{S7<7B!Cb%z5k( zty8A&t7ewiex{x|t$}kYI|CyF2uu!a5!)Kb^6@|4R7R*!#;z>Q#;pOYfBth$Writh dRFK_T#P;kz`_$hDLHedo{K;gzbrSojg8-ewI2Zr` delta 156 zcmaFSB7dhvzM+M&g=q_OSMl`!3M|^wcNQ}zPj3id=G(4Q!u*>HA{bT=6FgbZT-q?X zpo2$bDiZ@E0|>-UDb3K%IFccq)i}L@g~ecNAIpLN)Bjqqva?TR0IS&=!}{m{Bpx=- osfWT9{Z_-007G7>0T84v2ynn1V=wYwoyYE+K|xsi`3%3L}96E}3haQK-}aSM*EC ztrSrd;kt#GB8o6zw74SLVtZy;>Syvh_q;{u_xXqS?Atx}ygTpFa^u;eAD;DCsn2tJ z&tn`37&&lSMtZ`ugp8!LImvOe(h~MLMh9EHl2bD><5N=NGn3O&oh&%8!=l8Qx!DF; zEH~Rz1|k+@Bs+f(_J7PkMi0M`d~?%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J&y_=^(+?^k=Pth8%Pl4ba_CTRUf;M=IfGpcdbMM}OYm*vLY~7Cv-X0G$xJ;93 z9(c<#grr!xkh|0W=>zXa6fk$|3lETEU32sfXYk)inIu*qu)~kjI#^q z0Ta-rAQj@*X9m95DUIG`TZAHopj{rQI84yGG!Rg^2YNYN&^CLZVT}bXsHuRmqID?U OSua?^#hIR--0HvH=7ZJ% diff --git a/_modules/cshogi/KIF.html b/_modules/cshogi/KIF.html index ae7f2b6..666b8e9 100644 --- a/_modules/cshogi/KIF.html +++ b/_modules/cshogi/KIF.html @@ -287,9 +287,13 @@

Source code for cshogi.KIF

                     if len(moves) - len(comments) > 1:
                         comments.extend([None]*(len(moves) - len(comments) - 1))
                     if line[:2] == "**":
-                        comments.append(line[2:])
+                        comment = line[2:]
                     else:
-                        comments.append(line[1:])
+                        comment = line[1:]
+                    if len(comments) == len(moves):
+                        comments[-1] += "\n" + comment
+                    else:
+                        comments.append(comment)
                 else:
                     header_comments.append(line[1:])
             elif ':' in line:
diff --git a/cshogi.html b/cshogi.html
index c6b5b0d..acd20e8 100644
--- a/cshogi.html
+++ b/cshogi.html
@@ -1619,7 +1619,7 @@ 

cshogi package

The CSA representation of the move.

Return type:
-

str

+

bytes

@@ -1636,7 +1636,7 @@

cshogi package

The USI representation of the move.

Return type:
-

str

+

bytes

diff --git a/searchindex.js b/searchindex.js index c1a91fd..ce05269 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["about", "cshogi", "cshogi.dlshogi", "cshogi.gym_shogi", "cshogi.gym_shogi.envs", "cshogi.usi", "cshogi.web", "index", "installation", "quickstart"], "filenames": ["about.rst", "cshogi.rst", "cshogi.dlshogi.rst", "cshogi.gym_shogi.rst", "cshogi.gym_shogi.envs.rst", "cshogi.usi.rst", "cshogi.web.rst", "index.rst", "installation.rst", "quickstart.rst"], "titles": ["About cshogi", "cshogi package", "cshogi.dlshogi package", "cshogi.gym_shogi package", "cshogi.gym_shogi.envs package", "cshogi.usi package", "cshogi.web package", "Welcome to cshogi\u2019s documentation!", "Installation", "Quickstart"], "terms": {"python": [0, 7], "shogi": [0, 1, 4, 5, 6, 7], "i": [0, 1, 4, 5, 6, 7, 9], "an": [0, 1, 2, 4, 5, 6, 7, 9], "extrem": 0, "us": [0, 1, 2, 6, 8], "librari": [0, 7], "can": [0, 1, 4, 8, 9], "its": [0, 1, 5], "slow": 0, "drawback": 0, "depend": [0, 8], "applic": 0, "It": [0, 1], "describ": 0, "offici": 0, "websit": 0, "well": 0, "purpos": 0, "simpli": 0, "abstractli": 0, "rather": 0, "than": [0, 8], "focus": 0, "speed": 0, "howev": 0, "becom": 0, "bottleneck": 0, "when": [0, 1], "try": 0, "machin": [0, 7], "learn": [0, 7], "therefor": 0, "decid": 0, "creat": [0, 1, 7, 9], "oper": 0, "quickli": 0, "possibl": 0, "from": [0, 1, 2, 5, 6, 9], "insid": 0, "board": [0, 1, 2, 4, 6, 7, 9], "repres": [0, 1, 2, 4, 5], "bitboard": 0, "": [0, 1, 5, 9], "bit": [0, 1], "ar": [0, 8, 9], "veri": 0, "improv": 0, "expect": 0, "develop": 0, "part": 0, "c": [0, 1, 8], "make": [0, 1, 2, 4, 5, 7, 9], "callabl": [0, 1, 5], "For": 0, "thi": [0, 1, 4], "reason": [0, 1], "aperi": [0, 1, 9], "sourc": [0, 1, 2, 5, 6], "code": [0, 1], "wai": 0, "call": 0, "numer": [0, 9], "valu": [0, 1, 5], "In": [0, 1], "class": [0, 1, 4, 5, 6], "conveni": 0, "method": 0, "provid": [0, 5, 7], "thei": [0, 9], "made": [0, 1, 4], "emphasi": 0, "instead": 0, "sever": 0, "helper": [0, 9], "prepar": 0, "move_to": [0, 1, 7], "move_from": [0, 1, 7], "move_cap": [0, 1, 7], "move_drop_hand_piec": [0, 1, 7], "move_is_promot": [0, 1, 7], "move_is_drop": [0, 1, 7], "move_to_usi": [0, 1, 7, 9], "move_to_csa": [0, 1, 7, 9], "appli": [0, 1], "perform": [0, 1], "If": [0, 1, 8], "incorrect": [0, 1], "pass": [0, 1], "data": [0, 1], "mai": [0, 5], "corrupt": 0, "program": 0, "termin": 0, "abnorm": 0, "due": [0, 1], "access": [0, 6], "violat": 0, "other": 0, "issu": 0, "The": [0, 1, 4, 5, 6], "compli": 0, "number": [0, 1, 4, 5, 6, 9], "0": [0, 1, 5, 8, 9], "80": 0, "care": 0, "correspond": [0, 1], "differ": [0, 1], "pleas": 0, "constant": 0, "like": 0, "a1": 0, "a2": 0, "directli": 0, "alphabet": 0, "rank": 0, "file": [0, 1, 6], "also": 0, "Be": 0, "piece_types_with_non": 0, "piece_typ": [0, 1, 7], "defin": [0, 1], "follow": [0, 1, 8], "none": [0, 1, 4, 5, 6], "pawn": 0, "lanc": 0, "knight": 0, "silver": 0, "bishop": 0, "rook": 0, "gold": 0, "king": [0, 1], "prom_pawn": 0, "prom_lanc": 0, "prom_knight": 0, "prom_silv": 0, "prom_bishop": 0, "prom_rook": 0, "rang": 0, "15": 0, "bpawn": [0, 1], "blanc": 0, "bknight": 0, "bsilver": 0, "bbishop": 0, "brook": 0, "bgold": 0, "bking": 0, "bprom_pawn": 0, "bprom_lanc": 0, "bprom_knight": 0, "bprom_silv": 0, "bprom_bishop": 0, "bprom_rook": 0, "notus": 0, "wpawn": 0, "wlanc": 0, "wknight": 0, "wsilver": 0, "wbishop": 0, "wrook": 0, "wgold": 0, "wking": 0, "wprom_pawn": 0, "wprom_lanc": 0, "wprom_knight": 0, "wprom_silv": 0, "wprom_bishop": 0, "wprom_rook": 0, "31": 0, "hand_piec": 0, "return": [0, 1, 2, 4, 5], "pieces_in_hand": [0, 1, 7], "order": 0, "hpawn": [0, 1], "hlanc": 0, "hknight": 0, "hsilver": 0, "hgold": 0, "hbishop": 0, "hrook": 0, "7": [0, 9], "base": [1, 4, 5, 6], "object": [1, 2, 4, 5, 6], "paramet": [1, 2, 4, 5, 6], "sfen": [1, 4, 5, 6, 7, 9], "str": [1, 4, 5, 6], "option": [1, 4, 5, 6], "A": [1, 2, 4, 5], "string": [1, 4, 5], "format": [1, 7, 9], "exampl": [1, 5, 7, 9], "initi": [1, 4, 5, 6], "lnsgkgsnl": 1, "1r5b1": 1, "ppppppppp": 1, "9": [1, 2, 5, 9], "1b5r1": 1, "b": [1, 9], "1": [1, 9], "board2": 1, "book_kei": [1, 7], "get": [1, 5], "kei": 1, "open": [1, 7], "book": 1, "current": [1, 2, 4, 5], "state": [1, 2, 4, 5], "type": [1, 4, 5], "long": 1, "book_key_aft": [1, 7], "after": [1, 5], "specif": 1, "move": [1, 2, 4, 5, 6, 7, 9], "int": [1, 4, 5, 6], "result": [1, 5], "copi": [1, 7], "new": 1, "same": 1, "csa_po": [1, 7], "posit": [1, 5, 6, 7, 9], "comput": 1, "associ": 1, "drop_mov": [1, 7], "drop": 1, "to_squar": 1, "destin": 1, "squar": 1, "index": [1, 7], "drop_piece_typ": 1, "piec": [1, 7], "integ": [1, 2], "histori": [1, 7], "game": [1, 2, 4, 5, 6, 9], "list": [1, 4, 5, 9], "is_check": [1, 7, 9], "determin": [1, 9], "check": [1, 5, 9], "true": [1, 5, 9], "fals": [1, 5, 6, 9], "otherwis": [1, 4], "bool": [1, 4, 5], "is_draw": [1, 7, 9], "whether": [1, 5], "draw": [1, 4, 6, 9], "anoth": 1, "special": 1, "condit": [1, 5], "ply": 1, "up": 1, "default": [1, 4, 5, 6], "maximum": 1, "statu": [1, 4], "could": 1, "one": [1, 4, 9], "repetition_draw": [1, 9], "case": 1, "repeat": 1, "repetition_win": 1, "win": [1, 7], "consecut": 1, "repetition_los": 1, "loss": 1, "repetition_superior": 1, "superior": 1, "repetition_inferior": 1, "inferior": 1, "not_repetit": 1, "abov": 1, "enum": 1, "is_game_ov": [1, 7, 9], "over": [1, 5], "is_leg": [1, 7], "legal": [1, 7, 9], "is_mat": [1, 7], "mate": [1, 5], "met": 1, "given": [1, 2, 6], "even": 1, "is_nyugyoku": [1, 7, 9], "accord": 1, "ny\u016bgyoku": 1, "declar": [1, 9], "rule": 1, "27": 1, "point": 1, "enter": 1, "is_ok": [1, 7], "valid": 1, "is_pseudo_leg": [1, 7], "pseudo": 1, "king_squar": [1, 7], "color": [1, 2], "either": 1, "black": [1, 5], "white": [1, 5], "specifi": [1, 4], "legal_mov": [1, 7, 9], "gener": [1, 2, 7, 9], "iter": 1, "yield": 1, "legalmovelist": [1, 7], "mate_mov": [1, 7], "find": 1, "odd": 1, "should": 1, "greater": 1, "equal": 1, "3": [1, 9], "mate_move_in_1pli": [1, 7], "from_squar": 1, "start": [1, 5, 7, 9], "promot": 1, "involv": 1, "move_from_csa": [1, 7, 9], "move_from_move16": [1, 7], "16": 1, "move16": [1, 7], "unsign": 1, "short": 1, "move_from_psv": [1, 7], "psv": 1, "move_from_usi": [1, 7, 9], "usi": [1, 6, 7, 9], "move_numb": [1, 7], "peek": [1, 7], "last": 1, "sq": 1, "piece_plan": [1, 7], "plane": 1, "store": 1, "ndarrai": [1, 2, 4], "featur": [1, 2], "np": [1, 4, 9], "dimens": 1, "features_num": 1, "dtype": [1, 9], "float32": 1, "where": 1, "len": 1, "2": [1, 9], "sum": 1, "max_pieces_in_hand": 1, "piece_planes_rot": [1, 7], "180": 1, "degre": 1, "rotat": 1, "arrai": [1, 2], "hand": 1, "both": 1, "player": [1, 6], "tupl": [1, 4, 5], "contain": [1, 4, 5], "pop": [1, 7, 9], "pop_pass": [1, 7], "pseudo_legal_move_is_leg": [1, 7], "pseudo_legal_mov": [1, 7], "pseudolegalmovelist": [1, 7], "push": [1, 7], "each": [1, 4, 6], "ha": 1, "mean": 1, "xxxxxxxx": 1, "x1111111": 1, "xx111111": 1, "1xxxxxxx": 1, "piecetyp": 1, "squarenum": 1, "x1xxxxxx": 1, "flag": [1, 4], "xxxx1111": 1, "1111xxxx": 1, "captur": [1, 5], "encod": 1, "push_csa": [1, 7], "invalid": 1, "push_move16": [1, 7], "lower": [1, 8], "inget": 1, "push_pass": [1, 7], "push_psv": [1, 7], "which": 1, "yaneura": [1, 9], "push_usi": [1, 7, 9], "univers": [1, 5], "interfac": [1, 4, 5, 6], "reset": [1, 3, 4, 5, 7], "set_hcp": [1, 7, 9], "set": [1, 2, 5], "huffmancodedpo": [1, 9], "hcp": [1, 4, 9], "compress": [1, 9], "rais": 1, "runtimeerror": 1, "fromfil": [1, 9], "hcpfile": 1, "asarrai": 1, "set_piec": [1, 7], "edit": 1, "pieces_src": 1, "pieces_in_hand_src": 1, "pieces_dst": 1, "g1": 1, "f1": 1, "c1": 1, "pieces_in_hand_dst": 1, "board_dst": 1, "set_posit": [1, 7], "startpo": [1, 5, 6], "2g2f": [1, 9], "set_psfen": [1, 7, 9], "packedsfen": 1, "psfen": [1, 9], "psfenfil": 1, "set_sfen": [1, 7], "forsyth": 1, "edward": 1, "notat": 1, "to_bod": [1, 7], "convert": [1, 9], "diagram": 1, "bod": 1, "to_hcp": [1, 7, 9], "to_psfen": [1, 7], "to_svg": [1, 7], "svg": [1, 4], "represent": [1, 4, 9], "lastmov": 1, "ani": [1, 4], "scale": 1, "float": [1, 4], "factor": 1, "svgwrapper": [1, 4, 7], "turn": [1, 7], "first": [1, 2, 6, 8], "second": [1, 2, 6], "zobrist_hash": [1, 7], "calcul": 1, "zobrist": 1, "hash": 1, "64": 1, "dfpn": [1, 7], "search": [1, 5, 7], "df": 1, "pn": 1, "algorithm": 1, "depth": 1, "node": [1, 5, 6], "draw_pli": 1, "pli": 1, "consid": 1, "get_mov": [1, 7], "found": [1, 5], "get_pv": [1, 7], "princip": [1, 5], "variat": [1, 5], "pv": [1, 5], "sequenc": 1, "checkmat": [1, 5], "search_andnod": [1, 7], "AND": 1, "searched_nod": [1, 7], "set_draw_pli": [1, 7], "set_max_depth": [1, 7], "max_depth": 1, "set_max_search_nod": [1, 7], "max_search_nod": 1, "stop": [1, 5, 7], "hand_piece_to_piece_typ": [1, 7], "identifi": 1, "hp": 1, "typic": 1, "move16_from_psv": [1, 7], "move16_to_psv": [1, 7], "extract": 1, "move_from_piece_typ": [1, 7], "move_rot": [1, 7], "oppon": [1, 7], "piece_to_piece_typ": [1, 7], "p": [1, 9], "to_csa": [1, 7], "to_usi": [1, 7], "export": [1, 7], "path": [1, 6], "append": 1, "handl": [1, 5, 9], "close": [1, 7], "endgam": [1, 7], "time": [1, 5, 6, 7], "write": 1, "taken": 1, "info": [1, 5, 6, 7], "init_board": 1, "name": [1, 5, 6, 7], "var_info": [1, 7], "comment": [1, 7], "version": [1, 7, 8], "inform": [1, 5], "dict": [1, 4, 5, 6], "addit": [1, 8], "variabl": 1, "about": [1, 7], "sep": 1, "n": 1, "separ": 1, "charact": 1, "newlin": 1, "parser": [1, 7], "pars": 1, "record": 1, "standard": 1, "parse_csa_fil": [1, 7], "parse_csa_str": [1, 7], "csa_str": 1, "static": 1, "parse_fil": [1, 7], "parse_str": [1, 7], "more": [1, 9], "rate": [1, 7], "score": [1, 5, 7], "dictionari": [1, 5, 6], "variou": 1, "black_win": 1, "white_win": 1, "written": 1, "end": [1, 7, 9], "e": 1, "g": 1, "toryo": 1, "sennichit": 1, "header": [1, 7], "starttim": 1, "includ": 1, "date": 1, "first_play": 1, "second_play": 1, "datetim": 1, "japanes": 1, "handycap_sfen": [1, 7], "\u305d\u306e\u4ed6": 1, "\u4e09\u679a\u843d\u3061": 1, "lnsgkgsn1": 1, "w": [1, 9], "\u4e8c\u679a\u843d\u3061": 1, "\u4e94\u679a\u843d\u3061": 1, "2sgkgsn1": 1, "\u516b\u679a\u843d\u3061": 1, "3gkg3": 1, "\u516d\u679a\u843d\u3061": 1, "2sgkgs2": 1, "\u5341\u679a\u843d\u3061": 1, "4k4": 1, "\u53f3\u9999\u843d\u3061": 1, "1nsgkgsnl": 1, "\u56db\u679a\u843d\u3061": 1, "1nsgkgsn1": 1, "\u5de6\u4e94\u679a\u843d\u3061": 1, "1nsgkgs2": 1, "\u5e73\u624b": 1, "\u89d2\u843d\u3061": 1, "1r7": 1, "\u98db\u8eca\u843d\u3061": 1, "7b1": 1, "\u98db\u9999\u843d\u3061": 1, "\u9999\u843d\u3061": 1, "move_r": [1, 7], "re": [1, 5], "compil": [1, 5, 8], "\uff11\uff12\uff13\uff14\uff15\uff16\uff17\uff18\uff19": 1, "\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d": 1, "\u540c": 1, "u3000": 1, "\u6b69\u9999\u6842\u9280\u91d1\u89d2\u98db\u7389\u3068\u674f\u572d\u5168\u99ac\u9f8d": 1, "\u5de6": 1, "\u76f4": 1, "\u53f3": 1, "\u4e0a": 1, "\u5bc4": 1, "\u5f15": 1, "\u6253": 1, "\u6210": 1, "\u4e0d\u6210": 1, "result_r": [1, 7], "d": 1, "\u624b\u3067": 1, "\u5148": 1, "\u4e0b": 1, "\u5f8c": 1, "\u624b\u306e": 1, "\u52dd\u3061": 1, "\u5165\u7389\u52dd\u3061": 1, "\u53cd\u5247\u52dd\u3061": 1, "\u53cd\u5247\u8ca0\u3051": 1, "\u5343\u65e5\u624b": 1, "\u6301\u5c06\u68cb": 1, "\u4e2d\u65ad": 1, "instanc": [1, 4], "all": [1, 4, 5], "parserexcept": [1, 7], "error": 1, "parse_move_str": [1, 7], "line": [1, 5], "them": [1, 7, 9], "parse_pieces_in_hand": [1, 7], "target": 1, "descript": 1, "kif_str": 1, "move_to_ki2": [1, 7], "sec": 1, "sec_sum": 1, "resign": 1, "spent": 1, "total": 1, "dure": 1, "handicap": 1, "relat": [1, 5], "so": 1, "far": 1, "\u6295\u4e86": 1, "\u8a70\u307f": 1, "\u5207\u308c\u8ca0\u3051": 1, "z": 1, "except": 1, "board_to_bod": [1, 7], "move_to_bod": [1, 7], "move_to_kif": [1, 7], "prev_mov": 1, "sec_to_tim": [1, 7], "portabl": 1, "exist": 1, "movetext": [1, 7], "text": [1, 9], "section": 1, "actual": 1, "tag_pair": [1, 7], "event": 1, "site": 1, "round": 1, "tag": 1, "pair": 1, "metadata": [1, 3, 4], "move_to_san": [1, 7], "main": [1, 7, 9], "engine1": [1, 6], "engine2": [1, 6], "options1": [1, 6], "options2": [1, 6], "mate_win": 1, "byoyomi": [1, 5, 6], "inc": [1, 6], "256": [1, 6], "ponder": [1, 5, 6], "no_swap": 1, "opening_mov": 1, "24": 1, "opening_se": 1, "opening_index": 1, "keep_process": 1, "multi_csa": 1, "no_pgn_mov": 1, "is_displai": 1, "debug": [1, 5], "print_summari": 1, "callback": [1, 5], "execut": 1, "seri": 1, "between": [1, 6, 9], "two": [1, 6], "engin": [1, 5, 6, 9], "plai": [1, 5, 9], "threshold": 1, "fall": 1, "below": [1, 7, 9], "neg": 1, "millisecond": [1, 5, 6], "control": [1, 5, 6, 9], "increment": [1, 5, 6], "per": [1, 5], "befor": [1, 6], "disabl": 1, "swap": 1, "seed": 1, "random": 1, "shuffl": 1, "keep": 1, "process": 1, "run": [1, 6], "complet": 1, "multi": 1, "omit": 1, "displai": [1, 7, 9], "enabl": [1, 5], "mode": [1, 4, 5], "print": [1, 5, 9], "summari": 1, "match": [1, 6, 9], "function": [1, 9], "statist": 1, "to_scor": [1, 7], "m": 1, "usi_info_to_csa_com": [1, 7], "usi_info_to_scor": [1, 7], "diff": [1, 7], "draw_ratio": [1, 7], "ratio": 1, "error_margin": [1, 7], "margin": 1, "lo": [1, 7], "likelihood": 1, "percentag": 1, "point_ratio": [1, 7], "elo_diff": [1, 7], "erf_inv": [1, 7], "x": 1, "phi_inv": [1, 7], "dlshogi": [1, 7], "make_input_featur": [1, 2], "make_move_label": [1, 2], "gym_shogi": [1, 7], "env": [1, 3], "shogi_env": [1, 3], "shogi_vec_env": [1, 3], "connect": [1, 5], "gameov": [1, 5], "go": [1, 5, 6, 9], "go_mat": [1, 5], "isreadi": [1, 5, 6, 9], "ponderhit": [1, 5], "quit": [1, 5, 6], "setopt": [1, 5], "usinewgam": [1, 5, 6], "infolisten": [1, 5], "bestmov": [1, 5], "listen": [1, 5, 6], "mate_scor": [1, 5], "re_bestmov": [1, 5], "re_info": [1, 5], "multipvlisten": [1, 5], "re_multipv": [1, 5], "web": [1, 7, 8], "app": [1, 7], "human": [1, 4, 6], "colab": [1, 6], "usi_info_to_pv": [1, 6], "features1": 2, "features2": 2, "input": 2, "model": 2, "numpi": [2, 9], "shape": 2, "features1_num": 2, "fill": 2, "features2_num": 2, "label": 2, "context": 2, "submodul": [3, 7], "shogienv": [3, 4], "render": [3, 4, 6], "step": [3, 4], "shogivecenv": [3, 4], "action_spac": [3, 4], "observation_spac": [3, 4], "environ": 4, "simul": 4, "conform": 4, "openai": 4, "gym": 4, "ansi": 4, "desir": 4, "advanc": 4, "reward": 4, "done": 4, "num_env": 4, "vector": 4, "manag": [4, 7], "multipl": 4, "simultan": 4, "status": 4, "space": 4, "acttyp": 4, "obstyp": 4, "cmd": 5, "command": [5, 8], "launch": [5, 9], "upon": 5, "respons": 5, "send": 5, "notifi": 5, "btime": [5, 6], "wtime": [5, 6], "binc": [5, 6], "winc": [5, 6], "best": 5, "remain": 5, "limit": 5, "infinit": 5, "readi": 5, "wa": 5, "wait": 5, "exit": 5, "100000": 5, "listner": 5, "obtain": 5, "interact": 5, "info_listen": 5, "1000": 5, "properti": 5, "detail": 5, "regard": 5, "itself": 5, "cp": 5, "multipv": 5, "multipv_listen": 5, "human_input": 6, "name1": 6, "name2": 6, "csa": [6, 7, 9], "host": 6, "localhost": 6, "port": 6, "8000": 6, "replai": 6, "flask": 6, "via": 6, "configur": 6, "empti": [6, 9], "claim": 6, "hostnam": 6, "bind": 6, "server": 6, "fast": 7, "verif": 7, "protocol": 7, "support": 7, "instal": 7, "quickstart": 7, "packag": [7, 8], "modul": 7, "content": [7, 9], "ki2": 7, "kif": 7, "pgn": 7, "cli": [7, 9], "elo": 7, "subpackag": 7, "page": 7, "cython": 8, "compat": 8, "requir": 8, "pip": 8, "git": 8, "http": 8, "com": 8, "tadaoyamaoka": 8, "cshogi": [8, 9], "you": 8, "need": 8, "19": 8, "higher": 8, "have": 8, "upgrad": 8, "import": 9, "1g1f": 9, "3g3f": 9, "4g4f": 9, "5g5f": 9, "6g6f": 9, "7g7f": 9, "integr": 9, "ipython": 9, "jupyt": 9, "notebook": 9, "undo": 9, "ln4skl": 9, "3r1g3": 9, "1p2pgnp1": 9, "p1ppsbp1p": 9, "5p3": 9, "2ppp1p1p": 9, "ppbssg1p1": 9, "2r3gk1": 9, "ln5nl": 9, "43": 9, "8": 9, "6": 9, "5": 9, "4": 9, "p1": 9, "ky": 9, "ke": 9, "gi": 9, "ou": 9, "p2": 9, "hi": 9, "ki": 9, "p3": 9, "fu": 9, "p4": 9, "ka": 9, "p5": 9, "p6": 9, "p7": 9, "p8": 9, "p9": 9, "00fu": 9, "nyugyoku": 9, "judgment": 9, "repetit": 9, "There": 9, "ident": 9, "66309": 9, "1716fu": 9, "form": 9, "73275": 9, "7776fu": 9, "read": 9, "teacher": 9, "hcpe": 9, "huffmancodedposandev": 9, "bin": 9, "packedsfenvalu": 9, "save": 9, "tofil": 9, "lesserkaisrc": 9, "lesserkai": 9, "7nl": 9, "5kp2": 9, "3p2g1p": 9, "2p1gp3": 9, "p6sp": 9, "s1bgpn3": 9, "4npsp1": 9, "r4r2": 9, "l1": 9, "p3k1l": 9, "gsnlpb6p": 9, "122": 9}, "objects": {"": [[1, 0, 0, "-", "cshogi"]], "cshogi": [[1, 1, 1, "", "Board"], [1, 0, 0, "-", "CSA"], [1, 1, 1, "", "DfPn"], [1, 0, 0, "-", "KI2"], [1, 0, 0, "-", "KIF"], [1, 1, 1, "", "LegalMoveList"], [1, 0, 0, "-", "PGN"], [1, 1, 1, "", "PseudoLegalMoveList"], [1, 1, 1, "", "SvgWrapper"], [1, 0, 0, "-", "cli"], [2, 0, 0, "-", "dlshogi"], [1, 0, 0, "-", "elo"], [3, 0, 0, "-", "gym_shogi"], [1, 4, 1, "", "hand_piece_to_piece_type"], [1, 4, 1, "", "move16"], [1, 4, 1, "", "move16_from_psv"], [1, 4, 1, "", "move16_to_psv"], [1, 4, 1, "", "move_cap"], [1, 4, 1, "", "move_drop_hand_piece"], [1, 4, 1, "", "move_from"], [1, 4, 1, "", "move_from_piece_type"], [1, 4, 1, "", "move_is_drop"], [1, 4, 1, "", "move_is_promotion"], [1, 4, 1, "", "move_rotate"], [1, 4, 1, "", "move_to"], [1, 4, 1, "", "move_to_csa"], [1, 4, 1, "", "move_to_usi"], [1, 4, 1, "", "opponent"], [1, 4, 1, "", "piece_to_piece_type"], [1, 4, 1, "", "to_csa"], [1, 4, 1, "", "to_usi"], [5, 0, 0, "-", "usi"], [6, 0, 0, "-", "web"]], "cshogi.Board": [[1, 2, 1, "", "book_key"], [1, 2, 1, "", "book_key_after"], [1, 2, 1, "", "copy"], [1, 2, 1, "", "csa_pos"], [1, 2, 1, "", "drop_move"], [1, 3, 1, "", "history"], [1, 2, 1, "", "is_check"], [1, 2, 1, "", "is_draw"], [1, 2, 1, "", "is_game_over"], [1, 2, 1, "", "is_legal"], [1, 2, 1, "", "is_mate"], [1, 2, 1, "", "is_nyugyoku"], [1, 2, 1, "", "is_ok"], [1, 2, 1, "", "is_pseudo_legal"], [1, 2, 1, "", "king_square"], [1, 3, 1, "", "legal_moves"], [1, 2, 1, "", "mate_move"], [1, 2, 1, "", "mate_move_in_1ply"], [1, 2, 1, "", "move"], [1, 2, 1, "", "move_from_csa"], [1, 2, 1, "", "move_from_move16"], [1, 2, 1, "", "move_from_psv"], [1, 2, 1, "", "move_from_usi"], [1, 3, 1, "", "move_number"], [1, 2, 1, "", "peek"], [1, 2, 1, "", "piece"], [1, 2, 1, "", "piece_planes"], [1, 2, 1, "", "piece_planes_rotate"], [1, 2, 1, "", "piece_type"], [1, 3, 1, "", "pieces"], [1, 3, 1, "", "pieces_in_hand"], [1, 2, 1, "", "pop"], [1, 2, 1, "", "pop_pass"], [1, 2, 1, "", "pseudo_legal_move_is_legal"], [1, 3, 1, "", "pseudo_legal_moves"], [1, 2, 1, "", "push"], [1, 2, 1, "", "push_csa"], [1, 2, 1, "", "push_move16"], [1, 2, 1, "", "push_pass"], [1, 2, 1, "", "push_psv"], [1, 2, 1, "", "push_usi"], [1, 2, 1, "", "reset"], [1, 2, 1, "", "set_hcp"], [1, 2, 1, "", "set_pieces"], [1, 2, 1, "", "set_position"], [1, 2, 1, "", "set_psfen"], [1, 2, 1, "", "set_sfen"], [1, 2, 1, "", "sfen"], [1, 2, 1, "", "to_bod"], [1, 2, 1, "", "to_hcp"], [1, 2, 1, "", "to_psfen"], [1, 2, 1, "", "to_svg"], [1, 3, 1, "", "turn"], [1, 2, 1, "", "zobrist_hash"]], "cshogi.CSA": [[1, 1, 1, "", "Exporter"], [1, 1, 1, "", "Parser"]], "cshogi.CSA.Exporter": [[1, 2, 1, "", "close"], [1, 2, 1, "", "endgame"], [1, 2, 1, "", "info"], [1, 2, 1, "", "move"], [1, 2, 1, "", "open"]], "cshogi.CSA.Parser": [[1, 3, 1, "", "comment"], [1, 3, 1, "", "comments"], [1, 3, 1, "", "endgame"], [1, 3, 1, "", "moves"], [1, 3, 1, "", "names"], [1, 2, 1, "", "parse_csa_file"], [1, 2, 1, "", "parse_csa_str"], [1, 2, 1, "", "parse_file"], [1, 2, 1, "", "parse_str"], [1, 3, 1, "", "ratings"], [1, 3, 1, "", "scores"], [1, 3, 1, "", "sfen"], [1, 3, 1, "", "times"], [1, 3, 1, "", "var_info"], [1, 3, 1, "", "version"], [1, 3, 1, "", "win"]], "cshogi.DfPn": [[1, 2, 1, "", "get_move"], [1, 2, 1, "", "get_pv"], [1, 2, 1, "", "search"], [1, 2, 1, "", "search_andnode"], [1, 3, 1, "", "searched_node"], [1, 2, 1, "", "set_draw_ply"], [1, 2, 1, "", "set_max_depth"], [1, 2, 1, "", "set_max_search_node"], [1, 2, 1, "", "stop"]], "cshogi.KI2": [[1, 1, 1, "", "Exporter"], [1, 1, 1, "", "Parser"], [1, 4, 1, "", "move_to_ki2"]], "cshogi.KI2.Exporter": [[1, 2, 1, "", "close"], [1, 2, 1, "", "end"], [1, 2, 1, "", "header"], [1, 2, 1, "", "move"], [1, 2, 1, "", "open"]], "cshogi.KI2.Parser": [[1, 3, 1, "", "HANDYCAP_SFENS"], [1, 3, 1, "", "MOVE_RE"], [1, 3, 1, "", "RESULT_RE"], [1, 2, 1, "", "parse_file"], [1, 2, 1, "", "parse_move_str"], [1, 2, 1, "", "parse_pieces_in_hand"], [1, 2, 1, "", "parse_str"]], "cshogi.KIF": [[1, 1, 1, "", "Exporter"], [1, 1, 1, "", "Parser"], [1, 5, 1, "", "ParserException"], [1, 4, 1, "", "board_to_bod"], [1, 4, 1, "", "move_to_bod"], [1, 4, 1, "", "move_to_kif"], [1, 4, 1, "", "sec_to_time"]], "cshogi.KIF.Exporter": [[1, 2, 1, "", "close"], [1, 2, 1, "", "end"], [1, 2, 1, "", "header"], [1, 2, 1, "", "info"], [1, 2, 1, "", "move"], [1, 2, 1, "", "open"]], "cshogi.KIF.Parser": [[1, 3, 1, "", "HANDYCAP_SFENS"], [1, 3, 1, "", "MOVE_RE"], [1, 3, 1, "", "RESULT_RE"], [1, 2, 1, "", "parse_file"], [1, 2, 1, "", "parse_move_str"], [1, 2, 1, "", "parse_pieces_in_hand"], [1, 2, 1, "", "parse_str"]], "cshogi.PGN": [[1, 1, 1, "", "Exporter"], [1, 4, 1, "", "move_to_san"]], "cshogi.PGN.Exporter": [[1, 2, 1, "", "close"], [1, 2, 1, "", "movetext"], [1, 2, 1, "", "open"], [1, 2, 1, "", "tag_pair"]], "cshogi.cli": [[1, 4, 1, "", "main"], [1, 4, 1, "", "to_score"], [1, 4, 1, "", "usi_info_to_csa_comment"], [1, 4, 1, "", "usi_info_to_score"]], "cshogi.dlshogi": [[2, 4, 1, "", "make_input_features"], [2, 4, 1, "", "make_move_label"]], "cshogi.elo": [[1, 1, 1, "", "Elo"], [1, 4, 1, "", "elo_diff"], [1, 4, 1, "", "erf_inv"], [1, 4, 1, "", "phi_inv"]], "cshogi.elo.Elo": [[1, 2, 1, "", "diff"], [1, 2, 1, "", "draw_ratio"], [1, 2, 1, "", "error_margin"], [1, 2, 1, "", "los"], [1, 2, 1, "", "point_ratio"]], "cshogi.gym_shogi": [[4, 0, 0, "-", "envs"]], "cshogi.gym_shogi.envs": [[4, 1, 1, "", "ShogiEnv"], [4, 1, 1, "", "ShogiVecEnv"], [4, 0, 0, "-", "shogi_env"], [4, 0, 0, "-", "shogi_vec_env"]], "cshogi.gym_shogi.envs.ShogiEnv": [[4, 3, 1, "", "action_space"], [4, 3, 1, "", "metadata"], [4, 3, 1, "", "observation_space"], [4, 2, 1, "", "render"], [4, 2, 1, "", "reset"], [4, 2, 1, "", "step"]], "cshogi.gym_shogi.envs.ShogiVecEnv": [[4, 3, 1, "", "metadata"], [4, 2, 1, "", "render"], [4, 2, 1, "", "reset"], [4, 2, 1, "", "step"]], "cshogi.gym_shogi.envs.shogi_env": [[4, 1, 1, "", "ShogiEnv"]], "cshogi.gym_shogi.envs.shogi_env.ShogiEnv": [[4, 3, 1, "", "metadata"], [4, 2, 1, "", "render"], [4, 2, 1, "", "reset"], [4, 2, 1, "", "step"]], "cshogi.gym_shogi.envs.shogi_vec_env": [[4, 1, 1, "", "ShogiVecEnv"]], "cshogi.gym_shogi.envs.shogi_vec_env.ShogiVecEnv": [[4, 3, 1, "", "metadata"], [4, 2, 1, "", "render"], [4, 2, 1, "", "reset"], [4, 2, 1, "", "step"]], "cshogi.usi": [[5, 1, 1, "", "Engine"], [5, 1, 1, "", "InfoListener"], [5, 1, 1, "", "MultiPVListener"]], "cshogi.usi.Engine": [[5, 2, 1, "", "connect"], [5, 2, 1, "", "gameover"], [5, 2, 1, "", "go"], [5, 2, 1, "", "go_mate"], [5, 2, 1, "", "isready"], [5, 2, 1, "", "ponderhit"], [5, 2, 1, "", "position"], [5, 2, 1, "", "quit"], [5, 2, 1, "", "setoption"], [5, 2, 1, "", "stop"], [5, 2, 1, "", "usi"], [5, 2, 1, "", "usinewgame"]], "cshogi.usi.InfoListener": [[5, 6, 1, "", "bestmove"], [5, 6, 1, "", "info"], [5, 2, 1, "", "listen"], [5, 6, 1, "", "mate_score"], [5, 6, 1, "", "pv"], [5, 3, 1, "", "re_bestmove"], [5, 3, 1, "", "re_info"], [5, 6, 1, "", "score"]], "cshogi.usi.MultiPVListener": [[5, 6, 1, "", "info"], [5, 2, 1, "", "listen"], [5, 3, 1, "", "re_multipv"]], "cshogi.web": [[6, 0, 0, "-", "app"]], "cshogi.web.app": [[6, 1, 1, "", "Human"], [6, 4, 1, "", "colab"], [6, 4, 1, "", "match"], [6, 4, 1, "", "run"], [6, 4, 1, "", "usi_info_to_pv"]], "cshogi.web.app.Human": [[6, 2, 1, "", "go"], [6, 2, 1, "", "isready"], [6, 2, 1, "", "position"], [6, 2, 1, "", "quit"], [6, 2, 1, "", "usi"], [6, 2, 1, "", "usinewgame"]]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:attribute", "4": "py:function", "5": "py:exception", "6": "py:property"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "attribute", "Python attribute"], "4": ["py", "function", "Python function"], "5": ["py", "exception", "Python exception"], "6": ["py", "property", "Python property"]}, "titleterms": {"about": 0, "cshogi": [0, 1, 2, 3, 4, 5, 6, 7], "design": 0, "polici": 0, "handl": 0, "move": 0, "legal": 0, "check": 0, "coordin": 0, "system": 0, "piec": 0, "hand": 0, "packag": [1, 2, 3, 4, 5, 6], "modul": [1, 2, 3, 4, 5, 6], "content": [1, 2, 3, 4, 5, 6], "submodul": [1, 4, 6], "csa": 1, "ki2": 1, "kif": 1, "pgn": 1, "cli": 1, "elo": 1, "subpackag": [1, 3], "dlshogi": 2, "gym_shogi": [3, 4], "env": 4, "shogi_env": 4, "shogi_vec_env": 4, "usi": 5, "web": 6, "app": 6, "welcom": 7, "": 7, "document": 7, "introduct": 7, "refer": 7, "indic": 7, "tabl": 7, "instal": 8, "from": 8, "github": 8, "sourc": 8, "pypi": 8, "quickstart": 9, "basic": 9, "featur": 9}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 8, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.viewcode": 1, "sphinx.ext.todo": 2, "sphinx": 57}, "alltitles": {"About cshogi": [[0, "about-cshogi"]], "Design Policy": [[0, "design-policy"]], "Handling of Moves": [[0, "handling-of-moves"]], "Legal Move Check": [[0, "legal-move-check"]], "Coordinate System": [[0, "coordinate-system"]], "Handling of Pieces": [[0, "handling-of-pieces"]], "Handling of Pieces in Hand": [[0, "handling-of-pieces-in-hand"]], "cshogi package": [[1, "cshogi-package"]], "Module contents": [[1, "module-cshogi"], [2, "module-cshogi.dlshogi"], [3, "module-cshogi.gym_shogi"], [4, "module-cshogi.gym_shogi.envs"], [5, "module-cshogi.usi"], [6, "module-cshogi.web"]], "Submodules": [[1, "submodules"], [4, "submodules"], [6, "submodules"]], "cshogi.CSA module": [[1, "module-cshogi.CSA"]], "cshogi.KI2 module": [[1, "module-cshogi.KI2"]], "cshogi.KIF module": [[1, "module-cshogi.KIF"]], "cshogi.PGN module": [[1, "module-cshogi.PGN"]], "cshogi.cli module": [[1, "module-cshogi.cli"]], "cshogi.elo module": [[1, "module-cshogi.elo"]], "Subpackages": [[1, "subpackages"], [3, "subpackages"]], "cshogi.dlshogi package": [[2, "cshogi-dlshogi-package"]], "cshogi.gym_shogi package": [[3, "cshogi-gym-shogi-package"]], "cshogi.gym_shogi.envs package": [[4, "cshogi-gym-shogi-envs-package"]], "cshogi.gym_shogi.envs.shogi_env module": [[4, "module-cshogi.gym_shogi.envs.shogi_env"]], "cshogi.gym_shogi.envs.shogi_vec_env module": [[4, "module-cshogi.gym_shogi.envs.shogi_vec_env"]], "cshogi.usi package": [[5, "cshogi-usi-package"]], "cshogi.web package": [[6, "cshogi-web-package"]], "cshogi.web.app module": [[6, "module-cshogi.web.app"]], "Welcome to cshogi\u2019s documentation!": [[7, "welcome-to-cshogi-s-documentation"]], "Introduction:": [[7, null]], "References:": [[7, null]], "Indices and tables": [[7, "indices-and-tables"]], "Installation": [[8, "installation"]], "Installation from GitHub Source": [[8, "installation-from-github-source"]], "Installation from PYPI": [[8, "installation-from-pypi"]], "Quickstart": [[9, "quickstart"]], "Basics": [[9, "basics"]], "Features": [[9, "features"]]}, "indexentries": {"board (class in cshogi)": [[1, "cshogi.Board"]], "dfpn (class in cshogi)": [[1, "cshogi.DfPn"]], "elo (class in cshogi.elo)": [[1, "cshogi.elo.Elo"]], "exporter (class in cshogi.csa)": [[1, "cshogi.CSA.Exporter"]], "exporter (class in cshogi.ki2)": [[1, "cshogi.KI2.Exporter"]], "exporter (class in cshogi.kif)": [[1, "cshogi.KIF.Exporter"]], "exporter (class in cshogi.pgn)": [[1, "cshogi.PGN.Exporter"]], "handycap_sfens (cshogi.ki2.parser attribute)": [[1, "cshogi.KI2.Parser.HANDYCAP_SFENS"]], "handycap_sfens (cshogi.kif.parser attribute)": [[1, "cshogi.KIF.Parser.HANDYCAP_SFENS"]], "legalmovelist (class in cshogi)": [[1, "cshogi.LegalMoveList"]], "move_re (cshogi.ki2.parser attribute)": [[1, "cshogi.KI2.Parser.MOVE_RE"]], "move_re (cshogi.kif.parser attribute)": [[1, "cshogi.KIF.Parser.MOVE_RE"]], "parser (class in cshogi.csa)": [[1, "cshogi.CSA.Parser"]], "parser (class in cshogi.ki2)": [[1, "cshogi.KI2.Parser"]], "parser (class in cshogi.kif)": [[1, "cshogi.KIF.Parser"]], "parserexception": [[1, "cshogi.KIF.ParserException"]], "pseudolegalmovelist (class in cshogi)": [[1, "cshogi.PseudoLegalMoveList"]], "result_re (cshogi.ki2.parser attribute)": [[1, "cshogi.KI2.Parser.RESULT_RE"]], "result_re (cshogi.kif.parser attribute)": [[1, "cshogi.KIF.Parser.RESULT_RE"]], "svgwrapper (class in cshogi)": [[1, "cshogi.SvgWrapper"]], "board_to_bod() (in module cshogi.kif)": [[1, "cshogi.KIF.board_to_bod"]], "book_key() (cshogi.board method)": [[1, "cshogi.Board.book_key"]], "book_key_after() (cshogi.board method)": [[1, "cshogi.Board.book_key_after"]], "close() (cshogi.csa.exporter method)": [[1, "cshogi.CSA.Exporter.close"]], "close() (cshogi.ki2.exporter method)": [[1, "cshogi.KI2.Exporter.close"]], "close() (cshogi.kif.exporter method)": [[1, "cshogi.KIF.Exporter.close"]], "close() (cshogi.pgn.exporter method)": [[1, "cshogi.PGN.Exporter.close"]], "comment (cshogi.csa.parser attribute)": [[1, "cshogi.CSA.Parser.comment"]], "comments (cshogi.csa.parser attribute)": [[1, "cshogi.CSA.Parser.comments"]], "copy() (cshogi.board method)": [[1, "cshogi.Board.copy"]], "csa_pos() (cshogi.board method)": [[1, "cshogi.Board.csa_pos"]], "cshogi": [[1, "module-cshogi"]], "cshogi.csa": [[1, "module-cshogi.CSA"]], "cshogi.ki2": [[1, "module-cshogi.KI2"]], "cshogi.kif": [[1, "module-cshogi.KIF"]], "cshogi.pgn": [[1, "module-cshogi.PGN"]], "cshogi.cli": [[1, "module-cshogi.cli"]], "cshogi.elo": [[1, "module-cshogi.elo"]], "diff() (cshogi.elo.elo method)": [[1, "cshogi.elo.Elo.diff"]], "draw_ratio() (cshogi.elo.elo method)": [[1, "cshogi.elo.Elo.draw_ratio"]], "drop_move() (cshogi.board method)": [[1, "cshogi.Board.drop_move"]], "elo_diff() (in module cshogi.elo)": [[1, "cshogi.elo.elo_diff"]], "end() (cshogi.ki2.exporter method)": [[1, "cshogi.KI2.Exporter.end"]], "end() (cshogi.kif.exporter method)": [[1, "cshogi.KIF.Exporter.end"]], "endgame (cshogi.csa.parser attribute)": [[1, "cshogi.CSA.Parser.endgame"]], "endgame() (cshogi.csa.exporter method)": [[1, "cshogi.CSA.Exporter.endgame"]], "erf_inv() (in module cshogi.elo)": [[1, "cshogi.elo.erf_inv"]], "error_margin() (cshogi.elo.elo method)": [[1, "cshogi.elo.Elo.error_margin"]], "get_move() (cshogi.dfpn method)": [[1, "cshogi.DfPn.get_move"]], "get_pv() (cshogi.dfpn method)": [[1, "cshogi.DfPn.get_pv"]], "hand_piece_to_piece_type() (in module cshogi)": [[1, "cshogi.hand_piece_to_piece_type"]], "header() (cshogi.ki2.exporter method)": [[1, "cshogi.KI2.Exporter.header"]], "header() (cshogi.kif.exporter method)": [[1, "cshogi.KIF.Exporter.header"]], "history (cshogi.board attribute)": [[1, "cshogi.Board.history"]], "info() (cshogi.csa.exporter method)": [[1, "cshogi.CSA.Exporter.info"]], "info() (cshogi.kif.exporter method)": [[1, "cshogi.KIF.Exporter.info"]], "is_check() (cshogi.board method)": [[1, "cshogi.Board.is_check"]], "is_draw() (cshogi.board method)": [[1, "cshogi.Board.is_draw"]], "is_game_over() (cshogi.board method)": [[1, "cshogi.Board.is_game_over"]], "is_legal() (cshogi.board method)": [[1, "cshogi.Board.is_legal"]], "is_mate() (cshogi.board method)": [[1, "cshogi.Board.is_mate"]], "is_nyugyoku() (cshogi.board method)": [[1, "cshogi.Board.is_nyugyoku"]], "is_ok() (cshogi.board method)": [[1, "cshogi.Board.is_ok"]], "is_pseudo_legal() (cshogi.board method)": [[1, "cshogi.Board.is_pseudo_legal"]], "king_square() (cshogi.board method)": [[1, "cshogi.Board.king_square"]], "legal_moves (cshogi.board attribute)": [[1, "cshogi.Board.legal_moves"]], "los() (cshogi.elo.elo method)": [[1, "cshogi.elo.Elo.los"]], "main() (in module cshogi.cli)": [[1, "cshogi.cli.main"]], "mate_move() (cshogi.board method)": [[1, "cshogi.Board.mate_move"]], "mate_move_in_1ply() (cshogi.board method)": [[1, "cshogi.Board.mate_move_in_1ply"]], "module": [[1, "module-cshogi"], [1, "module-cshogi.CSA"], [1, "module-cshogi.KI2"], [1, "module-cshogi.KIF"], [1, "module-cshogi.PGN"], [1, "module-cshogi.cli"], [1, "module-cshogi.elo"], [2, "module-cshogi.dlshogi"], [3, "module-cshogi.gym_shogi"], [4, "module-cshogi.gym_shogi.envs"], [4, "module-cshogi.gym_shogi.envs.shogi_env"], [4, "module-cshogi.gym_shogi.envs.shogi_vec_env"], [5, "module-cshogi.usi"], [6, "module-cshogi.web"], [6, "module-cshogi.web.app"]], "move() (cshogi.board method)": [[1, "cshogi.Board.move"]], "move() (cshogi.csa.exporter method)": [[1, "cshogi.CSA.Exporter.move"]], "move() (cshogi.ki2.exporter method)": [[1, "cshogi.KI2.Exporter.move"]], "move() (cshogi.kif.exporter method)": [[1, "cshogi.KIF.Exporter.move"]], "move16() (in module cshogi)": [[1, "cshogi.move16"]], "move16_from_psv() (in module cshogi)": [[1, "cshogi.move16_from_psv"]], "move16_to_psv() (in module cshogi)": [[1, "cshogi.move16_to_psv"]], "move_cap() (in module cshogi)": [[1, "cshogi.move_cap"]], "move_drop_hand_piece() (in module cshogi)": [[1, "cshogi.move_drop_hand_piece"]], "move_from() (in module cshogi)": [[1, "cshogi.move_from"]], "move_from_csa() (cshogi.board method)": [[1, "cshogi.Board.move_from_csa"]], "move_from_move16() (cshogi.board method)": [[1, "cshogi.Board.move_from_move16"]], "move_from_piece_type() (in module cshogi)": [[1, "cshogi.move_from_piece_type"]], "move_from_psv() (cshogi.board method)": [[1, "cshogi.Board.move_from_psv"]], "move_from_usi() (cshogi.board method)": [[1, "cshogi.Board.move_from_usi"]], "move_is_drop() (in module cshogi)": [[1, "cshogi.move_is_drop"]], "move_is_promotion() (in module cshogi)": [[1, "cshogi.move_is_promotion"]], "move_number (cshogi.board attribute)": [[1, "cshogi.Board.move_number"]], "move_rotate() (in module cshogi)": [[1, "cshogi.move_rotate"]], "move_to() (in module cshogi)": [[1, "cshogi.move_to"]], "move_to_bod() (in module cshogi.kif)": [[1, "cshogi.KIF.move_to_bod"]], "move_to_csa() (in module cshogi)": [[1, "cshogi.move_to_csa"]], "move_to_ki2() (in module cshogi.ki2)": [[1, "cshogi.KI2.move_to_ki2"]], "move_to_kif() (in module cshogi.kif)": [[1, "cshogi.KIF.move_to_kif"]], "move_to_san() (in module cshogi.pgn)": [[1, "cshogi.PGN.move_to_san"]], "move_to_usi() (in module cshogi)": [[1, "cshogi.move_to_usi"]], "moves (cshogi.csa.parser attribute)": [[1, "cshogi.CSA.Parser.moves"]], "movetext() (cshogi.pgn.exporter method)": [[1, "cshogi.PGN.Exporter.movetext"]], "names (cshogi.csa.parser attribute)": [[1, "cshogi.CSA.Parser.names"]], "open() (cshogi.csa.exporter method)": [[1, "cshogi.CSA.Exporter.open"]], "open() (cshogi.ki2.exporter method)": [[1, "cshogi.KI2.Exporter.open"]], "open() (cshogi.kif.exporter method)": [[1, "cshogi.KIF.Exporter.open"]], "open() (cshogi.pgn.exporter method)": [[1, "cshogi.PGN.Exporter.open"]], "opponent() (in module cshogi)": [[1, "cshogi.opponent"]], "parse_csa_file() (cshogi.csa.parser method)": [[1, "cshogi.CSA.Parser.parse_csa_file"]], "parse_csa_str() (cshogi.csa.parser method)": [[1, "cshogi.CSA.Parser.parse_csa_str"]], "parse_file() (cshogi.csa.parser static method)": [[1, "cshogi.CSA.Parser.parse_file"]], "parse_file() (cshogi.ki2.parser static method)": [[1, "cshogi.KI2.Parser.parse_file"]], "parse_file() (cshogi.kif.parser static method)": [[1, "cshogi.KIF.Parser.parse_file"]], "parse_move_str() (cshogi.ki2.parser static method)": [[1, "cshogi.KI2.Parser.parse_move_str"]], "parse_move_str() (cshogi.kif.parser static method)": [[1, "cshogi.KIF.Parser.parse_move_str"]], "parse_pieces_in_hand() (cshogi.ki2.parser static method)": [[1, "cshogi.KI2.Parser.parse_pieces_in_hand"]], "parse_pieces_in_hand() (cshogi.kif.parser static method)": [[1, "cshogi.KIF.Parser.parse_pieces_in_hand"]], "parse_str() (cshogi.csa.parser static method)": [[1, "cshogi.CSA.Parser.parse_str"]], "parse_str() (cshogi.ki2.parser static method)": [[1, "cshogi.KI2.Parser.parse_str"]], "parse_str() (cshogi.kif.parser static method)": [[1, "cshogi.KIF.Parser.parse_str"]], "peek() (cshogi.board method)": [[1, "cshogi.Board.peek"]], "phi_inv() (in module cshogi.elo)": [[1, "cshogi.elo.phi_inv"]], "piece() (cshogi.board method)": [[1, "cshogi.Board.piece"]], "piece_planes() (cshogi.board method)": [[1, "cshogi.Board.piece_planes"]], "piece_planes_rotate() (cshogi.board method)": [[1, "cshogi.Board.piece_planes_rotate"]], "piece_to_piece_type() (in module cshogi)": [[1, "cshogi.piece_to_piece_type"]], "piece_type() (cshogi.board method)": [[1, "cshogi.Board.piece_type"]], "pieces (cshogi.board attribute)": [[1, "cshogi.Board.pieces"]], "pieces_in_hand (cshogi.board attribute)": [[1, "cshogi.Board.pieces_in_hand"]], "point_ratio() (cshogi.elo.elo method)": [[1, "cshogi.elo.Elo.point_ratio"]], "pop() (cshogi.board method)": [[1, "cshogi.Board.pop"]], "pop_pass() (cshogi.board method)": [[1, "cshogi.Board.pop_pass"]], "pseudo_legal_move_is_legal() (cshogi.board method)": [[1, "cshogi.Board.pseudo_legal_move_is_legal"]], "pseudo_legal_moves (cshogi.board attribute)": [[1, "cshogi.Board.pseudo_legal_moves"]], "push() (cshogi.board method)": [[1, "cshogi.Board.push"]], "push_csa() (cshogi.board method)": [[1, "cshogi.Board.push_csa"]], "push_move16() (cshogi.board method)": [[1, "cshogi.Board.push_move16"]], "push_pass() (cshogi.board method)": [[1, "cshogi.Board.push_pass"]], "push_psv() (cshogi.board method)": [[1, "cshogi.Board.push_psv"]], "push_usi() (cshogi.board method)": [[1, "cshogi.Board.push_usi"]], "ratings (cshogi.csa.parser attribute)": [[1, "cshogi.CSA.Parser.ratings"]], "reset() (cshogi.board method)": [[1, "cshogi.Board.reset"]], "scores (cshogi.csa.parser attribute)": [[1, "cshogi.CSA.Parser.scores"]], "search() (cshogi.dfpn method)": [[1, "cshogi.DfPn.search"]], "search_andnode() (cshogi.dfpn method)": [[1, "cshogi.DfPn.search_andnode"]], "searched_node (cshogi.dfpn attribute)": [[1, "cshogi.DfPn.searched_node"]], "sec_to_time() (in module cshogi.kif)": [[1, "cshogi.KIF.sec_to_time"]], "set_draw_ply() (cshogi.dfpn method)": [[1, "cshogi.DfPn.set_draw_ply"]], "set_hcp() (cshogi.board method)": [[1, "cshogi.Board.set_hcp"]], "set_max_depth() (cshogi.dfpn method)": [[1, "cshogi.DfPn.set_max_depth"]], "set_max_search_node() (cshogi.dfpn method)": [[1, "cshogi.DfPn.set_max_search_node"]], "set_pieces() (cshogi.board method)": [[1, "cshogi.Board.set_pieces"]], "set_position() (cshogi.board method)": [[1, "cshogi.Board.set_position"]], "set_psfen() (cshogi.board method)": [[1, "cshogi.Board.set_psfen"]], "set_sfen() (cshogi.board method)": [[1, "cshogi.Board.set_sfen"]], "sfen (cshogi.csa.parser attribute)": [[1, "cshogi.CSA.Parser.sfen"]], "sfen() (cshogi.board method)": [[1, "cshogi.Board.sfen"]], "stop() (cshogi.dfpn method)": [[1, "cshogi.DfPn.stop"]], "tag_pair() (cshogi.pgn.exporter method)": [[1, "cshogi.PGN.Exporter.tag_pair"]], "times (cshogi.csa.parser attribute)": [[1, "cshogi.CSA.Parser.times"]], "to_bod() (cshogi.board method)": [[1, "cshogi.Board.to_bod"]], "to_csa() (in module cshogi)": [[1, "cshogi.to_csa"]], "to_hcp() (cshogi.board method)": [[1, "cshogi.Board.to_hcp"]], "to_psfen() (cshogi.board method)": [[1, "cshogi.Board.to_psfen"]], "to_score() (in module cshogi.cli)": [[1, "cshogi.cli.to_score"]], "to_svg() (cshogi.board method)": [[1, "cshogi.Board.to_svg"]], "to_usi() (in module cshogi)": [[1, "cshogi.to_usi"]], "turn (cshogi.board attribute)": [[1, "cshogi.Board.turn"]], "usi_info_to_csa_comment() (in module cshogi.cli)": [[1, "cshogi.cli.usi_info_to_csa_comment"]], "usi_info_to_score() (in module cshogi.cli)": [[1, "cshogi.cli.usi_info_to_score"]], "var_info (cshogi.csa.parser attribute)": [[1, "cshogi.CSA.Parser.var_info"]], "version (cshogi.csa.parser attribute)": [[1, "cshogi.CSA.Parser.version"]], "win (cshogi.csa.parser attribute)": [[1, "cshogi.CSA.Parser.win"]], "zobrist_hash() (cshogi.board method)": [[1, "cshogi.Board.zobrist_hash"]], "cshogi.dlshogi": [[2, "module-cshogi.dlshogi"]], "make_input_features() (in module cshogi.dlshogi)": [[2, "cshogi.dlshogi.make_input_features"]], "make_move_label() (in module cshogi.dlshogi)": [[2, "cshogi.dlshogi.make_move_label"]], "cshogi.gym_shogi": [[3, "module-cshogi.gym_shogi"]], "shogienv (class in cshogi.gym_shogi.envs)": [[4, "cshogi.gym_shogi.envs.ShogiEnv"]], "shogienv (class in cshogi.gym_shogi.envs.shogi_env)": [[4, "cshogi.gym_shogi.envs.shogi_env.ShogiEnv"]], "shogivecenv (class in cshogi.gym_shogi.envs)": [[4, "cshogi.gym_shogi.envs.ShogiVecEnv"]], "shogivecenv (class in cshogi.gym_shogi.envs.shogi_vec_env)": [[4, "cshogi.gym_shogi.envs.shogi_vec_env.ShogiVecEnv"]], "action_space (cshogi.gym_shogi.envs.shogienv attribute)": [[4, "cshogi.gym_shogi.envs.ShogiEnv.action_space"]], "cshogi.gym_shogi.envs": [[4, "module-cshogi.gym_shogi.envs"]], "cshogi.gym_shogi.envs.shogi_env": [[4, "module-cshogi.gym_shogi.envs.shogi_env"]], "cshogi.gym_shogi.envs.shogi_vec_env": [[4, "module-cshogi.gym_shogi.envs.shogi_vec_env"]], "metadata (cshogi.gym_shogi.envs.shogienv attribute)": [[4, "cshogi.gym_shogi.envs.ShogiEnv.metadata"]], "metadata (cshogi.gym_shogi.envs.shogivecenv attribute)": [[4, "cshogi.gym_shogi.envs.ShogiVecEnv.metadata"]], "metadata (cshogi.gym_shogi.envs.shogi_env.shogienv attribute)": [[4, "cshogi.gym_shogi.envs.shogi_env.ShogiEnv.metadata"]], "metadata (cshogi.gym_shogi.envs.shogi_vec_env.shogivecenv attribute)": [[4, "cshogi.gym_shogi.envs.shogi_vec_env.ShogiVecEnv.metadata"]], "observation_space (cshogi.gym_shogi.envs.shogienv attribute)": [[4, "cshogi.gym_shogi.envs.ShogiEnv.observation_space"]], "render() (cshogi.gym_shogi.envs.shogienv method)": [[4, "cshogi.gym_shogi.envs.ShogiEnv.render"]], "render() (cshogi.gym_shogi.envs.shogivecenv method)": [[4, "cshogi.gym_shogi.envs.ShogiVecEnv.render"]], "render() (cshogi.gym_shogi.envs.shogi_env.shogienv method)": [[4, "cshogi.gym_shogi.envs.shogi_env.ShogiEnv.render"]], "render() (cshogi.gym_shogi.envs.shogi_vec_env.shogivecenv method)": [[4, "cshogi.gym_shogi.envs.shogi_vec_env.ShogiVecEnv.render"]], "reset() (cshogi.gym_shogi.envs.shogienv method)": [[4, "cshogi.gym_shogi.envs.ShogiEnv.reset"]], "reset() (cshogi.gym_shogi.envs.shogivecenv method)": [[4, "cshogi.gym_shogi.envs.ShogiVecEnv.reset"]], "reset() (cshogi.gym_shogi.envs.shogi_env.shogienv method)": [[4, "cshogi.gym_shogi.envs.shogi_env.ShogiEnv.reset"]], "reset() (cshogi.gym_shogi.envs.shogi_vec_env.shogivecenv method)": [[4, "cshogi.gym_shogi.envs.shogi_vec_env.ShogiVecEnv.reset"]], "step() (cshogi.gym_shogi.envs.shogienv method)": [[4, "cshogi.gym_shogi.envs.ShogiEnv.step"]], "step() (cshogi.gym_shogi.envs.shogivecenv method)": [[4, "cshogi.gym_shogi.envs.ShogiVecEnv.step"]], "step() (cshogi.gym_shogi.envs.shogi_env.shogienv method)": [[4, "cshogi.gym_shogi.envs.shogi_env.ShogiEnv.step"]], "step() (cshogi.gym_shogi.envs.shogi_vec_env.shogivecenv method)": [[4, "cshogi.gym_shogi.envs.shogi_vec_env.ShogiVecEnv.step"]], "engine (class in cshogi.usi)": [[5, "cshogi.usi.Engine"]], "infolistener (class in cshogi.usi)": [[5, "cshogi.usi.InfoListener"]], "multipvlistener (class in cshogi.usi)": [[5, "cshogi.usi.MultiPVListener"]], "bestmove (cshogi.usi.infolistener property)": [[5, "cshogi.usi.InfoListener.bestmove"]], "connect() (cshogi.usi.engine method)": [[5, "cshogi.usi.Engine.connect"]], "cshogi.usi": [[5, "module-cshogi.usi"]], "gameover() (cshogi.usi.engine method)": [[5, "cshogi.usi.Engine.gameover"]], "go() (cshogi.usi.engine method)": [[5, "cshogi.usi.Engine.go"]], "go_mate() (cshogi.usi.engine method)": [[5, "cshogi.usi.Engine.go_mate"]], "info (cshogi.usi.infolistener property)": [[5, "cshogi.usi.InfoListener.info"]], "info (cshogi.usi.multipvlistener property)": [[5, "cshogi.usi.MultiPVListener.info"]], "isready() (cshogi.usi.engine method)": [[5, "cshogi.usi.Engine.isready"]], "listen() (cshogi.usi.infolistener method)": [[5, "cshogi.usi.InfoListener.listen"]], "listen() (cshogi.usi.multipvlistener method)": [[5, "cshogi.usi.MultiPVListener.listen"]], "mate_score (cshogi.usi.infolistener property)": [[5, "cshogi.usi.InfoListener.mate_score"]], "ponderhit() (cshogi.usi.engine method)": [[5, "cshogi.usi.Engine.ponderhit"]], "position() (cshogi.usi.engine method)": [[5, "cshogi.usi.Engine.position"]], "pv (cshogi.usi.infolistener property)": [[5, "cshogi.usi.InfoListener.pv"]], "quit() (cshogi.usi.engine method)": [[5, "cshogi.usi.Engine.quit"]], "re_bestmove (cshogi.usi.infolistener attribute)": [[5, "cshogi.usi.InfoListener.re_bestmove"]], "re_info (cshogi.usi.infolistener attribute)": [[5, "cshogi.usi.InfoListener.re_info"]], "re_multipv (cshogi.usi.multipvlistener attribute)": [[5, "cshogi.usi.MultiPVListener.re_multipv"]], "score (cshogi.usi.infolistener property)": [[5, "cshogi.usi.InfoListener.score"]], "setoption() (cshogi.usi.engine method)": [[5, "cshogi.usi.Engine.setoption"]], "stop() (cshogi.usi.engine method)": [[5, "cshogi.usi.Engine.stop"]], "usi() (cshogi.usi.engine method)": [[5, "cshogi.usi.Engine.usi"]], "usinewgame() (cshogi.usi.engine method)": [[5, "cshogi.usi.Engine.usinewgame"]], "human (class in cshogi.web.app)": [[6, "cshogi.web.app.Human"]], "colab() (in module cshogi.web.app)": [[6, "cshogi.web.app.colab"]], "cshogi.web": [[6, "module-cshogi.web"]], "cshogi.web.app": [[6, "module-cshogi.web.app"]], "go() (cshogi.web.app.human method)": [[6, "cshogi.web.app.Human.go"]], "isready() (cshogi.web.app.human method)": [[6, "cshogi.web.app.Human.isready"]], "match() (in module cshogi.web.app)": [[6, "cshogi.web.app.match"]], "position() (cshogi.web.app.human method)": [[6, "cshogi.web.app.Human.position"]], "quit() (cshogi.web.app.human method)": [[6, "cshogi.web.app.Human.quit"]], "run() (in module cshogi.web.app)": [[6, "cshogi.web.app.run"]], "usi() (cshogi.web.app.human method)": [[6, "cshogi.web.app.Human.usi"]], "usi_info_to_pv() (in module cshogi.web.app)": [[6, "cshogi.web.app.usi_info_to_pv"]], "usinewgame() (cshogi.web.app.human method)": [[6, "cshogi.web.app.Human.usinewgame"]]}}) \ No newline at end of file +Search.setIndex({"docnames": ["about", "cshogi", "cshogi.dlshogi", "cshogi.gym_shogi", "cshogi.gym_shogi.envs", "cshogi.usi", "cshogi.web", "index", "installation", "quickstart"], "filenames": ["about.rst", "cshogi.rst", "cshogi.dlshogi.rst", "cshogi.gym_shogi.rst", "cshogi.gym_shogi.envs.rst", "cshogi.usi.rst", "cshogi.web.rst", "index.rst", "installation.rst", "quickstart.rst"], "titles": ["About cshogi", "cshogi package", "cshogi.dlshogi package", "cshogi.gym_shogi package", "cshogi.gym_shogi.envs package", "cshogi.usi package", "cshogi.web package", "Welcome to cshogi\u2019s documentation!", "Installation", "Quickstart"], "terms": {"python": [0, 7], "shogi": [0, 1, 4, 5, 6, 7], "i": [0, 1, 4, 5, 6, 7, 9], "an": [0, 1, 2, 4, 5, 6, 7, 9], "extrem": 0, "us": [0, 1, 2, 6, 8], "librari": [0, 7], "can": [0, 1, 4, 8, 9], "its": [0, 1, 5], "slow": 0, "drawback": 0, "depend": [0, 8], "applic": 0, "It": [0, 1], "describ": 0, "offici": 0, "websit": 0, "well": 0, "purpos": 0, "simpli": 0, "abstractli": 0, "rather": 0, "than": [0, 8], "focus": 0, "speed": 0, "howev": 0, "becom": 0, "bottleneck": 0, "when": [0, 1], "try": 0, "machin": [0, 7], "learn": [0, 7], "therefor": 0, "decid": 0, "creat": [0, 1, 7, 9], "oper": 0, "quickli": 0, "possibl": 0, "from": [0, 1, 2, 5, 6, 9], "insid": 0, "board": [0, 1, 2, 4, 6, 7, 9], "repres": [0, 1, 2, 4, 5], "bitboard": 0, "": [0, 1, 5, 9], "bit": [0, 1], "ar": [0, 8, 9], "veri": 0, "improv": 0, "expect": 0, "develop": 0, "part": 0, "c": [0, 1, 8], "make": [0, 1, 2, 4, 5, 7, 9], "callabl": [0, 1, 5], "For": 0, "thi": [0, 1, 4], "reason": [0, 1], "aperi": [0, 1, 9], "sourc": [0, 1, 2, 5, 6], "code": [0, 1], "wai": 0, "call": 0, "numer": [0, 9], "valu": [0, 1, 5], "In": [0, 1], "class": [0, 1, 4, 5, 6], "conveni": 0, "method": 0, "provid": [0, 5, 7], "thei": [0, 9], "made": [0, 1, 4], "emphasi": 0, "instead": 0, "sever": 0, "helper": [0, 9], "prepar": 0, "move_to": [0, 1, 7], "move_from": [0, 1, 7], "move_cap": [0, 1, 7], "move_drop_hand_piec": [0, 1, 7], "move_is_promot": [0, 1, 7], "move_is_drop": [0, 1, 7], "move_to_usi": [0, 1, 7, 9], "move_to_csa": [0, 1, 7, 9], "appli": [0, 1], "perform": [0, 1], "If": [0, 1, 8], "incorrect": [0, 1], "pass": [0, 1], "data": [0, 1], "mai": [0, 5], "corrupt": 0, "program": 0, "termin": 0, "abnorm": 0, "due": [0, 1], "access": [0, 6], "violat": 0, "other": 0, "issu": 0, "The": [0, 1, 4, 5, 6], "compli": 0, "number": [0, 1, 4, 5, 6, 9], "0": [0, 1, 5, 8, 9], "80": 0, "care": 0, "correspond": [0, 1], "differ": [0, 1], "pleas": 0, "constant": 0, "like": 0, "a1": 0, "a2": 0, "directli": 0, "alphabet": 0, "rank": 0, "file": [0, 1, 6], "also": 0, "Be": 0, "piece_types_with_non": 0, "piece_typ": [0, 1, 7], "defin": [0, 1], "follow": [0, 1, 8], "none": [0, 1, 4, 5, 6], "pawn": 0, "lanc": 0, "knight": 0, "silver": 0, "bishop": 0, "rook": 0, "gold": 0, "king": [0, 1], "prom_pawn": 0, "prom_lanc": 0, "prom_knight": 0, "prom_silv": 0, "prom_bishop": 0, "prom_rook": 0, "rang": 0, "15": 0, "bpawn": [0, 1], "blanc": 0, "bknight": 0, "bsilver": 0, "bbishop": 0, "brook": 0, "bgold": 0, "bking": 0, "bprom_pawn": 0, "bprom_lanc": 0, "bprom_knight": 0, "bprom_silv": 0, "bprom_bishop": 0, "bprom_rook": 0, "notus": 0, "wpawn": 0, "wlanc": 0, "wknight": 0, "wsilver": 0, "wbishop": 0, "wrook": 0, "wgold": 0, "wking": 0, "wprom_pawn": 0, "wprom_lanc": 0, "wprom_knight": 0, "wprom_silv": 0, "wprom_bishop": 0, "wprom_rook": 0, "31": 0, "hand_piec": 0, "return": [0, 1, 2, 4, 5], "pieces_in_hand": [0, 1, 7], "order": 0, "hpawn": [0, 1], "hlanc": 0, "hknight": 0, "hsilver": 0, "hgold": 0, "hbishop": 0, "hrook": 0, "7": [0, 9], "base": [1, 4, 5, 6], "object": [1, 2, 4, 5, 6], "paramet": [1, 2, 4, 5, 6], "sfen": [1, 4, 5, 6, 7, 9], "str": [1, 4, 5, 6], "option": [1, 4, 5, 6], "A": [1, 2, 4, 5], "string": [1, 4, 5], "format": [1, 7, 9], "exampl": [1, 5, 7, 9], "initi": [1, 4, 5, 6], "lnsgkgsnl": 1, "1r5b1": 1, "ppppppppp": 1, "9": [1, 2, 5, 9], "1b5r1": 1, "b": [1, 9], "1": [1, 9], "board2": 1, "book_kei": [1, 7], "get": [1, 5], "kei": 1, "open": [1, 7], "book": 1, "current": [1, 2, 4, 5], "state": [1, 2, 4, 5], "type": [1, 4, 5], "long": 1, "book_key_aft": [1, 7], "after": [1, 5], "specif": 1, "move": [1, 2, 4, 5, 6, 7, 9], "int": [1, 4, 5, 6], "result": [1, 5], "copi": [1, 7], "new": 1, "same": 1, "csa_po": [1, 7], "posit": [1, 5, 6, 7, 9], "comput": 1, "associ": 1, "drop_mov": [1, 7], "drop": 1, "to_squar": 1, "destin": 1, "squar": 1, "index": [1, 7], "drop_piece_typ": 1, "piec": [1, 7], "integ": [1, 2], "histori": [1, 7], "game": [1, 2, 4, 5, 6, 9], "list": [1, 4, 5, 9], "is_check": [1, 7, 9], "determin": [1, 9], "check": [1, 5, 9], "true": [1, 5, 9], "fals": [1, 5, 6, 9], "otherwis": [1, 4], "bool": [1, 4, 5], "is_draw": [1, 7, 9], "whether": [1, 5], "draw": [1, 4, 6, 9], "anoth": 1, "special": 1, "condit": [1, 5], "ply": 1, "up": 1, "default": [1, 4, 5, 6], "maximum": 1, "statu": [1, 4], "could": 1, "one": [1, 4, 9], "repetition_draw": [1, 9], "case": 1, "repeat": 1, "repetition_win": 1, "win": [1, 7], "consecut": 1, "repetition_los": 1, "loss": 1, "repetition_superior": 1, "superior": 1, "repetition_inferior": 1, "inferior": 1, "not_repetit": 1, "abov": 1, "enum": 1, "is_game_ov": [1, 7, 9], "over": [1, 5], "is_leg": [1, 7], "legal": [1, 7, 9], "is_mat": [1, 7], "mate": [1, 5], "met": 1, "given": [1, 2, 6], "even": 1, "is_nyugyoku": [1, 7, 9], "accord": 1, "ny\u016bgyoku": 1, "declar": [1, 9], "rule": 1, "27": 1, "point": 1, "enter": 1, "is_ok": [1, 7], "valid": 1, "is_pseudo_leg": [1, 7], "pseudo": 1, "king_squar": [1, 7], "color": [1, 2], "either": 1, "black": [1, 5], "white": [1, 5], "specifi": [1, 4], "legal_mov": [1, 7, 9], "gener": [1, 2, 7, 9], "iter": 1, "yield": 1, "legalmovelist": [1, 7], "mate_mov": [1, 7], "find": 1, "odd": 1, "should": 1, "greater": 1, "equal": 1, "3": [1, 9], "mate_move_in_1pli": [1, 7], "from_squar": 1, "start": [1, 5, 7, 9], "promot": 1, "involv": 1, "move_from_csa": [1, 7, 9], "move_from_move16": [1, 7], "16": 1, "move16": [1, 7], "unsign": 1, "short": 1, "move_from_psv": [1, 7], "psv": 1, "move_from_usi": [1, 7, 9], "usi": [1, 6, 7, 9], "move_numb": [1, 7], "peek": [1, 7], "last": 1, "sq": 1, "piece_plan": [1, 7], "plane": 1, "store": 1, "ndarrai": [1, 2, 4], "featur": [1, 2], "np": [1, 4, 9], "dimens": 1, "features_num": 1, "dtype": [1, 9], "float32": 1, "where": 1, "len": 1, "2": [1, 9], "sum": 1, "max_pieces_in_hand": 1, "piece_planes_rot": [1, 7], "180": 1, "degre": 1, "rotat": 1, "arrai": [1, 2], "hand": 1, "both": 1, "player": [1, 6], "tupl": [1, 4, 5], "contain": [1, 4, 5], "pop": [1, 7, 9], "pop_pass": [1, 7], "pseudo_legal_move_is_leg": [1, 7], "pseudo_legal_mov": [1, 7], "pseudolegalmovelist": [1, 7], "push": [1, 7], "each": [1, 4, 6], "ha": 1, "mean": 1, "xxxxxxxx": 1, "x1111111": 1, "xx111111": 1, "1xxxxxxx": 1, "piecetyp": 1, "squarenum": 1, "x1xxxxxx": 1, "flag": [1, 4], "xxxx1111": 1, "1111xxxx": 1, "captur": [1, 5], "encod": 1, "push_csa": [1, 7], "invalid": 1, "push_move16": [1, 7], "lower": [1, 8], "inget": 1, "push_pass": [1, 7], "push_psv": [1, 7], "which": 1, "yaneura": [1, 9], "push_usi": [1, 7, 9], "univers": [1, 5], "interfac": [1, 4, 5, 6], "reset": [1, 3, 4, 5, 7], "set_hcp": [1, 7, 9], "set": [1, 2, 5], "huffmancodedpo": [1, 9], "hcp": [1, 4, 9], "compress": [1, 9], "rais": 1, "runtimeerror": 1, "fromfil": [1, 9], "hcpfile": 1, "asarrai": 1, "set_piec": [1, 7], "edit": 1, "pieces_src": 1, "pieces_in_hand_src": 1, "pieces_dst": 1, "g1": 1, "f1": 1, "c1": 1, "pieces_in_hand_dst": 1, "board_dst": 1, "set_posit": [1, 7], "startpo": [1, 5, 6], "2g2f": [1, 9], "set_psfen": [1, 7, 9], "packedsfen": 1, "psfen": [1, 9], "psfenfil": 1, "set_sfen": [1, 7], "forsyth": 1, "edward": 1, "notat": 1, "to_bod": [1, 7], "convert": [1, 9], "diagram": 1, "bod": 1, "to_hcp": [1, 7, 9], "to_psfen": [1, 7], "to_svg": [1, 7], "svg": [1, 4], "represent": [1, 4, 9], "lastmov": 1, "ani": [1, 4], "scale": 1, "float": [1, 4], "factor": 1, "svgwrapper": [1, 4, 7], "turn": [1, 7], "first": [1, 2, 6, 8], "second": [1, 2, 6], "zobrist_hash": [1, 7], "calcul": 1, "zobrist": 1, "hash": 1, "64": 1, "dfpn": [1, 7], "search": [1, 5, 7], "df": 1, "pn": 1, "algorithm": 1, "depth": 1, "node": [1, 5, 6], "draw_pli": 1, "pli": 1, "consid": 1, "get_mov": [1, 7], "found": [1, 5], "get_pv": [1, 7], "princip": [1, 5], "variat": [1, 5], "pv": [1, 5], "sequenc": 1, "checkmat": [1, 5], "search_andnod": [1, 7], "AND": 1, "searched_nod": [1, 7], "set_draw_pli": [1, 7], "set_max_depth": [1, 7], "max_depth": 1, "set_max_search_nod": [1, 7], "max_search_nod": 1, "stop": [1, 5, 7], "hand_piece_to_piece_typ": [1, 7], "identifi": 1, "hp": 1, "typic": 1, "move16_from_psv": [1, 7], "move16_to_psv": [1, 7], "extract": 1, "move_from_piece_typ": [1, 7], "move_rot": [1, 7], "oppon": [1, 7], "piece_to_piece_typ": [1, 7], "p": [1, 9], "to_csa": [1, 7], "byte": 1, "to_usi": [1, 7], "export": [1, 7], "path": [1, 6], "append": 1, "handl": [1, 5, 9], "close": [1, 7], "endgam": [1, 7], "time": [1, 5, 6, 7], "write": 1, "taken": 1, "info": [1, 5, 6, 7], "init_board": 1, "name": [1, 5, 6, 7], "var_info": [1, 7], "comment": [1, 7], "version": [1, 7, 8], "inform": [1, 5], "dict": [1, 4, 5, 6], "addit": [1, 8], "variabl": 1, "about": [1, 7], "sep": 1, "n": 1, "separ": 1, "charact": 1, "newlin": 1, "parser": [1, 7], "pars": 1, "record": 1, "standard": 1, "parse_csa_fil": [1, 7], "parse_csa_str": [1, 7], "csa_str": 1, "static": 1, "parse_fil": [1, 7], "parse_str": [1, 7], "more": [1, 9], "rate": [1, 7], "score": [1, 5, 7], "dictionari": [1, 5, 6], "variou": 1, "black_win": 1, "white_win": 1, "written": 1, "end": [1, 7, 9], "e": 1, "g": 1, "toryo": 1, "sennichit": 1, "header": [1, 7], "starttim": 1, "includ": 1, "date": 1, "first_play": 1, "second_play": 1, "datetim": 1, "japanes": 1, "handycap_sfen": [1, 7], "\u305d\u306e\u4ed6": 1, "\u4e09\u679a\u843d\u3061": 1, "lnsgkgsn1": 1, "w": [1, 9], "\u4e8c\u679a\u843d\u3061": 1, "\u4e94\u679a\u843d\u3061": 1, "2sgkgsn1": 1, "\u516b\u679a\u843d\u3061": 1, "3gkg3": 1, "\u516d\u679a\u843d\u3061": 1, "2sgkgs2": 1, "\u5341\u679a\u843d\u3061": 1, "4k4": 1, "\u53f3\u9999\u843d\u3061": 1, "1nsgkgsnl": 1, "\u56db\u679a\u843d\u3061": 1, "1nsgkgsn1": 1, "\u5de6\u4e94\u679a\u843d\u3061": 1, "1nsgkgs2": 1, "\u5e73\u624b": 1, "\u89d2\u843d\u3061": 1, "1r7": 1, "\u98db\u8eca\u843d\u3061": 1, "7b1": 1, "\u98db\u9999\u843d\u3061": 1, "\u9999\u843d\u3061": 1, "move_r": [1, 7], "re": [1, 5], "compil": [1, 5, 8], "\uff11\uff12\uff13\uff14\uff15\uff16\uff17\uff18\uff19": 1, "\u96f6\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d": 1, "\u540c": 1, "u3000": 1, "\u6b69\u9999\u6842\u9280\u91d1\u89d2\u98db\u7389\u3068\u674f\u572d\u5168\u99ac\u9f8d": 1, "\u5de6": 1, "\u76f4": 1, "\u53f3": 1, "\u4e0a": 1, "\u5bc4": 1, "\u5f15": 1, "\u6253": 1, "\u6210": 1, "\u4e0d\u6210": 1, "result_r": [1, 7], "d": 1, "\u624b\u3067": 1, "\u5148": 1, "\u4e0b": 1, "\u5f8c": 1, "\u624b\u306e": 1, "\u52dd\u3061": 1, "\u5165\u7389\u52dd\u3061": 1, "\u53cd\u5247\u52dd\u3061": 1, "\u53cd\u5247\u8ca0\u3051": 1, "\u5343\u65e5\u624b": 1, "\u6301\u5c06\u68cb": 1, "\u4e2d\u65ad": 1, "instanc": [1, 4], "all": [1, 4, 5], "parserexcept": [1, 7], "error": 1, "parse_move_str": [1, 7], "line": [1, 5], "them": [1, 7, 9], "parse_pieces_in_hand": [1, 7], "target": 1, "descript": 1, "kif_str": 1, "move_to_ki2": [1, 7], "sec": 1, "sec_sum": 1, "resign": 1, "spent": 1, "total": 1, "dure": 1, "handicap": 1, "relat": [1, 5], "so": 1, "far": 1, "\u6295\u4e86": 1, "\u8a70\u307f": 1, "\u5207\u308c\u8ca0\u3051": 1, "z": 1, "except": 1, "board_to_bod": [1, 7], "move_to_bod": [1, 7], "move_to_kif": [1, 7], "prev_mov": 1, "sec_to_tim": [1, 7], "portabl": 1, "exist": 1, "movetext": [1, 7], "text": [1, 9], "section": 1, "actual": 1, "tag_pair": [1, 7], "event": 1, "site": 1, "round": 1, "tag": 1, "pair": 1, "metadata": [1, 3, 4], "move_to_san": [1, 7], "main": [1, 7, 9], "engine1": [1, 6], "engine2": [1, 6], "options1": [1, 6], "options2": [1, 6], "mate_win": 1, "byoyomi": [1, 5, 6], "inc": [1, 6], "256": [1, 6], "ponder": [1, 5, 6], "no_swap": 1, "opening_mov": 1, "24": 1, "opening_se": 1, "opening_index": 1, "keep_process": 1, "multi_csa": 1, "no_pgn_mov": 1, "is_displai": 1, "debug": [1, 5], "print_summari": 1, "callback": [1, 5], "execut": 1, "seri": 1, "between": [1, 6, 9], "two": [1, 6], "engin": [1, 5, 6, 9], "plai": [1, 5, 9], "threshold": 1, "fall": 1, "below": [1, 7, 9], "neg": 1, "millisecond": [1, 5, 6], "control": [1, 5, 6, 9], "increment": [1, 5, 6], "per": [1, 5], "befor": [1, 6], "disabl": 1, "swap": 1, "seed": 1, "random": 1, "shuffl": 1, "keep": 1, "process": 1, "run": [1, 6], "complet": 1, "multi": 1, "omit": 1, "displai": [1, 7, 9], "enabl": [1, 5], "mode": [1, 4, 5], "print": [1, 5, 9], "summari": 1, "match": [1, 6, 9], "function": [1, 9], "statist": 1, "to_scor": [1, 7], "m": 1, "usi_info_to_csa_com": [1, 7], "usi_info_to_scor": [1, 7], "diff": [1, 7], "draw_ratio": [1, 7], "ratio": 1, "error_margin": [1, 7], "margin": 1, "lo": [1, 7], "likelihood": 1, "percentag": 1, "point_ratio": [1, 7], "elo_diff": [1, 7], "erf_inv": [1, 7], "x": 1, "phi_inv": [1, 7], "dlshogi": [1, 7], "make_input_featur": [1, 2], "make_move_label": [1, 2], "gym_shogi": [1, 7], "env": [1, 3], "shogi_env": [1, 3], "shogi_vec_env": [1, 3], "connect": [1, 5], "gameov": [1, 5], "go": [1, 5, 6, 9], "go_mat": [1, 5], "isreadi": [1, 5, 6, 9], "ponderhit": [1, 5], "quit": [1, 5, 6], "setopt": [1, 5], "usinewgam": [1, 5, 6], "infolisten": [1, 5], "bestmov": [1, 5], "listen": [1, 5, 6], "mate_scor": [1, 5], "re_bestmov": [1, 5], "re_info": [1, 5], "multipvlisten": [1, 5], "re_multipv": [1, 5], "web": [1, 7, 8], "app": [1, 7], "human": [1, 4, 6], "colab": [1, 6], "usi_info_to_pv": [1, 6], "features1": 2, "features2": 2, "input": 2, "model": 2, "numpi": [2, 9], "shape": 2, "features1_num": 2, "fill": 2, "features2_num": 2, "label": 2, "context": 2, "submodul": [3, 7], "shogienv": [3, 4], "render": [3, 4, 6], "step": [3, 4], "shogivecenv": [3, 4], "action_spac": [3, 4], "observation_spac": [3, 4], "environ": 4, "simul": 4, "conform": 4, "openai": 4, "gym": 4, "ansi": 4, "desir": 4, "advanc": 4, "reward": 4, "done": 4, "num_env": 4, "vector": 4, "manag": [4, 7], "multipl": 4, "simultan": 4, "status": 4, "space": 4, "acttyp": 4, "obstyp": 4, "cmd": 5, "command": [5, 8], "launch": [5, 9], "upon": 5, "respons": 5, "send": 5, "notifi": 5, "btime": [5, 6], "wtime": [5, 6], "binc": [5, 6], "winc": [5, 6], "best": 5, "remain": 5, "limit": 5, "infinit": 5, "readi": 5, "wa": 5, "wait": 5, "exit": 5, "100000": 5, "listner": 5, "obtain": 5, "interact": 5, "info_listen": 5, "1000": 5, "properti": 5, "detail": 5, "regard": 5, "itself": 5, "cp": 5, "multipv": 5, "multipv_listen": 5, "human_input": 6, "name1": 6, "name2": 6, "csa": [6, 7, 9], "host": 6, "localhost": 6, "port": 6, "8000": 6, "replai": 6, "flask": 6, "via": 6, "configur": 6, "empti": [6, 9], "claim": 6, "hostnam": 6, "bind": 6, "server": 6, "fast": 7, "verif": 7, "protocol": 7, "support": 7, "instal": 7, "quickstart": 7, "packag": [7, 8], "modul": 7, "content": [7, 9], "ki2": 7, "kif": 7, "pgn": 7, "cli": [7, 9], "elo": 7, "subpackag": 7, "page": 7, "cython": 8, "compat": 8, "requir": 8, "pip": 8, "git": 8, "http": 8, "com": 8, "tadaoyamaoka": 8, "cshogi": [8, 9], "you": 8, "need": 8, "19": 8, "higher": 8, "have": 8, "upgrad": 8, "import": 9, "1g1f": 9, "3g3f": 9, "4g4f": 9, "5g5f": 9, "6g6f": 9, "7g7f": 9, "integr": 9, "ipython": 9, "jupyt": 9, "notebook": 9, "undo": 9, "ln4skl": 9, "3r1g3": 9, "1p2pgnp1": 9, "p1ppsbp1p": 9, "5p3": 9, "2ppp1p1p": 9, "ppbssg1p1": 9, "2r3gk1": 9, "ln5nl": 9, "43": 9, "8": 9, "6": 9, "5": 9, "4": 9, "p1": 9, "ky": 9, "ke": 9, "gi": 9, "ou": 9, "p2": 9, "hi": 9, "ki": 9, "p3": 9, "fu": 9, "p4": 9, "ka": 9, "p5": 9, "p6": 9, "p7": 9, "p8": 9, "p9": 9, "00fu": 9, "nyugyoku": 9, "judgment": 9, "repetit": 9, "There": 9, "ident": 9, "66309": 9, "1716fu": 9, "form": 9, "73275": 9, "7776fu": 9, "read": 9, "teacher": 9, "hcpe": 9, "huffmancodedposandev": 9, "bin": 9, "packedsfenvalu": 9, "save": 9, "tofil": 9, "lesserkaisrc": 9, "lesserkai": 9, "7nl": 9, "5kp2": 9, "3p2g1p": 9, "2p1gp3": 9, "p6sp": 9, "s1bgpn3": 9, "4npsp1": 9, "r4r2": 9, "l1": 9, "p3k1l": 9, "gsnlpb6p": 9, "122": 9}, "objects": {"": [[1, 0, 0, "-", "cshogi"]], "cshogi": [[1, 1, 1, "", "Board"], [1, 0, 0, "-", "CSA"], [1, 1, 1, "", "DfPn"], [1, 0, 0, "-", "KI2"], [1, 0, 0, "-", "KIF"], [1, 1, 1, "", "LegalMoveList"], [1, 0, 0, "-", "PGN"], [1, 1, 1, "", "PseudoLegalMoveList"], [1, 1, 1, "", "SvgWrapper"], [1, 0, 0, "-", "cli"], [2, 0, 0, "-", "dlshogi"], [1, 0, 0, "-", "elo"], [3, 0, 0, "-", "gym_shogi"], [1, 4, 1, "", "hand_piece_to_piece_type"], [1, 4, 1, "", "move16"], [1, 4, 1, "", "move16_from_psv"], [1, 4, 1, "", "move16_to_psv"], [1, 4, 1, "", "move_cap"], [1, 4, 1, "", "move_drop_hand_piece"], [1, 4, 1, "", "move_from"], [1, 4, 1, "", "move_from_piece_type"], [1, 4, 1, "", "move_is_drop"], [1, 4, 1, "", "move_is_promotion"], [1, 4, 1, "", "move_rotate"], [1, 4, 1, "", "move_to"], [1, 4, 1, "", "move_to_csa"], [1, 4, 1, "", "move_to_usi"], [1, 4, 1, "", "opponent"], [1, 4, 1, "", "piece_to_piece_type"], [1, 4, 1, "", "to_csa"], [1, 4, 1, "", "to_usi"], [5, 0, 0, "-", "usi"], [6, 0, 0, "-", "web"]], "cshogi.Board": [[1, 2, 1, "", "book_key"], [1, 2, 1, "", "book_key_after"], [1, 2, 1, "", "copy"], [1, 2, 1, "", "csa_pos"], [1, 2, 1, "", "drop_move"], [1, 3, 1, "", "history"], [1, 2, 1, "", "is_check"], [1, 2, 1, "", "is_draw"], [1, 2, 1, "", "is_game_over"], [1, 2, 1, "", "is_legal"], [1, 2, 1, "", "is_mate"], [1, 2, 1, "", "is_nyugyoku"], [1, 2, 1, "", "is_ok"], [1, 2, 1, "", "is_pseudo_legal"], [1, 2, 1, "", "king_square"], [1, 3, 1, "", "legal_moves"], [1, 2, 1, "", "mate_move"], [1, 2, 1, "", "mate_move_in_1ply"], [1, 2, 1, "", "move"], [1, 2, 1, "", "move_from_csa"], [1, 2, 1, "", "move_from_move16"], [1, 2, 1, "", "move_from_psv"], [1, 2, 1, "", "move_from_usi"], [1, 3, 1, "", "move_number"], [1, 2, 1, "", "peek"], [1, 2, 1, "", "piece"], [1, 2, 1, "", "piece_planes"], [1, 2, 1, "", "piece_planes_rotate"], [1, 2, 1, "", "piece_type"], [1, 3, 1, "", "pieces"], [1, 3, 1, "", "pieces_in_hand"], [1, 2, 1, "", "pop"], [1, 2, 1, "", "pop_pass"], [1, 2, 1, "", "pseudo_legal_move_is_legal"], [1, 3, 1, "", "pseudo_legal_moves"], [1, 2, 1, "", "push"], [1, 2, 1, "", "push_csa"], [1, 2, 1, "", "push_move16"], [1, 2, 1, "", "push_pass"], [1, 2, 1, "", "push_psv"], [1, 2, 1, "", "push_usi"], [1, 2, 1, "", "reset"], [1, 2, 1, "", "set_hcp"], [1, 2, 1, "", "set_pieces"], [1, 2, 1, "", "set_position"], [1, 2, 1, "", "set_psfen"], [1, 2, 1, "", "set_sfen"], [1, 2, 1, "", "sfen"], [1, 2, 1, "", "to_bod"], [1, 2, 1, "", "to_hcp"], [1, 2, 1, "", "to_psfen"], [1, 2, 1, "", "to_svg"], [1, 3, 1, "", "turn"], [1, 2, 1, "", "zobrist_hash"]], "cshogi.CSA": [[1, 1, 1, "", "Exporter"], [1, 1, 1, "", "Parser"]], "cshogi.CSA.Exporter": [[1, 2, 1, "", "close"], [1, 2, 1, "", "endgame"], [1, 2, 1, "", "info"], [1, 2, 1, "", "move"], [1, 2, 1, "", "open"]], "cshogi.CSA.Parser": [[1, 3, 1, "", "comment"], [1, 3, 1, "", "comments"], [1, 3, 1, "", "endgame"], [1, 3, 1, "", "moves"], [1, 3, 1, "", "names"], [1, 2, 1, "", "parse_csa_file"], [1, 2, 1, "", "parse_csa_str"], [1, 2, 1, "", "parse_file"], [1, 2, 1, "", "parse_str"], [1, 3, 1, "", "ratings"], [1, 3, 1, "", "scores"], [1, 3, 1, "", "sfen"], [1, 3, 1, "", "times"], [1, 3, 1, "", "var_info"], [1, 3, 1, "", "version"], [1, 3, 1, "", "win"]], "cshogi.DfPn": [[1, 2, 1, "", "get_move"], [1, 2, 1, "", "get_pv"], [1, 2, 1, "", "search"], [1, 2, 1, "", "search_andnode"], [1, 3, 1, "", "searched_node"], [1, 2, 1, "", "set_draw_ply"], [1, 2, 1, "", "set_max_depth"], [1, 2, 1, "", "set_max_search_node"], [1, 2, 1, "", "stop"]], "cshogi.KI2": [[1, 1, 1, "", "Exporter"], [1, 1, 1, "", "Parser"], [1, 4, 1, "", "move_to_ki2"]], "cshogi.KI2.Exporter": [[1, 2, 1, "", "close"], [1, 2, 1, "", "end"], [1, 2, 1, "", "header"], [1, 2, 1, "", "move"], [1, 2, 1, "", "open"]], "cshogi.KI2.Parser": [[1, 3, 1, "", "HANDYCAP_SFENS"], [1, 3, 1, "", "MOVE_RE"], [1, 3, 1, "", "RESULT_RE"], [1, 2, 1, "", "parse_file"], [1, 2, 1, "", "parse_move_str"], [1, 2, 1, "", "parse_pieces_in_hand"], [1, 2, 1, "", "parse_str"]], "cshogi.KIF": [[1, 1, 1, "", "Exporter"], [1, 1, 1, "", "Parser"], [1, 5, 1, "", "ParserException"], [1, 4, 1, "", "board_to_bod"], [1, 4, 1, "", "move_to_bod"], [1, 4, 1, "", "move_to_kif"], [1, 4, 1, "", "sec_to_time"]], "cshogi.KIF.Exporter": [[1, 2, 1, "", "close"], [1, 2, 1, "", "end"], [1, 2, 1, "", "header"], [1, 2, 1, "", "info"], [1, 2, 1, "", "move"], [1, 2, 1, "", "open"]], "cshogi.KIF.Parser": [[1, 3, 1, "", "HANDYCAP_SFENS"], [1, 3, 1, "", "MOVE_RE"], [1, 3, 1, "", "RESULT_RE"], [1, 2, 1, "", "parse_file"], [1, 2, 1, "", "parse_move_str"], [1, 2, 1, "", "parse_pieces_in_hand"], [1, 2, 1, "", "parse_str"]], "cshogi.PGN": [[1, 1, 1, "", "Exporter"], [1, 4, 1, "", "move_to_san"]], "cshogi.PGN.Exporter": [[1, 2, 1, "", "close"], [1, 2, 1, "", "movetext"], [1, 2, 1, "", "open"], [1, 2, 1, "", "tag_pair"]], "cshogi.cli": [[1, 4, 1, "", "main"], [1, 4, 1, "", "to_score"], [1, 4, 1, "", "usi_info_to_csa_comment"], [1, 4, 1, "", "usi_info_to_score"]], "cshogi.dlshogi": [[2, 4, 1, "", "make_input_features"], [2, 4, 1, "", "make_move_label"]], "cshogi.elo": [[1, 1, 1, "", "Elo"], [1, 4, 1, "", "elo_diff"], [1, 4, 1, "", "erf_inv"], [1, 4, 1, "", "phi_inv"]], "cshogi.elo.Elo": [[1, 2, 1, "", "diff"], [1, 2, 1, "", "draw_ratio"], [1, 2, 1, "", "error_margin"], [1, 2, 1, "", "los"], [1, 2, 1, "", "point_ratio"]], "cshogi.gym_shogi": [[4, 0, 0, "-", "envs"]], "cshogi.gym_shogi.envs": [[4, 1, 1, "", "ShogiEnv"], [4, 1, 1, "", "ShogiVecEnv"], [4, 0, 0, "-", "shogi_env"], [4, 0, 0, "-", "shogi_vec_env"]], "cshogi.gym_shogi.envs.ShogiEnv": [[4, 3, 1, "", "action_space"], [4, 3, 1, "", "metadata"], [4, 3, 1, "", "observation_space"], [4, 2, 1, "", "render"], [4, 2, 1, "", "reset"], [4, 2, 1, "", "step"]], "cshogi.gym_shogi.envs.ShogiVecEnv": [[4, 3, 1, "", "metadata"], [4, 2, 1, "", "render"], [4, 2, 1, "", "reset"], [4, 2, 1, "", "step"]], "cshogi.gym_shogi.envs.shogi_env": [[4, 1, 1, "", "ShogiEnv"]], "cshogi.gym_shogi.envs.shogi_env.ShogiEnv": [[4, 3, 1, "", "metadata"], [4, 2, 1, "", "render"], [4, 2, 1, "", "reset"], [4, 2, 1, "", "step"]], "cshogi.gym_shogi.envs.shogi_vec_env": [[4, 1, 1, "", "ShogiVecEnv"]], "cshogi.gym_shogi.envs.shogi_vec_env.ShogiVecEnv": [[4, 3, 1, "", "metadata"], [4, 2, 1, "", "render"], [4, 2, 1, "", "reset"], [4, 2, 1, "", "step"]], "cshogi.usi": [[5, 1, 1, "", "Engine"], [5, 1, 1, "", "InfoListener"], [5, 1, 1, "", "MultiPVListener"]], "cshogi.usi.Engine": [[5, 2, 1, "", "connect"], [5, 2, 1, "", "gameover"], [5, 2, 1, "", "go"], [5, 2, 1, "", "go_mate"], [5, 2, 1, "", "isready"], [5, 2, 1, "", "ponderhit"], [5, 2, 1, "", "position"], [5, 2, 1, "", "quit"], [5, 2, 1, "", "setoption"], [5, 2, 1, "", "stop"], [5, 2, 1, "", "usi"], [5, 2, 1, "", "usinewgame"]], "cshogi.usi.InfoListener": [[5, 6, 1, "", "bestmove"], [5, 6, 1, "", "info"], [5, 2, 1, "", "listen"], [5, 6, 1, "", "mate_score"], [5, 6, 1, "", "pv"], [5, 3, 1, "", "re_bestmove"], [5, 3, 1, "", "re_info"], [5, 6, 1, "", "score"]], "cshogi.usi.MultiPVListener": [[5, 6, 1, "", "info"], [5, 2, 1, "", "listen"], [5, 3, 1, "", "re_multipv"]], "cshogi.web": [[6, 0, 0, "-", "app"]], "cshogi.web.app": [[6, 1, 1, "", "Human"], [6, 4, 1, "", "colab"], [6, 4, 1, "", "match"], [6, 4, 1, "", "run"], [6, 4, 1, "", "usi_info_to_pv"]], "cshogi.web.app.Human": [[6, 2, 1, "", "go"], [6, 2, 1, "", "isready"], [6, 2, 1, "", "position"], [6, 2, 1, "", "quit"], [6, 2, 1, "", "usi"], [6, 2, 1, "", "usinewgame"]]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:attribute", "4": "py:function", "5": "py:exception", "6": "py:property"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "attribute", "Python attribute"], "4": ["py", "function", "Python function"], "5": ["py", "exception", "Python exception"], "6": ["py", "property", "Python property"]}, "titleterms": {"about": 0, "cshogi": [0, 1, 2, 3, 4, 5, 6, 7], "design": 0, "polici": 0, "handl": 0, "move": 0, "legal": 0, "check": 0, "coordin": 0, "system": 0, "piec": 0, "hand": 0, "packag": [1, 2, 3, 4, 5, 6], "modul": [1, 2, 3, 4, 5, 6], "content": [1, 2, 3, 4, 5, 6], "submodul": [1, 4, 6], "csa": 1, "ki2": 1, "kif": 1, "pgn": 1, "cli": 1, "elo": 1, "subpackag": [1, 3], "dlshogi": 2, "gym_shogi": [3, 4], "env": 4, "shogi_env": 4, "shogi_vec_env": 4, "usi": 5, "web": 6, "app": 6, "welcom": 7, "": 7, "document": 7, "introduct": 7, "refer": 7, "indic": 7, "tabl": 7, "instal": 8, "from": 8, "github": 8, "sourc": 8, "pypi": 8, "quickstart": 9, "basic": 9, "featur": 9}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 8, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.viewcode": 1, "sphinx.ext.todo": 2, "sphinx": 57}, "alltitles": {"About cshogi": [[0, "about-cshogi"]], "Design Policy": [[0, "design-policy"]], "Handling of Moves": [[0, "handling-of-moves"]], "Legal Move Check": [[0, "legal-move-check"]], "Coordinate System": [[0, "coordinate-system"]], "Handling of Pieces": [[0, "handling-of-pieces"]], "Handling of Pieces in Hand": [[0, "handling-of-pieces-in-hand"]], "cshogi package": [[1, "cshogi-package"]], "Module contents": [[1, "module-cshogi"], [2, "module-cshogi.dlshogi"], [3, "module-cshogi.gym_shogi"], [4, "module-cshogi.gym_shogi.envs"], [5, "module-cshogi.usi"], [6, "module-cshogi.web"]], "Submodules": [[1, "submodules"], [4, "submodules"], [6, "submodules"]], "cshogi.CSA module": [[1, "module-cshogi.CSA"]], "cshogi.KI2 module": [[1, "module-cshogi.KI2"]], "cshogi.KIF module": [[1, "module-cshogi.KIF"]], "cshogi.PGN module": [[1, "module-cshogi.PGN"]], "cshogi.cli module": [[1, "module-cshogi.cli"]], "cshogi.elo module": [[1, "module-cshogi.elo"]], "Subpackages": [[1, "subpackages"], [3, "subpackages"]], "cshogi.dlshogi package": [[2, "cshogi-dlshogi-package"]], "cshogi.gym_shogi package": [[3, "cshogi-gym-shogi-package"]], "cshogi.gym_shogi.envs package": [[4, "cshogi-gym-shogi-envs-package"]], "cshogi.gym_shogi.envs.shogi_env module": [[4, "module-cshogi.gym_shogi.envs.shogi_env"]], "cshogi.gym_shogi.envs.shogi_vec_env module": [[4, "module-cshogi.gym_shogi.envs.shogi_vec_env"]], "cshogi.usi package": [[5, "cshogi-usi-package"]], "cshogi.web package": [[6, "cshogi-web-package"]], "cshogi.web.app module": [[6, "module-cshogi.web.app"]], "Welcome to cshogi\u2019s documentation!": [[7, "welcome-to-cshogi-s-documentation"]], "Introduction:": [[7, null]], "References:": [[7, null]], "Indices and tables": [[7, "indices-and-tables"]], "Installation": [[8, "installation"]], "Installation from GitHub Source": [[8, "installation-from-github-source"]], "Installation from PYPI": [[8, "installation-from-pypi"]], "Quickstart": [[9, "quickstart"]], "Basics": [[9, "basics"]], "Features": [[9, "features"]]}, "indexentries": {"board (class in cshogi)": [[1, "cshogi.Board"]], "dfpn (class in cshogi)": [[1, "cshogi.DfPn"]], "elo (class in cshogi.elo)": [[1, "cshogi.elo.Elo"]], "exporter (class in cshogi.csa)": [[1, "cshogi.CSA.Exporter"]], "exporter (class in cshogi.ki2)": [[1, "cshogi.KI2.Exporter"]], "exporter (class in cshogi.kif)": [[1, "cshogi.KIF.Exporter"]], "exporter (class in cshogi.pgn)": [[1, "cshogi.PGN.Exporter"]], "handycap_sfens (cshogi.ki2.parser attribute)": [[1, "cshogi.KI2.Parser.HANDYCAP_SFENS"]], "handycap_sfens (cshogi.kif.parser attribute)": [[1, "cshogi.KIF.Parser.HANDYCAP_SFENS"]], "legalmovelist (class in cshogi)": [[1, "cshogi.LegalMoveList"]], "move_re (cshogi.ki2.parser attribute)": [[1, "cshogi.KI2.Parser.MOVE_RE"]], "move_re (cshogi.kif.parser attribute)": [[1, "cshogi.KIF.Parser.MOVE_RE"]], "parser (class in cshogi.csa)": [[1, "cshogi.CSA.Parser"]], "parser (class in cshogi.ki2)": [[1, "cshogi.KI2.Parser"]], "parser (class in cshogi.kif)": [[1, "cshogi.KIF.Parser"]], "parserexception": [[1, "cshogi.KIF.ParserException"]], "pseudolegalmovelist (class in cshogi)": [[1, "cshogi.PseudoLegalMoveList"]], "result_re (cshogi.ki2.parser attribute)": [[1, "cshogi.KI2.Parser.RESULT_RE"]], "result_re (cshogi.kif.parser attribute)": [[1, "cshogi.KIF.Parser.RESULT_RE"]], "svgwrapper (class in cshogi)": [[1, "cshogi.SvgWrapper"]], "board_to_bod() (in module cshogi.kif)": [[1, "cshogi.KIF.board_to_bod"]], "book_key() (cshogi.board method)": [[1, "cshogi.Board.book_key"]], "book_key_after() (cshogi.board method)": [[1, "cshogi.Board.book_key_after"]], "close() (cshogi.csa.exporter method)": [[1, "cshogi.CSA.Exporter.close"]], "close() (cshogi.ki2.exporter method)": [[1, "cshogi.KI2.Exporter.close"]], "close() (cshogi.kif.exporter method)": [[1, "cshogi.KIF.Exporter.close"]], "close() (cshogi.pgn.exporter method)": [[1, "cshogi.PGN.Exporter.close"]], "comment (cshogi.csa.parser attribute)": [[1, "cshogi.CSA.Parser.comment"]], "comments (cshogi.csa.parser attribute)": [[1, "cshogi.CSA.Parser.comments"]], "copy() (cshogi.board method)": [[1, "cshogi.Board.copy"]], "csa_pos() (cshogi.board method)": [[1, "cshogi.Board.csa_pos"]], "cshogi": [[1, "module-cshogi"]], "cshogi.csa": [[1, "module-cshogi.CSA"]], "cshogi.ki2": [[1, "module-cshogi.KI2"]], "cshogi.kif": [[1, "module-cshogi.KIF"]], "cshogi.pgn": [[1, "module-cshogi.PGN"]], "cshogi.cli": [[1, "module-cshogi.cli"]], "cshogi.elo": [[1, "module-cshogi.elo"]], "diff() (cshogi.elo.elo method)": [[1, "cshogi.elo.Elo.diff"]], "draw_ratio() (cshogi.elo.elo method)": [[1, "cshogi.elo.Elo.draw_ratio"]], "drop_move() (cshogi.board method)": [[1, "cshogi.Board.drop_move"]], "elo_diff() (in module cshogi.elo)": [[1, "cshogi.elo.elo_diff"]], "end() (cshogi.ki2.exporter method)": [[1, "cshogi.KI2.Exporter.end"]], "end() (cshogi.kif.exporter method)": [[1, "cshogi.KIF.Exporter.end"]], "endgame (cshogi.csa.parser attribute)": [[1, "cshogi.CSA.Parser.endgame"]], "endgame() (cshogi.csa.exporter method)": [[1, "cshogi.CSA.Exporter.endgame"]], "erf_inv() (in module cshogi.elo)": [[1, "cshogi.elo.erf_inv"]], "error_margin() (cshogi.elo.elo method)": [[1, "cshogi.elo.Elo.error_margin"]], "get_move() (cshogi.dfpn method)": [[1, "cshogi.DfPn.get_move"]], "get_pv() (cshogi.dfpn method)": [[1, "cshogi.DfPn.get_pv"]], "hand_piece_to_piece_type() (in module cshogi)": [[1, "cshogi.hand_piece_to_piece_type"]], "header() (cshogi.ki2.exporter method)": [[1, "cshogi.KI2.Exporter.header"]], "header() (cshogi.kif.exporter method)": [[1, "cshogi.KIF.Exporter.header"]], "history (cshogi.board attribute)": [[1, "cshogi.Board.history"]], "info() (cshogi.csa.exporter method)": [[1, "cshogi.CSA.Exporter.info"]], "info() (cshogi.kif.exporter method)": [[1, "cshogi.KIF.Exporter.info"]], "is_check() (cshogi.board method)": [[1, "cshogi.Board.is_check"]], "is_draw() (cshogi.board method)": [[1, "cshogi.Board.is_draw"]], "is_game_over() (cshogi.board method)": [[1, "cshogi.Board.is_game_over"]], "is_legal() (cshogi.board method)": [[1, "cshogi.Board.is_legal"]], "is_mate() (cshogi.board method)": [[1, "cshogi.Board.is_mate"]], "is_nyugyoku() (cshogi.board method)": [[1, "cshogi.Board.is_nyugyoku"]], "is_ok() (cshogi.board method)": [[1, "cshogi.Board.is_ok"]], "is_pseudo_legal() (cshogi.board method)": [[1, "cshogi.Board.is_pseudo_legal"]], "king_square() (cshogi.board method)": [[1, "cshogi.Board.king_square"]], "legal_moves (cshogi.board attribute)": [[1, "cshogi.Board.legal_moves"]], "los() (cshogi.elo.elo method)": [[1, "cshogi.elo.Elo.los"]], "main() (in module cshogi.cli)": [[1, "cshogi.cli.main"]], "mate_move() (cshogi.board method)": [[1, "cshogi.Board.mate_move"]], "mate_move_in_1ply() (cshogi.board method)": [[1, "cshogi.Board.mate_move_in_1ply"]], "module": [[1, "module-cshogi"], [1, "module-cshogi.CSA"], [1, "module-cshogi.KI2"], [1, "module-cshogi.KIF"], [1, "module-cshogi.PGN"], [1, "module-cshogi.cli"], [1, "module-cshogi.elo"], [2, "module-cshogi.dlshogi"], [3, "module-cshogi.gym_shogi"], [4, "module-cshogi.gym_shogi.envs"], [4, "module-cshogi.gym_shogi.envs.shogi_env"], [4, "module-cshogi.gym_shogi.envs.shogi_vec_env"], [5, "module-cshogi.usi"], [6, "module-cshogi.web"], [6, "module-cshogi.web.app"]], "move() (cshogi.board method)": [[1, "cshogi.Board.move"]], "move() (cshogi.csa.exporter method)": [[1, "cshogi.CSA.Exporter.move"]], "move() (cshogi.ki2.exporter method)": [[1, "cshogi.KI2.Exporter.move"]], "move() (cshogi.kif.exporter method)": [[1, "cshogi.KIF.Exporter.move"]], "move16() (in module cshogi)": [[1, "cshogi.move16"]], "move16_from_psv() (in module cshogi)": [[1, "cshogi.move16_from_psv"]], "move16_to_psv() (in module cshogi)": [[1, "cshogi.move16_to_psv"]], "move_cap() (in module cshogi)": [[1, "cshogi.move_cap"]], "move_drop_hand_piece() (in module cshogi)": [[1, "cshogi.move_drop_hand_piece"]], "move_from() (in module cshogi)": [[1, "cshogi.move_from"]], "move_from_csa() (cshogi.board method)": [[1, "cshogi.Board.move_from_csa"]], "move_from_move16() (cshogi.board method)": [[1, "cshogi.Board.move_from_move16"]], "move_from_piece_type() (in module cshogi)": [[1, "cshogi.move_from_piece_type"]], "move_from_psv() (cshogi.board method)": [[1, "cshogi.Board.move_from_psv"]], "move_from_usi() (cshogi.board method)": [[1, "cshogi.Board.move_from_usi"]], "move_is_drop() (in module cshogi)": [[1, "cshogi.move_is_drop"]], "move_is_promotion() (in module cshogi)": [[1, "cshogi.move_is_promotion"]], "move_number (cshogi.board attribute)": [[1, "cshogi.Board.move_number"]], "move_rotate() (in module cshogi)": [[1, "cshogi.move_rotate"]], "move_to() (in module cshogi)": [[1, "cshogi.move_to"]], "move_to_bod() (in module cshogi.kif)": [[1, "cshogi.KIF.move_to_bod"]], "move_to_csa() (in module cshogi)": [[1, "cshogi.move_to_csa"]], "move_to_ki2() (in module cshogi.ki2)": [[1, "cshogi.KI2.move_to_ki2"]], "move_to_kif() (in module cshogi.kif)": [[1, "cshogi.KIF.move_to_kif"]], "move_to_san() (in module cshogi.pgn)": [[1, "cshogi.PGN.move_to_san"]], "move_to_usi() (in module cshogi)": [[1, "cshogi.move_to_usi"]], "moves (cshogi.csa.parser attribute)": [[1, "cshogi.CSA.Parser.moves"]], "movetext() (cshogi.pgn.exporter method)": [[1, "cshogi.PGN.Exporter.movetext"]], "names (cshogi.csa.parser attribute)": [[1, "cshogi.CSA.Parser.names"]], "open() (cshogi.csa.exporter method)": [[1, "cshogi.CSA.Exporter.open"]], "open() (cshogi.ki2.exporter method)": [[1, "cshogi.KI2.Exporter.open"]], "open() (cshogi.kif.exporter method)": [[1, "cshogi.KIF.Exporter.open"]], "open() (cshogi.pgn.exporter method)": [[1, "cshogi.PGN.Exporter.open"]], "opponent() (in module cshogi)": [[1, "cshogi.opponent"]], "parse_csa_file() (cshogi.csa.parser method)": [[1, "cshogi.CSA.Parser.parse_csa_file"]], "parse_csa_str() (cshogi.csa.parser method)": [[1, "cshogi.CSA.Parser.parse_csa_str"]], "parse_file() (cshogi.csa.parser static method)": [[1, "cshogi.CSA.Parser.parse_file"]], "parse_file() (cshogi.ki2.parser static method)": [[1, "cshogi.KI2.Parser.parse_file"]], "parse_file() (cshogi.kif.parser static method)": [[1, "cshogi.KIF.Parser.parse_file"]], "parse_move_str() (cshogi.ki2.parser static method)": [[1, "cshogi.KI2.Parser.parse_move_str"]], "parse_move_str() (cshogi.kif.parser static method)": [[1, "cshogi.KIF.Parser.parse_move_str"]], "parse_pieces_in_hand() (cshogi.ki2.parser static method)": [[1, "cshogi.KI2.Parser.parse_pieces_in_hand"]], "parse_pieces_in_hand() (cshogi.kif.parser static method)": [[1, "cshogi.KIF.Parser.parse_pieces_in_hand"]], "parse_str() (cshogi.csa.parser static method)": [[1, "cshogi.CSA.Parser.parse_str"]], "parse_str() (cshogi.ki2.parser static method)": [[1, "cshogi.KI2.Parser.parse_str"]], "parse_str() (cshogi.kif.parser static method)": [[1, "cshogi.KIF.Parser.parse_str"]], "peek() (cshogi.board method)": [[1, "cshogi.Board.peek"]], "phi_inv() (in module cshogi.elo)": [[1, "cshogi.elo.phi_inv"]], "piece() (cshogi.board method)": [[1, "cshogi.Board.piece"]], "piece_planes() (cshogi.board method)": [[1, "cshogi.Board.piece_planes"]], "piece_planes_rotate() (cshogi.board method)": [[1, "cshogi.Board.piece_planes_rotate"]], "piece_to_piece_type() (in module cshogi)": [[1, "cshogi.piece_to_piece_type"]], "piece_type() (cshogi.board method)": [[1, "cshogi.Board.piece_type"]], "pieces (cshogi.board attribute)": [[1, "cshogi.Board.pieces"]], "pieces_in_hand (cshogi.board attribute)": [[1, "cshogi.Board.pieces_in_hand"]], "point_ratio() (cshogi.elo.elo method)": [[1, "cshogi.elo.Elo.point_ratio"]], "pop() (cshogi.board method)": [[1, "cshogi.Board.pop"]], "pop_pass() (cshogi.board method)": [[1, "cshogi.Board.pop_pass"]], "pseudo_legal_move_is_legal() (cshogi.board method)": [[1, "cshogi.Board.pseudo_legal_move_is_legal"]], "pseudo_legal_moves (cshogi.board attribute)": [[1, "cshogi.Board.pseudo_legal_moves"]], "push() (cshogi.board method)": [[1, "cshogi.Board.push"]], "push_csa() (cshogi.board method)": [[1, "cshogi.Board.push_csa"]], "push_move16() (cshogi.board method)": [[1, "cshogi.Board.push_move16"]], "push_pass() (cshogi.board method)": [[1, "cshogi.Board.push_pass"]], "push_psv() (cshogi.board method)": [[1, "cshogi.Board.push_psv"]], "push_usi() (cshogi.board method)": [[1, "cshogi.Board.push_usi"]], "ratings (cshogi.csa.parser attribute)": [[1, "cshogi.CSA.Parser.ratings"]], "reset() (cshogi.board method)": [[1, "cshogi.Board.reset"]], "scores (cshogi.csa.parser attribute)": [[1, "cshogi.CSA.Parser.scores"]], "search() (cshogi.dfpn method)": [[1, "cshogi.DfPn.search"]], "search_andnode() (cshogi.dfpn method)": [[1, "cshogi.DfPn.search_andnode"]], "searched_node (cshogi.dfpn attribute)": [[1, "cshogi.DfPn.searched_node"]], "sec_to_time() (in module cshogi.kif)": [[1, "cshogi.KIF.sec_to_time"]], "set_draw_ply() (cshogi.dfpn method)": [[1, "cshogi.DfPn.set_draw_ply"]], "set_hcp() (cshogi.board method)": [[1, "cshogi.Board.set_hcp"]], "set_max_depth() (cshogi.dfpn method)": [[1, "cshogi.DfPn.set_max_depth"]], "set_max_search_node() (cshogi.dfpn method)": [[1, "cshogi.DfPn.set_max_search_node"]], "set_pieces() (cshogi.board method)": [[1, "cshogi.Board.set_pieces"]], "set_position() (cshogi.board method)": [[1, "cshogi.Board.set_position"]], "set_psfen() (cshogi.board method)": [[1, "cshogi.Board.set_psfen"]], "set_sfen() (cshogi.board method)": [[1, "cshogi.Board.set_sfen"]], "sfen (cshogi.csa.parser attribute)": [[1, "cshogi.CSA.Parser.sfen"]], "sfen() (cshogi.board method)": [[1, "cshogi.Board.sfen"]], "stop() (cshogi.dfpn method)": [[1, "cshogi.DfPn.stop"]], "tag_pair() (cshogi.pgn.exporter method)": [[1, "cshogi.PGN.Exporter.tag_pair"]], "times (cshogi.csa.parser attribute)": [[1, "cshogi.CSA.Parser.times"]], "to_bod() (cshogi.board method)": [[1, "cshogi.Board.to_bod"]], "to_csa() (in module cshogi)": [[1, "cshogi.to_csa"]], "to_hcp() (cshogi.board method)": [[1, "cshogi.Board.to_hcp"]], "to_psfen() (cshogi.board method)": [[1, "cshogi.Board.to_psfen"]], "to_score() (in module cshogi.cli)": [[1, "cshogi.cli.to_score"]], "to_svg() (cshogi.board method)": [[1, "cshogi.Board.to_svg"]], "to_usi() (in module cshogi)": [[1, "cshogi.to_usi"]], "turn (cshogi.board attribute)": [[1, "cshogi.Board.turn"]], "usi_info_to_csa_comment() (in module cshogi.cli)": [[1, "cshogi.cli.usi_info_to_csa_comment"]], "usi_info_to_score() (in module cshogi.cli)": [[1, "cshogi.cli.usi_info_to_score"]], "var_info (cshogi.csa.parser attribute)": [[1, "cshogi.CSA.Parser.var_info"]], "version (cshogi.csa.parser attribute)": [[1, "cshogi.CSA.Parser.version"]], "win (cshogi.csa.parser attribute)": [[1, "cshogi.CSA.Parser.win"]], "zobrist_hash() (cshogi.board method)": [[1, "cshogi.Board.zobrist_hash"]], "cshogi.dlshogi": [[2, "module-cshogi.dlshogi"]], "make_input_features() (in module cshogi.dlshogi)": [[2, "cshogi.dlshogi.make_input_features"]], "make_move_label() (in module cshogi.dlshogi)": [[2, "cshogi.dlshogi.make_move_label"]], "cshogi.gym_shogi": [[3, "module-cshogi.gym_shogi"]], "shogienv (class in cshogi.gym_shogi.envs)": [[4, "cshogi.gym_shogi.envs.ShogiEnv"]], "shogienv (class in cshogi.gym_shogi.envs.shogi_env)": [[4, "cshogi.gym_shogi.envs.shogi_env.ShogiEnv"]], "shogivecenv (class in cshogi.gym_shogi.envs)": [[4, "cshogi.gym_shogi.envs.ShogiVecEnv"]], "shogivecenv (class in cshogi.gym_shogi.envs.shogi_vec_env)": [[4, "cshogi.gym_shogi.envs.shogi_vec_env.ShogiVecEnv"]], "action_space (cshogi.gym_shogi.envs.shogienv attribute)": [[4, "cshogi.gym_shogi.envs.ShogiEnv.action_space"]], "cshogi.gym_shogi.envs": [[4, "module-cshogi.gym_shogi.envs"]], "cshogi.gym_shogi.envs.shogi_env": [[4, "module-cshogi.gym_shogi.envs.shogi_env"]], "cshogi.gym_shogi.envs.shogi_vec_env": [[4, "module-cshogi.gym_shogi.envs.shogi_vec_env"]], "metadata (cshogi.gym_shogi.envs.shogienv attribute)": [[4, "cshogi.gym_shogi.envs.ShogiEnv.metadata"]], "metadata (cshogi.gym_shogi.envs.shogivecenv attribute)": [[4, "cshogi.gym_shogi.envs.ShogiVecEnv.metadata"]], "metadata (cshogi.gym_shogi.envs.shogi_env.shogienv attribute)": [[4, "cshogi.gym_shogi.envs.shogi_env.ShogiEnv.metadata"]], "metadata (cshogi.gym_shogi.envs.shogi_vec_env.shogivecenv attribute)": [[4, "cshogi.gym_shogi.envs.shogi_vec_env.ShogiVecEnv.metadata"]], "observation_space (cshogi.gym_shogi.envs.shogienv attribute)": [[4, "cshogi.gym_shogi.envs.ShogiEnv.observation_space"]], "render() (cshogi.gym_shogi.envs.shogienv method)": [[4, "cshogi.gym_shogi.envs.ShogiEnv.render"]], "render() (cshogi.gym_shogi.envs.shogivecenv method)": [[4, "cshogi.gym_shogi.envs.ShogiVecEnv.render"]], "render() (cshogi.gym_shogi.envs.shogi_env.shogienv method)": [[4, "cshogi.gym_shogi.envs.shogi_env.ShogiEnv.render"]], "render() (cshogi.gym_shogi.envs.shogi_vec_env.shogivecenv method)": [[4, "cshogi.gym_shogi.envs.shogi_vec_env.ShogiVecEnv.render"]], "reset() (cshogi.gym_shogi.envs.shogienv method)": [[4, "cshogi.gym_shogi.envs.ShogiEnv.reset"]], "reset() (cshogi.gym_shogi.envs.shogivecenv method)": [[4, "cshogi.gym_shogi.envs.ShogiVecEnv.reset"]], "reset() (cshogi.gym_shogi.envs.shogi_env.shogienv method)": [[4, "cshogi.gym_shogi.envs.shogi_env.ShogiEnv.reset"]], "reset() (cshogi.gym_shogi.envs.shogi_vec_env.shogivecenv method)": [[4, "cshogi.gym_shogi.envs.shogi_vec_env.ShogiVecEnv.reset"]], "step() (cshogi.gym_shogi.envs.shogienv method)": [[4, "cshogi.gym_shogi.envs.ShogiEnv.step"]], "step() (cshogi.gym_shogi.envs.shogivecenv method)": [[4, "cshogi.gym_shogi.envs.ShogiVecEnv.step"]], "step() (cshogi.gym_shogi.envs.shogi_env.shogienv method)": [[4, "cshogi.gym_shogi.envs.shogi_env.ShogiEnv.step"]], "step() (cshogi.gym_shogi.envs.shogi_vec_env.shogivecenv method)": [[4, "cshogi.gym_shogi.envs.shogi_vec_env.ShogiVecEnv.step"]], "engine (class in cshogi.usi)": [[5, "cshogi.usi.Engine"]], "infolistener (class in cshogi.usi)": [[5, "cshogi.usi.InfoListener"]], "multipvlistener (class in cshogi.usi)": [[5, "cshogi.usi.MultiPVListener"]], "bestmove (cshogi.usi.infolistener property)": [[5, "cshogi.usi.InfoListener.bestmove"]], "connect() (cshogi.usi.engine method)": [[5, "cshogi.usi.Engine.connect"]], "cshogi.usi": [[5, "module-cshogi.usi"]], "gameover() (cshogi.usi.engine method)": [[5, "cshogi.usi.Engine.gameover"]], "go() (cshogi.usi.engine method)": [[5, "cshogi.usi.Engine.go"]], "go_mate() (cshogi.usi.engine method)": [[5, "cshogi.usi.Engine.go_mate"]], "info (cshogi.usi.infolistener property)": [[5, "cshogi.usi.InfoListener.info"]], "info (cshogi.usi.multipvlistener property)": [[5, "cshogi.usi.MultiPVListener.info"]], "isready() (cshogi.usi.engine method)": [[5, "cshogi.usi.Engine.isready"]], "listen() (cshogi.usi.infolistener method)": [[5, "cshogi.usi.InfoListener.listen"]], "listen() (cshogi.usi.multipvlistener method)": [[5, "cshogi.usi.MultiPVListener.listen"]], "mate_score (cshogi.usi.infolistener property)": [[5, "cshogi.usi.InfoListener.mate_score"]], "ponderhit() (cshogi.usi.engine method)": [[5, "cshogi.usi.Engine.ponderhit"]], "position() (cshogi.usi.engine method)": [[5, "cshogi.usi.Engine.position"]], "pv (cshogi.usi.infolistener property)": [[5, "cshogi.usi.InfoListener.pv"]], "quit() (cshogi.usi.engine method)": [[5, "cshogi.usi.Engine.quit"]], "re_bestmove (cshogi.usi.infolistener attribute)": [[5, "cshogi.usi.InfoListener.re_bestmove"]], "re_info (cshogi.usi.infolistener attribute)": [[5, "cshogi.usi.InfoListener.re_info"]], "re_multipv (cshogi.usi.multipvlistener attribute)": [[5, "cshogi.usi.MultiPVListener.re_multipv"]], "score (cshogi.usi.infolistener property)": [[5, "cshogi.usi.InfoListener.score"]], "setoption() (cshogi.usi.engine method)": [[5, "cshogi.usi.Engine.setoption"]], "stop() (cshogi.usi.engine method)": [[5, "cshogi.usi.Engine.stop"]], "usi() (cshogi.usi.engine method)": [[5, "cshogi.usi.Engine.usi"]], "usinewgame() (cshogi.usi.engine method)": [[5, "cshogi.usi.Engine.usinewgame"]], "human (class in cshogi.web.app)": [[6, "cshogi.web.app.Human"]], "colab() (in module cshogi.web.app)": [[6, "cshogi.web.app.colab"]], "cshogi.web": [[6, "module-cshogi.web"]], "cshogi.web.app": [[6, "module-cshogi.web.app"]], "go() (cshogi.web.app.human method)": [[6, "cshogi.web.app.Human.go"]], "isready() (cshogi.web.app.human method)": [[6, "cshogi.web.app.Human.isready"]], "match() (in module cshogi.web.app)": [[6, "cshogi.web.app.match"]], "position() (cshogi.web.app.human method)": [[6, "cshogi.web.app.Human.position"]], "quit() (cshogi.web.app.human method)": [[6, "cshogi.web.app.Human.quit"]], "run() (in module cshogi.web.app)": [[6, "cshogi.web.app.run"]], "usi() (cshogi.web.app.human method)": [[6, "cshogi.web.app.Human.usi"]], "usi_info_to_pv() (in module cshogi.web.app)": [[6, "cshogi.web.app.usi_info_to_pv"]], "usinewgame() (cshogi.web.app.human method)": [[6, "cshogi.web.app.Human.usinewgame"]]}}) \ No newline at end of file