|
Xiangiqgame
AI engine for Xiangqi
|
Manages the layout and file output of a figure containing multiple plots of data from a GameSummary. More...

Public Member Functions | |
| def | __init__ (self, GameSummary game_summary, bool save_fig=False) |
| bool | has_minimax_data (self, bindings.PieceColor player) |
| int | num_players_with_minimax_data (self) |
| def | build_layout (self) |
| def | save_figure (self, Path path) |
| def | plot (self, bool show_plot=True) |
Public Attributes | |
| game_summary | |
| save_fig | |
| fig | |
| search_type_plots | |
| search_time_plots | |
| eval_score_plots | |
| gs | |
Manages the layout and file output of a figure containing multiple plots of data from a GameSummary.
Definition at line 21 of file game_summary_plot_manager.py.
| def xiangqipy.game_summary_plot_manager.GameSummaryPlotManager.__init__ | ( | self, | |
| GameSummary | game_summary, | ||
| bool | save_fig = False |
||
| ) |
Definition at line 26 of file game_summary_plot_manager.py.
| def xiangqipy.game_summary_plot_manager.GameSummaryPlotManager.build_layout | ( | self | ) |
Definition at line 62 of file game_summary_plot_manager.py.
| bool xiangqipy.game_summary_plot_manager.GameSummaryPlotManager.has_minimax_data | ( | self, | |
| bindings.PieceColor | player | ||
| ) |
Definition at line 48 of file game_summary_plot_manager.py.
| int xiangqipy.game_summary_plot_manager.GameSummaryPlotManager.num_players_with_minimax_data | ( | self | ) |
Definition at line 54 of file game_summary_plot_manager.py.
| def xiangqipy.game_summary_plot_manager.GameSummaryPlotManager.plot | ( | self, | |
| bool | show_plot = True |
||
| ) |
Definition at line 171 of file game_summary_plot_manager.py.
| def xiangqipy.game_summary_plot_manager.GameSummaryPlotManager.save_figure | ( | self, | |
| Path | path | ||
| ) |
Definition at line 164 of file game_summary_plot_manager.py.
| xiangqipy.game_summary_plot_manager.GameSummaryPlotManager.eval_score_plots |
Definition at line 37 of file game_summary_plot_manager.py.
| xiangqipy.game_summary_plot_manager.GameSummaryPlotManager.fig |
Definition at line 30 of file game_summary_plot_manager.py.
| xiangqipy.game_summary_plot_manager.GameSummaryPlotManager.game_summary |
Definition at line 28 of file game_summary_plot_manager.py.
| xiangqipy.game_summary_plot_manager.GameSummaryPlotManager.gs |
Definition at line 40 of file game_summary_plot_manager.py.
| xiangqipy.game_summary_plot_manager.GameSummaryPlotManager.save_fig |
Definition at line 29 of file game_summary_plot_manager.py.
| xiangqipy.game_summary_plot_manager.GameSummaryPlotManager.search_time_plots |
Definition at line 34 of file game_summary_plot_manager.py.
| xiangqipy.game_summary_plot_manager.GameSummaryPlotManager.search_type_plots |
Definition at line 31 of file game_summary_plot_manager.py.