ssmkit  master-68aed98
ssmkit::random Namespace Reference

Core random generators. More...

Classes

class  Generator
 A singleton wrapper of an instance of random generator. More...
 

Typedefs

typedef std::mt19937 CoreGenerator
 

Functions

void setRandomSeed ()
 Convenient function to set random seed for singleton generator object. More...
 
template<class TSeed >
void setSeed (TSeed seed)
 Convenient function to set seed for singleton generator object. More...
 

Detailed Description

Core random generators.

Typedef Documentation

typedef std::mt19937 CoreGenerator

Definition at line 15 of file generator.hpp.

Function Documentation

void ssmkit::random::setRandomSeed ( )
inline

Convenient function to set random seed for singleton generator object.

Definition at line 58 of file generator.hpp.

References Generator::get(), and Generator::setRandomSeed().

void ssmkit::random::setSeed ( TSeed  seed)

Convenient function to set seed for singleton generator object.

Definition at line 65 of file generator.hpp.

References Generator::get(), and Generator::setSeed().