Random architecture model parameter value of type float.
More...
#include <PlantArchitecture.h>
Random architecture model parameter value of type float.
Definition at line 34 of file PlantArchitecture.h.
◆ RandomParameter_float() [1/3]
RandomParameter_float::RandomParameter_float |
( |
| ) |
|
|
inlineexplicit |
Constructor initializing to a constant default value of 0.
In order to make this a randomly varying parameter, the initialize() method must be called to set the random number generator.
Definition at line 40 of file PlantArchitecture.h.
◆ RandomParameter_float() [2/3]
RandomParameter_float::RandomParameter_float |
( |
float |
val | ) |
|
|
inlineexplicit |
Constructor initializing to a constant value.
In order to make this a randomly varying parameter, the initialize() method must be called to set the random number generator.
Definition at line 51 of file PlantArchitecture.h.
◆ RandomParameter_float() [3/3]
RandomParameter_float::RandomParameter_float |
( |
std::minstd_rand0 * |
rand_generator | ) |
|
|
inlineexplicit |
Constructor initializing the random number generator.
- Parameters
-
[in] | rand_generator | Pointer to a random number generator. Note: it is recommended to use the random number generator from the Context, which can be retrieved using the getContextRandomGenerator() method. |
Definition at line 62 of file PlantArchitecture.h.
◆ initialize() [1/2]
void RandomParameter_float::initialize |
( |
float |
a_val, |
|
|
std::minstd_rand0 * |
rand_generator |
|
) |
| |
|
inline |
◆ initialize() [2/2]
void RandomParameter_float::initialize |
( |
std::minstd_rand0 * |
rand_generator | ) |
|
|
inline |
◆ normalDistribution()
void RandomParameter_float::normalDistribution |
( |
float |
mean, |
|
|
float |
std_dev |
|
) |
| |
|
inline |
◆ operator=()
◆ resample()
float RandomParameter_float::resample |
( |
| ) |
|
|
inline |
◆ uniformDistribution()
void RandomParameter_float::uniformDistribution |
( |
float |
minval, |
|
|
float |
maxval |
|
) |
| |
|
inline |
◆ val()
float RandomParameter_float::val |
( |
| ) |
|
|
inline |
◆ weibullDistribution()
void RandomParameter_float::weibullDistribution |
( |
float |
shape, |
|
|
float |
scale |
|
) |
| |
|
inline |
◆ distribution
std::string RandomParameter_float::distribution |
◆ distribution_parameters
std::vector<float> RandomParameter_float::distribution_parameters |
The documentation for this struct was generated from the following file: