DUNE: Uniform Navigational Environment  2019.02.0
DUNE::Math::Random::Factory Class Reference

Detailed Description

Factory of PRNGS.

Static Public Member Functions

static Generatorcreate (const std::string &id, int32_t seed=-1)
 

Static Public Attributes

static const char * c_drand48
 
static const char * c_fsr256
 
static const char * c_default
 
static const char * c_mt19937
 
static const char * c_krng
 

Member Function Documentation

Generator * DUNE::Math::Random::Factory::create ( const std::string &  id,
int32_t  seed = -1 
)
static

Member Data Documentation

const char * DUNE::Math::Random::Factory::c_default
static

"fsr256"

const char * DUNE::Math::Random::Factory::c_drand48
static

"drand48"

const char * DUNE::Math::Random::Factory::c_fsr256
static

"fsr256"

const char * DUNE::Math::Random::Factory::c_krng
static

"krng"

Referenced by create().

const char * DUNE::Math::Random::Factory::c_mt19937
static

"mt19337"

Collaboration diagram for DUNE::Math::Random::Factory:
Collaboration graph