Scheduler
uniformDistribution.h
Go to the documentation of this file.
1 
10 #ifndef UNIFORM_DISTRIBUTION_H
11 #define UNIFORM_DISTRIBUTION_H
12 
14 
15 namespace Utils
16 {
17 
18 class RandomGenerator;
19 
20 
22 {
23 public:
25  double draw() override;
26 private:
27  RandomGenerator *gen{nullptr};
28 };
29 
30 }
31 
32 #endif
UniformDistribution(RandomGenerator *gen)
Definition: context.h:16
double draw() override
returns a number from 0 to 1 following the underlying probability distribution