25 #include <boost/random.hpp>
47 typedef boost::variate_generator<GeneratorType&, UniformRealDist >
URealGen;
50 typedef boost::variate_generator<GeneratorType&, NormalRealDist >
NRealGen;
53 typedef boost::variate_generator<GeneratorType&, UniformIntDist >
UIntGen;
65 public:
static void SetSeed(uint32_t _seed);
70 public:
static uint32_t GetSeed();
75 public:
static double GetDblUniform(
double _min = 0,
double _max = 1);
80 public:
static double GetDblNormal(
double _mean = 0,
double _sigma = 1);
85 public:
static int GetIntUniform(
int _min,
int _max);
90 public:
static int GetIntNormal(
int _mean,
int _sigma);
95 private:
static uint32_t seed;