17 #ifndef _IGNITION_RAND_HH_
18 #define _IGNITION_RAND_HH_
49 public:
static void Seed(
unsigned int _seed);
54 public:
static unsigned int Seed();
59 public:
static double DblUniform(
double _min = 0,
double _max = 1);
64 public:
static double DblNormal(
double _mean = 0,
double _sigma = 1);
69 public:
static int32_t IntUniform(
int _min,
int _max);
74 public:
static int32_t IntNormal(
int _mean,
int _sigma);
80 private:
static uint32_t seed;
std::uniform_int_distribution< int32_t > UniformIntDist
Definition: Rand.hh:40
#define IGNITION_VISIBLE
Use to represent "symbol visible" if supported.
Definition: Helpers.hh:346
Random number generator class.
Definition: Rand.hh:44
std::mt19937 GeneratorType
Definition: Rand.hh:31
std::normal_distribution< double > NormalRealDist
Definition: Rand.hh:37
std::uniform_real_distribution< double > UniformRealDist
Definition: Rand.hh:34