![]() |
SUMO - Simulation of Urban MObility
|
An Ornstein-Uhlenbeck stochastic process. More...
#include <MSDriverState.h>

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... | |
An Ornstein-Uhlenbeck stochastic process.
Definition at line 120 of file MSDriverState.h.
| 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.
| double MSDriverState::OUProcess::getState | ( | ) | const |
Obtain the current state of the process.
Definition at line 119 of file MSDriverState.cpp.
References myState.
Referenced by MSDriverState::getAppliedAcceleration(), MSDriverState::getPerceivedHeadway(), MSDriverState::getPerceivedSpeedDifference(), MSDriverState::updateAccelerationError(), MSDriverState::updateHeadwayPerceptionError(), and MSDriverState::updateSpeedPerceptionError().
|
inline |
set the process' noise intensity to a new value
Definition at line 136 of file MSDriverState.h.
Referenced by MSDriverState::updateErrorProcess().
|
inline |
set the process' state to a new value
Definition at line 142 of file MSDriverState.h.
Referenced by MSDriverState::updateErrorProcess().
|
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().
|
private |
The noise intensity of the process.
Definition at line 160 of file MSDriverState.h.
Referenced by step().
|
private |
The current state of the process.
Definition at line 152 of file MSDriverState.h.
Referenced by getState(), and step().
|
private |
The time scale of the process.
Definition at line 156 of file MSDriverState.h.
Referenced by step().