Xiangiqgame
AI engine for Xiangqi
Loading...
Searching...
No Matches
boardstate::ZobristCoordinatorFactory< KeyType, NumConfKeys, G > Class Template Reference

#include <zobrist_factories.hpp>

Collaboration diagram for boardstate::ZobristCoordinatorFactory< KeyType, NumConfKeys, G >:
Collaboration graph

Public Types

using ZobristCalculatorType = ZobristCalculatorForConcepts< KeyType >
 
using ZobristComponentFactoryType = ZobristComponentFactory< KeyType, NumConfKeys, G >
 
using ZobristComponentType = ZobristComponentForConcepts< ZobristCalculatorType, NumConfKeys >
 
using ZobristCoordinatorType = ZobristCoordinatorForConcepts< ZobristComponentType >
 

Public Member Functions

std::shared_ptr< ZobristCoordinatorTypeCreateRegisteredCoordinator (std::shared_ptr< G > game_board, uint32_t zobrist_component_seed=std::random_device{}())
 

Private Attributes

ZobristComponentFactoryType zobrist_component_factory_
 

Detailed Description

template<typename KeyType, size_t NumConfKeys, BoardStateCalculatorRegistryConcept G>
class boardstate::ZobristCoordinatorFactory< KeyType, NumConfKeys, G >

Definition at line 114 of file zobrist_factories.hpp.

Member Typedef Documentation

◆ ZobristCalculatorType

template<typename KeyType , size_t NumConfKeys, BoardStateCalculatorRegistryConcept G>
using boardstate::ZobristCoordinatorFactory< KeyType, NumConfKeys, G >::ZobristCalculatorType = ZobristCalculatorForConcepts<KeyType>

Definition at line 116 of file zobrist_factories.hpp.

◆ ZobristComponentFactoryType

template<typename KeyType , size_t NumConfKeys, BoardStateCalculatorRegistryConcept G>
using boardstate::ZobristCoordinatorFactory< KeyType, NumConfKeys, G >::ZobristComponentFactoryType = ZobristComponentFactory<KeyType, NumConfKeys, G>

Definition at line 117 of file zobrist_factories.hpp.

◆ ZobristComponentType

template<typename KeyType , size_t NumConfKeys, BoardStateCalculatorRegistryConcept G>
using boardstate::ZobristCoordinatorFactory< KeyType, NumConfKeys, G >::ZobristComponentType = ZobristComponentForConcepts<ZobristCalculatorType, NumConfKeys>

Definition at line 118 of file zobrist_factories.hpp.

◆ ZobristCoordinatorType

template<typename KeyType , size_t NumConfKeys, BoardStateCalculatorRegistryConcept G>
using boardstate::ZobristCoordinatorFactory< KeyType, NumConfKeys, G >::ZobristCoordinatorType = ZobristCoordinatorForConcepts<ZobristComponentType>

Definition at line 120 of file zobrist_factories.hpp.

Member Function Documentation

◆ CreateRegisteredCoordinator()

template<typename KeyType , size_t NumConfKeys, BoardStateCalculatorRegistryConcept G>
std::shared_ptr< ZobristCoordinatorType > boardstate::ZobristCoordinatorFactory< KeyType, NumConfKeys, G >::CreateRegisteredCoordinator ( std::shared_ptr< G >  game_board,
uint32_t  zobrist_component_seed = std::random_device{}() 
)
inline

Definition at line 122 of file zobrist_factories.hpp.

Member Data Documentation

◆ zobrist_component_factory_

template<typename KeyType , size_t NumConfKeys, BoardStateCalculatorRegistryConcept G>
ZobristComponentFactoryType boardstate::ZobristCoordinatorFactory< KeyType, NumConfKeys, G >::zobrist_component_factory_
private

Definition at line 136 of file zobrist_factories.hpp.


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