Xiangiqgame
AI engine for Xiangqi
Loading...
Searching...
No Matches
xiangqipy.game_summary_plot_manager.GameSummaryPlotManager Class Reference

Manages the layout and file output of a figure containing multiple plots of data from a GameSummary. More...

Collaboration diagram for xiangqipy.game_summary_plot_manager.GameSummaryPlotManager:
Collaboration graph

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

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.

Member Function Documentation

◆ build_layout()

def xiangqipy.game_summary_plot_manager.GameSummaryPlotManager.build_layout (   self)

Definition at line 62 of file game_summary_plot_manager.py.

◆ has_minimax_data()

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.

◆ num_players_with_minimax_data()

int xiangqipy.game_summary_plot_manager.GameSummaryPlotManager.num_players_with_minimax_data (   self)

Definition at line 54 of file game_summary_plot_manager.py.

◆ plot()

def xiangqipy.game_summary_plot_manager.GameSummaryPlotManager.plot (   self,
bool   show_plot = True 
)

Definition at line 171 of file game_summary_plot_manager.py.

◆ save_figure()

def xiangqipy.game_summary_plot_manager.GameSummaryPlotManager.save_figure (   self,
Path  path 
)

Definition at line 164 of file game_summary_plot_manager.py.

Member Data Documentation

◆ eval_score_plots

xiangqipy.game_summary_plot_manager.GameSummaryPlotManager.eval_score_plots

Definition at line 37 of file game_summary_plot_manager.py.

◆ fig

xiangqipy.game_summary_plot_manager.GameSummaryPlotManager.fig

Definition at line 30 of file game_summary_plot_manager.py.

◆ game_summary

xiangqipy.game_summary_plot_manager.GameSummaryPlotManager.game_summary

Definition at line 28 of file game_summary_plot_manager.py.

◆ gs

xiangqipy.game_summary_plot_manager.GameSummaryPlotManager.gs

Definition at line 40 of file game_summary_plot_manager.py.

◆ save_fig

xiangqipy.game_summary_plot_manager.GameSummaryPlotManager.save_fig

Definition at line 29 of file game_summary_plot_manager.py.

◆ search_time_plots

xiangqipy.game_summary_plot_manager.GameSummaryPlotManager.search_time_plots

Definition at line 34 of file game_summary_plot_manager.py.

◆ search_type_plots

xiangqipy.game_summary_plot_manager.GameSummaryPlotManager.search_type_plots

Definition at line 31 of file game_summary_plot_manager.py.


The documentation for this class was generated from the following file: