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

Generates random integers (not pseudorandom) using std::random_device. More...

#include <key_generator.hpp>

Collaboration diagram for boardstate::RandomKeyGenerator< IntType >:
Collaboration graph

Public Member Functions

IntType GenerateKey ()
 

Private Attributes

std::random_device rd_
 

Detailed Description

template<typename IntType>
class boardstate::RandomKeyGenerator< IntType >

Generates random integers (not pseudorandom) using std::random_device.

Definition at line 52 of file key_generator.hpp.

Member Function Documentation

◆ GenerateKey()

template<typename IntType >
IntType boardstate::RandomKeyGenerator< IntType >::GenerateKey ( )
inline

Definition at line 54 of file key_generator.hpp.

Member Data Documentation

◆ rd_

template<typename IntType >
std::random_device boardstate::RandomKeyGenerator< IntType >::rd_
private

Definition at line 66 of file key_generator.hpp.


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