OSFEG-C++
1.4.6
OpenSF Error Generation Library
|
#include <Stochastic.h>
Public Member Functions | |
Stochastic (string type, int32_t seed) | |
~Stochastic () | |
double | getValue (double time) |
void | setSeed (int32_t seed) |
void | reset () |
![]() | |
Composite () | |
Composite (const Composite &)=delete | |
Composite & | operator= (const Composite &)=delete |
Composite (Composite &&)=default | |
Composite & | operator= (Composite &&)=default |
virtual | ~Composite () |
void | add (Composite *node) |
void | remove (Composite *node) |
Composite * | getChild (int index) |
bool | hasChildNodes () const |
Additional Inherited Members | |
![]() | |
std::vector< Composite * > | children |
Composite * | parent |
Calculates a perturbation modeled as a random stochastic process. This class implements functions that return the random variate value with pdf:
Stochastic::Stochastic | ( | string | type, |
int32_t | seed | ||
) |
Stochastic class constructor.
type | String with the error type description. |
seed | Seed needed to generate a random number. |
Stochastic::~Stochastic | ( | ) |
Stochastic class destructor
|
virtual |
void Stochastic::reset | ( | ) |
Resets the seed in the random variate engine.
void Stochastic::setSeed | ( | int32_t | seed | ) |
Sets the seed in the random variate engine.