Xiangiqgame
AI engine for Xiangqi
Loading...
Searching...
No Matches
boardstate::ZobristCoordinatorForConcepts< M > Class Template Reference

#include <zobrist_for_concepts.hpp>

Collaboration diagram for boardstate::ZobristCoordinatorForConcepts< M >:
Collaboration graph

Public Types

using KeyType = typename M::KeyType
 

Public Member Functions

KeyType GetState ()
 
void RecordTrData (DepthType search_depth, moveselection::MinimaxResultType result_type, moveselection::EqualScoreMoves &similar_moves, MoveCountType access_index)
 
moveselection::TranspositionTableSearchResult GetTrData (DepthType search_depth, MoveCountType access_index)
 
size_t GetTrTableSize ()
 
void UpdateMoveCounter ()
 
const std::string board_state_hex_str ()
 
uint32_t zkeys_seed ()
 

Static Public Member Functions

static std::shared_ptr< ZobristCoordinatorForConcepts< M > > Create (std::shared_ptr< M > zobrist_component)
 

Static Public Attributes

static size_t constexpr NumConfKeys = M::NumConfKeys
 

Private Member Functions

 ZobristCoordinatorForConcepts (std::shared_ptr< M > zobrist_component)
 

Private Attributes

std::shared_ptr< M > zobrist_component_
 
TranspositionTableForConcepts< KeyType, M::NumConfKeys > tr_table_
 
TranspositionTableGuardForConcepts tr_table_guard_
 
TranspositionTablePrunerForConcepts< KeyType, M::NumConfKeys > tr_table_pruner_
 

Detailed Description

template<MultiBoardStateProviderConcept M>
class boardstate::ZobristCoordinatorForConcepts< M >

Definition at line 306 of file zobrist_for_concepts.hpp.

Member Typedef Documentation

◆ KeyType

using boardstate::ZobristCoordinatorForConcepts< M >::KeyType = typename M::KeyType

Definition at line 308 of file zobrist_for_concepts.hpp.

Constructor & Destructor Documentation

◆ ZobristCoordinatorForConcepts()

boardstate::ZobristCoordinatorForConcepts< M >::ZobristCoordinatorForConcepts ( std::shared_ptr< M >  zobrist_component)
inlineprivate

Definition at line 366 of file zobrist_for_concepts.hpp.

Member Function Documentation

◆ board_state_hex_str()

const std::string boardstate::ZobristCoordinatorForConcepts< M >::board_state_hex_str ( )
inline

Definition at line 359 of file zobrist_for_concepts.hpp.

◆ Create()

static std::shared_ptr< ZobristCoordinatorForConcepts< M > > boardstate::ZobristCoordinatorForConcepts< M >::Create ( std::shared_ptr< M >  zobrist_component)
inlinestatic

Definition at line 319 of file zobrist_for_concepts.hpp.

◆ GetState()

Definition at line 327 of file zobrist_for_concepts.hpp.

◆ GetTrData()

◆ GetTrTableSize()

size_t boardstate::ZobristCoordinatorForConcepts< M >::GetTrTableSize ( )
inline

Definition at line 352 of file zobrist_for_concepts.hpp.

◆ RecordTrData()

void boardstate::ZobristCoordinatorForConcepts< M >::RecordTrData ( DepthType  search_depth,
moveselection::MinimaxResultType  result_type,
moveselection::EqualScoreMoves similar_moves,
MoveCountType  access_index 
)
inline

Definition at line 328 of file zobrist_for_concepts.hpp.

◆ UpdateMoveCounter()

void boardstate::ZobristCoordinatorForConcepts< M >::UpdateMoveCounter ( )
inline

Definition at line 354 of file zobrist_for_concepts.hpp.

◆ zkeys_seed()

uint32_t boardstate::ZobristCoordinatorForConcepts< M >::zkeys_seed ( )
inline

Definition at line 363 of file zobrist_for_concepts.hpp.

Member Data Documentation

◆ NumConfKeys

size_t constexpr boardstate::ZobristCoordinatorForConcepts< M >::NumConfKeys = M::NumConfKeys
staticconstexpr

Definition at line 309 of file zobrist_for_concepts.hpp.

◆ tr_table_

◆ tr_table_guard_

◆ tr_table_pruner_

Definition at line 315 of file zobrist_for_concepts.hpp.

◆ zobrist_component_

std::shared_ptr<M> boardstate::ZobristCoordinatorForConcepts< M >::zobrist_component_
private

Definition at line 312 of file zobrist_for_concepts.hpp.


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