1 #ifndef RANDOM_WEIGHT_GENERATOR_H
2 #define RANDOM_WEIGHT_GENERATOR_H
6 #include "WeightGenerator.h"
13 std::default_random_engine engine;
14 std::uniform_real_distribution<double> dist;
17 constexpr
static double DEFAULT_MIN = -1.0;
18 constexpr
static double DEFAULT_MAX = 1.0;
28 double weightMin = RandomWeightGenerator::DEFAULT_MIN,
29 double weightMax = RandomWeightGenerator::DEFAULT_MAX);
39 #endif // RANDOM_WEIGHT_GENERATOR_H
double getWeight()
Definition: RandomWeightGenerator.cpp:7
RandomWeightGenerator(double weightMin=RandomWeightGenerator::DEFAULT_MIN, double weightMax=RandomWeightGenerator::DEFAULT_MAX)
Definition: RandomWeightGenerator.cpp:3
Definition: WeightGenerator.h:7
Definition: RandomWeightGenerator.h:11