Scheduler
uniformDistribution.cpp
Go to the documentation of this file.
1 
10 #include "uniformDistribution.h"
11 
12 #include <utils/randomGenerator.h>
13 
14 using namespace Utils;
15 
16 
18 {
19 }
20 
22 {
23  return gen->drawUniform(0.0, 1.0);
24 }
25 
26 
27 
UniformDistribution(RandomGenerator *gen)
Definition: context.h:16
double drawUniform(double min, double max)
double draw() override
returns a number from 0 to 1 following the underlying probability distribution