SUMO - Simulation of Urban MObility
MSDriverState::OUProcess Class Reference

An Ornstein-Uhlenbeck stochastic process. More...

#include <MSDriverState.h>

Collaboration diagram for MSDriverState::OUProcess:
Collaboration graph

Public Member Functions

double getState () const
 Obtain the current state of the process. More...
 
 OUProcess (double initialState, double timeScale, double noiseIntensity)
 constructor More...
 
void setNoiseIntensity (double noiseIntensity)
 set the process' noise intensity to a new value More...
 
void setState (double state)
 set the process' state to a new value More...
 
void setTimeScale (double timeScale)
 set the process' timescale to a new value More...
 
void step (double dt)
 evolve for a time step of length dt. More...
 
 ~OUProcess ()
 destructor More...
 

Private Attributes

double myNoiseIntensity
 The noise intensity of the process. More...
 
double myState
 The current state of the process. More...
 
double myTimeScale
 The time scale of the process. More...
 

Detailed Description

An Ornstein-Uhlenbeck stochastic process.

Definition at line 120 of file MSDriverState.h.

Constructor & Destructor Documentation

MSDriverState::OUProcess::OUProcess ( double  initialState,
double  timeScale,
double  noiseIntensity 
)

constructor

Definition at line 97 of file MSDriverState.cpp.

MSDriverState::OUProcess::~OUProcess ( )

destructor

Definition at line 103 of file MSDriverState.cpp.

Member Function Documentation

void MSDriverState::OUProcess::setNoiseIntensity ( double  noiseIntensity)
inline

set the process' noise intensity to a new value

Definition at line 136 of file MSDriverState.h.

Referenced by MSDriverState::updateErrorProcess().

void MSDriverState::OUProcess::setState ( double  state)
inline

set the process' state to a new value

Definition at line 142 of file MSDriverState.h.

Referenced by MSDriverState::updateErrorProcess().

void MSDriverState::OUProcess::setTimeScale ( double  timeScale)
inline

set the process' timescale to a new value

Definition at line 131 of file MSDriverState.h.

Referenced by MSDriverState::updateErrorProcess().

void MSDriverState::OUProcess::step ( double  dt)

evolve for a time step of length dt.

Definition at line 107 of file MSDriverState.cpp.

References myNoiseIntensity, myState, myTimeScale, and RandHelper::randNorm().

Referenced by MSDriverState::updateErrorProcess().

Field Documentation

double MSDriverState::OUProcess::myNoiseIntensity
private

The noise intensity of the process.

Definition at line 160 of file MSDriverState.h.

Referenced by step().

double MSDriverState::OUProcess::myState
private

The current state of the process.

Definition at line 152 of file MSDriverState.h.

Referenced by getState(), and step().

double MSDriverState::OUProcess::myTimeScale
private

The time scale of the process.

Definition at line 156 of file MSDriverState.h.

Referenced by step().


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