Detailed Description

Defining data of stochastic behaviour.

The occurence of events with stochastic behaviour is scheduled by sampling a random variable. While the attribute class only holds the defining data, actual semantics are implemented in the ProposingExecutor.

The type indicates the mechanism for sampling the random variable and for scheduling the event.

  • Extern: the random variable models an external stochastic process.
  • Trigger: the random variable is used to narrow down the effective guard interval to a point.
  • Delay: the random variable models a delay relative to the time while the event is enabled.

The propability density function may be one of

  • Exponential
  • Uniform
  • Gauss
  • Vector (arbitrary discrete density, not implemented)

Definition at line 70 of file sp_simeventset.h.

#include <sp_simeventset.h>

Public Types

enum  Type { Extern , Trigger , Delay }
 When to re-evaluate the random variable. More...
 
enum  Pdf { Exponential , Uniform , Gauss , Vector }
 Pdf to use when evaluating the random variable. More...
 

Public Member Functions

bool operator== (const SimStochasticEventAttribute &rOther) const
 Equality operator. More...
 

Static Public Member Functions

static std::string TStr (Type type)
 Convert type to string. More...
 

Public Attributes

Type mType
 
Pdf mPdf
 
std::vector< FloatmParameter
 Pdf parameters. More...
 

Member Enumeration Documentation

◆ Pdf

Pdf to use when evaluating the random variable.

Enumerator
Exponential 
Uniform 
Gauss 
Vector 

Definition at line 86 of file sp_simeventset.h.

◆ Type

When to re-evaluate the random variable.

Enumerator
Extern 
Trigger 
Delay 

Definition at line 74 of file sp_simeventset.h.

Member Function Documentation

◆ operator==()

bool faudes::SimStochasticEventAttribute::operator== ( const SimStochasticEventAttribute rOther) const
inline

Equality operator.

Definition at line 93 of file sp_simeventset.h.

◆ TStr()

static std::string faudes::SimStochasticEventAttribute::TStr ( Type  type)
inlinestatic

Convert type to string.

Definition at line 78 of file sp_simeventset.h.

Member Data Documentation

◆ mParameter

std::vector<Float> faudes::SimStochasticEventAttribute::mParameter

Pdf parameters.

Definition at line 90 of file sp_simeventset.h.

◆ mPdf

Pdf faudes::SimStochasticEventAttribute::mPdf

Definition at line 87 of file sp_simeventset.h.

◆ mType

Type faudes::SimStochasticEventAttribute::mType

Definition at line 75 of file sp_simeventset.h.


The documentation for this class was generated from the following file:

libFAUDES 2.32b --- 2024.03.01 --- c++ api documentaion by doxygen