Xiangiqgame
AI engine for Xiangqi
|
Implements GameSummaryPlotter, and produces plots showing time spent by core MinimaxMoveEvaluator(s) evaluating nodes and selecting Moves. More...
Public Member Functions | |
def | __init__ (self, np.ndarray axes, int|Tuple[int,...] log_scale_rows=tuple(), pd.DataFrame red_data=None, pd.DataFrame black_data=None, bool add_plot_column_titles=True) |
def | plot_player_search_times (self, bindings.PieceColor player) |
def | plot_data (self) |
![]() | |
def | __init__ (self, np.ndarray axes, Tuple[str,...] y_labels, int|Tuple[int,...] log_scale_rows=tuple(), pd.DataFrame red_data=None, pd.DataFrame black_data=None, bool add_plot_column_titles=True) |
Dict[str, pd.DataFrame] | dfs (self) |
bool | has_data (self, bindings.PieceColor player) |
int | num_players_with_data (self) |
def | validate_dfs (self) |
def | set_y_axes (self) |
def | set_x_axes (self) |
Dict[bindings.PieceColor, int] | player_plot_col (self) |
pd.Index | data_columns (self) |
def | match_y_limits_all_rows (self) |
def | plot_data (self) |
def | remove_second_plot_col_ylabels (self) |
def | set_plot_col_titles (self) |
def | plot (self) |
Static Public Attributes | |
list | search_stats_time_cols = ["search_time_s", "mean_time_per_node_ns"] |
![]() | |
dict | evaluating_player_line_colors |
dict | player_text_labels |
dict | non_evaluating_player_line_colors |
Additional Inherited Members | |
![]() | |
def | match_y_limits (np.ndarray axes_row) |
![]() | |
axes | |
y_labels | |
log_scale_rows | |
num_players_with_data | |
![]() | |
_red_data | |
_black_data | |
_add_plot_column_titles | |
Implements GameSummaryPlotter, and produces plots showing time spent by core MinimaxMoveEvaluator(s) evaluating nodes and selecting Moves.
Definition at line 275 of file game_summary_plotters.py.
def xiangqipy.game_summary_plotters.SearchTimePlotter.__init__ | ( | self, | |
np.ndarray | axes, | ||
int | Tuple[int, ...] | log_scale_rows = tuple() , |
||
pd.DataFrame | red_data = None , |
||
pd.DataFrame | black_data = None , |
||
bool | add_plot_column_titles = True |
||
) |
Reimplemented from xiangqipy.game_summary_plotters.GameSummaryPlotter.
Definition at line 283 of file game_summary_plotters.py.
def xiangqipy.game_summary_plotters.SearchTimePlotter.plot_data | ( | self | ) |
Reimplemented from xiangqipy.game_summary_plotters.GameSummaryPlotter.
Definition at line 314 of file game_summary_plotters.py.
def xiangqipy.game_summary_plotters.SearchTimePlotter.plot_player_search_times | ( | self, | |
bindings.PieceColor | player | ||
) |
Definition at line 303 of file game_summary_plotters.py.
|
static |
Definition at line 281 of file game_summary_plotters.py.