Xiangiqgame
AI engine for Xiangqi
Loading...
Searching...
No Matches
terminalout::PlayerReporter Class Reference

#include <terminal_output.hpp>

Collaboration diagram for terminalout::PlayerReporter:
Collaboration graph

Public Member Functions

 PlayerReporter (const game::PlayerSpec &player_spec)
 
std::string PlayerTypeStr ()
 
std::string EvaluatorTypeStr ()
 
std::string SearchDepthStr ()
 
std::string ZobristKeySizeStr ()
 
std::string SummaryStr ()
 

Private Attributes

const game::PlayerSpecplayer_spec_
 

Static Private Attributes

static const std::unordered_map< game::EvaluatorType, std::string > evaluator_to_player_type_
 
static const std::unordered_map< game::EvaluatorType, std::string > evaluator_names_
 
static const std::unordered_map< game::ZobristKeyType, std::string > key_type_strings_
 

Detailed Description

Definition at line 14 of file terminal_output.hpp.

Constructor & Destructor Documentation

◆ PlayerReporter()

terminalout::PlayerReporter::PlayerReporter ( const game::PlayerSpec player_spec)

Definition at line 32 of file terminal_output.cpp.

Member Function Documentation

◆ EvaluatorTypeStr()

std::string terminalout::PlayerReporter::EvaluatorTypeStr ( )

Definition at line 39 of file terminal_output.cpp.

◆ PlayerTypeStr()

std::string terminalout::PlayerReporter::PlayerTypeStr ( )

Definition at line 35 of file terminal_output.cpp.

◆ SearchDepthStr()

std::string terminalout::PlayerReporter::SearchDepthStr ( )

Definition at line 43 of file terminal_output.cpp.

◆ SummaryStr()

std::string terminalout::PlayerReporter::SummaryStr ( )

Definition at line 54 of file terminal_output.cpp.

◆ ZobristKeySizeStr()

std::string terminalout::PlayerReporter::ZobristKeySizeStr ( )

Definition at line 47 of file terminal_output.cpp.

Member Data Documentation

◆ evaluator_names_

const std::unordered_map< game::EvaluatorType, std::string > terminalout::PlayerReporter::evaluator_names_
staticprivate
Initial value:

Definition at line 29 of file terminal_output.hpp.

◆ evaluator_to_player_type_

const std::unordered_map< game::EvaluatorType, std::string > terminalout::PlayerReporter::evaluator_to_player_type_
staticprivate
Initial value:

Definition at line 28 of file terminal_output.hpp.

◆ key_type_strings_

const std::unordered_map< game::ZobristKeyType, std::string > terminalout::PlayerReporter::key_type_strings_
staticprivate

◆ player_spec_

const game::PlayerSpec& terminalout::PlayerReporter::player_spec_
private

Definition at line 15 of file terminal_output.hpp.


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