TwiceAsNice  2019-02-18
Public Member Functions | Private Types | Private Attributes | List of all members
Nice::RandomInit Class Reference
Collaboration diagram for Nice::RandomInit:
Collaboration graph

Public Member Functions

 RandomInit ()
 
int random ()
 

Private Types

typedef boost::minstd_rand base_generator_type
 
typedef boost::uniform_int distribution_type
 
typedef boost::variate_generator< base_generator_type &, distribution_typegen_type
 

Private Attributes

base_generator_type generator
 
gen_type die_gen
 
boost::uniform_int uni_dist
 
boost::variate_generator< base_generator_type &, boost::uniform_int<> > uni
 

Member Typedef Documentation

◆ base_generator_type

typedef boost::minstd_rand Nice::RandomInit::base_generator_type
private

◆ distribution_type

typedef boost::uniform_int Nice::RandomInit::distribution_type
private

◆ gen_type

typedef boost::variate_generator<base_generator_type&, distribution_type> Nice::RandomInit::gen_type
private

Constructor & Destructor Documentation

◆ RandomInit()

Nice::RandomInit::RandomInit ( )
inline

Member Function Documentation

◆ random()

int Nice::RandomInit::random ( )
inline

Member Data Documentation

◆ die_gen

gen_type Nice::RandomInit::die_gen
private

◆ generator

base_generator_type Nice::RandomInit::generator
private

◆ uni

boost::variate_generator<base_generator_type&, boost::uniform_int<> > Nice::RandomInit::uni
private

◆ uni_dist

boost::uniform_int Nice::RandomInit::uni_dist
private

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