libFAUDES

Sections

Index

faudes::SimStochasticEventAttribute Class Reference
[Simulation Event Attributes]

#include <sp_simeventset.h>

List of all members.


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 75 of file 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.

Static Public Member Functions

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

Public Attributes

Type mType
Pdf mPdf
std::vector< double > mParameter
 Pdf parameters.

Member Enumeration Documentation

When to re-evaluate the random variable.

Enumerator:
Extern 
Trigger 
Delay 

Definition at line 79 of file sp_simeventset.h.

Pdf to use when evaluating the random variable.

Enumerator:
Exponential 
Uniform 
Gauss 
Vector 

Definition at line 91 of file sp_simeventset.h.


Member Function Documentation

static std::string faudes::SimStochasticEventAttribute::TStr ( Type  type  )  [inline, static]

Convert type to string.

Definition at line 83 of file sp_simeventset.h.

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

Equality operator.

Definition at line 98 of file sp_simeventset.h.


Member Data Documentation

Pdf parameters.

Definition at line 95 of file sp_simeventset.h.


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

libFAUDES 2.14g --- 2009-12-3 --- c++ source docu by doxygen 1.5.6