29 std::uniform_int_distribution<> dist(min, max);
34 std::normal_distribution<> norm {mean, sd};
35 return static_cast<int>(round(norm(
random_gen)));
Definition: stdrandom.h:24
int GetRandomNormal(double mean, double sd)
Definition: stdrandom.h:33
std::mt19937 random_gen
Definition: stdrandom.h:39
StdRandom(int _seed)
Definition: stdrandom.h:26
int GetRandomInt(int min, int max)
Definition: stdrandom.h:28
Definition: logging.cpp:55