|
CellModules
|
Functions | |
| static std::uniform_real_distribution< double > | probaGen (0., 1.) |
| @ignore More... | |
| static std::mt19937 | engine () |
| static void | initRandomSeed (int seed=clock()) |
| Initializes the random seed. More... | |
| static double | getProba () |
| Generates a random probability between 0 and 1. More... | |
| static double | getUniformDouble (double min, double max) |
| Generates a random double in a uniform distribution. More... | |
| static int | getUniformInt (int min, int max) |
| Generates a random integer in a uniform distribution. More... | |
| static double | getNormalDouble (double mean, double var) |
| Generates a random double in a normal distribution. More... | |
| static double | getExponentialDouble (double lambda) |
| Generates a random double in an exponential distribution. More... | |
| static double | getBoundedNormalDouble (double mean, double bound) |
| Generates a random double in a bounded normal distribution. More... | |
| static double | getLinearDouble (std::vector< std::pair< double, double > > values) |
| Generates a random double in a piecewise linear distribution. More... | |
| static double | getLogNormalDouble (double mu, double sigma2) |
| Generates a random double in a log-normal distribution. More... | |
| static double | getLogNormalDoubleMeanStd (double mean, double std) |
| Generates a random double in a log-normal distribution using mean and standard deviation. More... | |
|
inlinestatic |
Definition at line 16 of file RandomManager.hpp.
|
inlinestatic |
Generates a random double in a bounded normal distribution.
| mean | The mean of the distribution. |
| bound | The bound of the distribution. |
Definition at line 87 of file RandomManager.hpp.
|
inlinestatic |
Generates a random double in an exponential distribution.
| lambda | The rate parameter of the distribution. |
Definition at line 75 of file RandomManager.hpp.
|
inlinestatic |
Generates a random double in a piecewise linear distribution.
| values | A vector of pairs representing the intervals and weights. |
Definition at line 98 of file RandomManager.hpp.
|
inlinestatic |
Generates a random double in a log-normal distribution.
| mu | The mean of the underlying normal distribution. |
| sigma2 | The variance of the underlying normal distribution. |
Definition at line 116 of file RandomManager.hpp.
|
inlinestatic |
Generates a random double in a log-normal distribution using mean and standard deviation.
| mean | The mean of the distribution. |
| std | The standard deviation of the distribution. |
Definition at line 128 of file RandomManager.hpp.
|
inlinestatic |
Generates a random double in a normal distribution.
| mean | The mean of the distribution. |
| var | The variance of the distribution. |
Definition at line 64 of file RandomManager.hpp.
|
inlinestatic |
Generates a random probability between 0 and 1.
Definition at line 31 of file RandomManager.hpp.
|
inlinestatic |
Generates a random double in a uniform distribution.
| min | The minimum value. |
| max | The maximum value. |
Definition at line 40 of file RandomManager.hpp.
|
inlinestatic |
Generates a random integer in a uniform distribution.
| min | The minimum value. |
| max | The maximum value. |
Definition at line 52 of file RandomManager.hpp.
|
inlinestatic |
Initializes the random seed.
| seed | The seed value. Defaults to the current clock value. |
Definition at line 24 of file RandomManager.hpp.
|
static |
@ignore