OUGenerator Class Reference

#include <OUGenerator.h>

Inheritance diagram for OUGenerator:

Inheritance graph
[legend]
Collaboration diagram for OUGenerator:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 OUGenerator (double g0=0.012e-6, double sig=0.003e-6, double tau=2.7e-3, double dt=1e-4)
virtual ~OUGenerator ()
virtual int reset (double dt)
 Reset the Generator.
virtual int adjust (double dt)
virtual void advance ()
 Advance the process.
double getValue ()
 Get the current Value.
double operator() ()

Public Attributes

double g0
 The mean value of the noise process.
double sig
 Variance of the noise process.
double tau
 The time correlation constant.
double dt
 Integration time step.

Protected Attributes

double A
double C
double D
double value

Static Protected Attributes

static
ThreadSpecificRandomDistribution
< NormalDistribution
white_noise
 Random number generator.


Detailed Description

Ornstein Uhlenbeck Process

Definition at line 15 of file OUGenerator.h.


Constructor & Destructor Documentation

OUGenerator::OUGenerator ( double  g0 = 0.012e-6,
double  sig = 0.003e-6,
double  tau = 2.7e-3,
double  dt = 1e-4 
)

Definition at line 5 of file OUGenerator.cpp.

OUGenerator::~OUGenerator (  )  [virtual]

Definition at line 12 of file OUGenerator.cpp.


Member Function Documentation

int OUGenerator::reset ( double  dt  )  [virtual]

Reset the Generator.

Reimplemented in OUNoiseResponse.

Definition at line 28 of file OUGenerator.cpp.

References adjust(), g0, and value.

Referenced by OUNoiseResponse::reset().

Here is the call graph for this function:

int OUGenerator::adjust ( double  dt  )  [virtual]

Reimplemented in OUNoiseResponse.

Definition at line 17 of file OUGenerator.cpp.

References A, C, D, ThreadSpecificRandomDistribution< Dist >::set(), sig, tau, and white_noise.

Referenced by OUNoiseResponse::adjust(), and reset().

Here is the call graph for this function:

void OUGenerator::advance (  )  [virtual]

Advance the process.

Definition at line 36 of file OUGenerator.cpp.

References A, C, g0, value, and white_noise.

Referenced by operator()().

double OUGenerator::getValue (  )  [inline]

Get the current Value.

Definition at line 48 of file OUGenerator.h.

References value.

double OUGenerator::operator() (  )  [inline]

Definition at line 53 of file OUGenerator.h.

References advance(), and value.

Referenced by OUNoiseResponse::advance().

Here is the call graph for this function:


Member Data Documentation

The mean value of the noise process.

Definition at line 19 of file OUGenerator.h.

Referenced by advance(), OUNoiseSynapse::OUNoiseSynapse(), and reset().

Variance of the noise process.

Definition at line 21 of file OUGenerator.h.

Referenced by adjust(), and OUNoiseSynapse::OUNoiseSynapse().

The time correlation constant.

Definition at line 23 of file OUGenerator.h.

Referenced by adjust(), and OUNoiseSynapse::OUNoiseSynapse().

Integration time step.

Definition at line 26 of file OUGenerator.h.

double OUGenerator::A [protected]

Definition at line 30 of file OUGenerator.h.

Referenced by adjust(), and advance().

double OUGenerator::C [protected]

Definition at line 30 of file OUGenerator.h.

Referenced by adjust(), and advance().

double OUGenerator::D [protected]

Definition at line 30 of file OUGenerator.h.

Referenced by adjust().

Definition at line 32 of file OUGenerator.h.

Referenced by advance(), getValue(), operator()(), and reset().

Random number generator.

Definition at line 61 of file OUGenerator.h.

Referenced by adjust(), and advance().


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

Generated on Wed Jul 9 16:34:52 2008 for PCSIM by  doxygen 1.5.5