Model scale random property. More...
#include <Randomiser.hh>
Public Member Functions | |
| ModelScale (IRandomSampler *sampler_, bool additive_, std::vector< std::string > &models_) | |
| Constructor. More... | |
| ~ModelScale () override | |
| Destructor. More... | |
| void | fillMsg (DRRequest &msg, DRInterface &api, std::mt19937 &gen, std::string &target) override |
| Fill DR request message. More... | |
Public Member Functions inherited from RandomProperty | |
| RandomProperty (IRandomSampler *sampler_, bool additive_) | |
| Constructor. More... | |
| virtual | ~RandomProperty () |
| Destructor. More... | |
Public Attributes | |
| std::vector< std::string > | models |
| List of affected models. More... | |
Public Attributes inherited from RandomProperty | |
| IRandomSampler * | sampler |
| Random distribution sampler. More... | |
| bool | additive |
| Whether term is additive or a scaling factor. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from RandomProperty | |
| static const char | CFG_TARGET_OBJ [] = "TARGET_OBJECT" |
| Target object yml keyword string. More... | |
Model scale random property.
| ModelScale | ( | IRandomSampler * | sampler_, |
| bool | additive_, | ||
| std::vector< std::string > & | models_ | ||
| ) |
Constructor.
| sampler_ | PRNG sampler |
| additive_ | Whether term is addictive or a scaling factor |
| models_ | List of affected models |
|
inlineoverride |
Destructor.
|
overridevirtual |
Fill DR request message.
| msg | DR request message |
| api | DR interface |
| gen | PRNG |
| target | Name of target object |
Reimplemented from RandomProperty.
| std::vector<std::string> models |
List of affected models.