Xiangiqgame
AI engine for Xiangqi
Loading...
Searching...
No Matches
xiangqipy.game_summary_converter.CorePlayerSpecToPyPlayerSummaryConverter Class Reference
Collaboration diagram for xiangqipy.game_summary_converter.CorePlayerSpecToPyPlayerSummaryConverter:
Collaboration graph

Public Member Functions

def __init__ (self, xb.PlayerSpec core_player_spec, xb.SearchSummaries core_search_summaries)
 
xb.PieceColor py_color (self)
 
pen.PlayerType py_player_type (self)
 
pen.EvaluatorType py_move_evaluator_type (self)
 
int py_max_search_depth (self)
 
int py_zobrist_key_size (self)
 
int py_zkeys_seed (self)
 
cdm.SearchSummaries py_search_summaries (self)
 
pps.PlayerSummary convert (self)
 

Public Attributes

 core_player_spec
 
 core_search_summaries
 

Static Protected Attributes

dict _move_evaluator_type_converter
 

Detailed Description

Definition at line 8 of file game_summary_converter.py.

Constructor & Destructor Documentation

◆ __init__()

def xiangqipy.game_summary_converter.CorePlayerSpecToPyPlayerSummaryConverter.__init__ (   self,
xb.PlayerSpec  core_player_spec,
xb.SearchSummaries  core_search_summaries 
)

Definition at line 15 of file game_summary_converter.py.

Member Function Documentation

◆ convert()

pps.PlayerSummary xiangqipy.game_summary_converter.CorePlayerSpecToPyPlayerSummaryConverter.convert (   self)

Definition at line 59 of file game_summary_converter.py.

◆ py_color()

xb.PieceColor xiangqipy.game_summary_converter.CorePlayerSpecToPyPlayerSummaryConverter.py_color (   self)

Definition at line 24 of file game_summary_converter.py.

◆ py_max_search_depth()

int xiangqipy.game_summary_converter.CorePlayerSpecToPyPlayerSummaryConverter.py_max_search_depth (   self)

Definition at line 41 of file game_summary_converter.py.

◆ py_move_evaluator_type()

pen.EvaluatorType xiangqipy.game_summary_converter.CorePlayerSpecToPyPlayerSummaryConverter.py_move_evaluator_type (   self)

Definition at line 35 of file game_summary_converter.py.

◆ py_player_type()

pen.PlayerType xiangqipy.game_summary_converter.CorePlayerSpecToPyPlayerSummaryConverter.py_player_type (   self)

Definition at line 28 of file game_summary_converter.py.

◆ py_search_summaries()

cdm.SearchSummaries xiangqipy.game_summary_converter.CorePlayerSpecToPyPlayerSummaryConverter.py_search_summaries (   self)

Definition at line 53 of file game_summary_converter.py.

◆ py_zkeys_seed()

int xiangqipy.game_summary_converter.CorePlayerSpecToPyPlayerSummaryConverter.py_zkeys_seed (   self)

Definition at line 49 of file game_summary_converter.py.

◆ py_zobrist_key_size()

int xiangqipy.game_summary_converter.CorePlayerSpecToPyPlayerSummaryConverter.py_zobrist_key_size (   self)

Definition at line 45 of file game_summary_converter.py.

Member Data Documentation

◆ _move_evaluator_type_converter

dict xiangqipy.game_summary_converter.CorePlayerSpecToPyPlayerSummaryConverter._move_evaluator_type_converter
staticprotected
Initial value:
= {
xb.EvaluatorType.kHuman: pen.EvaluatorType.NULL,
xb.EvaluatorType.kRandom: pen.EvaluatorType.RANDOM,
xb.EvaluatorType.kMinimax: pen.EvaluatorType.MINIMAX,
}

Definition at line 9 of file game_summary_converter.py.

◆ core_player_spec

xiangqipy.game_summary_converter.CorePlayerSpecToPyPlayerSummaryConverter.core_player_spec

Definition at line 20 of file game_summary_converter.py.

◆ core_search_summaries

xiangqipy.game_summary_converter.CorePlayerSpecToPyPlayerSummaryConverter.core_search_summaries

Definition at line 21 of file game_summary_converter.py.


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