#include <RandomWeightGenerator.h>
Public Member Functions | |
RandomWeightGenerator (double weightMin=RandomWeightGenerator::DEFAULT_MIN, double weightMax=RandomWeightGenerator::DEFAULT_MAX) | |
double | getWeight () |
Weight Generator for generating random weights
RandomWeightGenerator::RandomWeightGenerator | ( | double | weightMin = RandomWeightGenerator::DEFAULT_MIN , |
double | weightMax = RandomWeightGenerator::DEFAULT_MAX |
||
) |
Create new RandomWeightGenerator for generating weights in the interval [weightMin, weightMax)
weightMin | bottom limit of random interval |
weightMax | upper limit of random interval |
|
virtual |
Generate a new random weight
Inherits:
Get a new weight from the generator
Implements WeightGenerator.