Xiangiqgame
AI engine for Xiangqi
|
Outputs GameSummary to .json file, and saves plots to a .png file. More...
Public Member Functions | |
def | __init__ (self, GameSummary game_summary, str output_dir_suffix=None, Path custom_output_root=None) |
Path | create_output_dir (self) |
def | generate_output (self) |
Public Attributes | |
game_summary | |
output_dir_suffix | |
custom_output_root | |
output_dir | |
Outputs GameSummary to .json file, and saves plots to a .png file.
Definition at line 12 of file game_output_generator.py.
def xiangqipy.game_output_generator.GameOutputGenerator.__init__ | ( | self, | |
GameSummary | game_summary, | ||
str | output_dir_suffix = None , |
||
Path | custom_output_root = None |
||
) |
Definition at line 17 of file game_output_generator.py.
Path xiangqipy.game_output_generator.GameOutputGenerator.create_output_dir | ( | self | ) |
Definition at line 30 of file game_output_generator.py.
def xiangqipy.game_output_generator.GameOutputGenerator.generate_output | ( | self | ) |
Definition at line 52 of file game_output_generator.py.
xiangqipy.game_output_generator.GameOutputGenerator.custom_output_root |
Definition at line 26 of file game_output_generator.py.
xiangqipy.game_output_generator.GameOutputGenerator.game_summary |
Definition at line 24 of file game_output_generator.py.
xiangqipy.game_output_generator.GameOutputGenerator.output_dir |
Definition at line 27 of file game_output_generator.py.
xiangqipy.game_output_generator.GameOutputGenerator.output_dir_suffix |
Definition at line 25 of file game_output_generator.py.