#include <ConstantWeightGenerator.h>
Public Member Functions | |
| ConstantWeightGenerator (double weight) | |
| double | getWeight () |
WeightGenerator that always outputs a constant weight
| ConstantWeightGenerator::ConstantWeightGenerator | ( | double | weight | ) |
Create a new ConstantWeightGenerator that always outputs weight
| weight | the constant weight to output |
|
virtual |
Get the constant weight
Inherits:
Get a new weight from the generator
Implements WeightGenerator.
1.8.6