Xiangiqgame
AI engine for Xiangqi
Loading...
Searching...
No Matches
game::PlayerSpec Struct Reference

#include <game_data_structs.hpp>

Collaboration diagram for game::PlayerSpec:
Collaboration graph

Public Member Functions

 PlayerSpec (gameboard::PieceColor color, EvaluatorType evaluator_type=EvaluatorType::kMinimax, size_t zobrist_key_size_bits=64, size_t zobrist_calculator_count=2, DepthType minimax_search_depth=4, uint32_t zkeys_seed=std::random_device{}())
 

Public Attributes

gameboard::PieceColor color
 
EvaluatorType evaluator_type
 
size_t zobrist_key_size_bits
 
size_t zobrist_calculator_count
 
DepthType minimax_search_depth
 
uint32_t zkeys_seed
 

Detailed Description

Definition at line 44 of file game_data_structs.hpp.

Constructor & Destructor Documentation

◆ PlayerSpec()

game::PlayerSpec::PlayerSpec ( gameboard::PieceColor  color,
EvaluatorType  evaluator_type = EvaluatorType::kMinimax,
size_t  zobrist_key_size_bits = 64,
size_t  zobrist_calculator_count = 2,
DepthType  minimax_search_depth = 4,
uint32_t  zkeys_seed = std::random_device{}() 
)
inline

Definition at line 52 of file game_data_structs.hpp.

Member Data Documentation

◆ color

gameboard::PieceColor game::PlayerSpec::color

Definition at line 45 of file game_data_structs.hpp.

◆ evaluator_type

EvaluatorType game::PlayerSpec::evaluator_type

Definition at line 46 of file game_data_structs.hpp.

◆ minimax_search_depth

DepthType game::PlayerSpec::minimax_search_depth

Definition at line 49 of file game_data_structs.hpp.

◆ zkeys_seed

uint32_t game::PlayerSpec::zkeys_seed

Definition at line 50 of file game_data_structs.hpp.

◆ zobrist_calculator_count

size_t game::PlayerSpec::zobrist_calculator_count

Definition at line 48 of file game_data_structs.hpp.

◆ zobrist_key_size_bits

size_t game::PlayerSpec::zobrist_key_size_bits

Definition at line 47 of file game_data_structs.hpp.


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