PinkGenerator Class Reference

TODO. More...

#include <PinkGenerator.h>

Collaboration diagram for PinkGenerator:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 PinkGenerator (int numGen=3)
virtual ~PinkGenerator ()
virtual void setNumGen (int numGen=3)
virtual int reset ()
 Reset the Generator.
virtual int adjust (double dt)
virtual void advance ()
 Advance the Generator.
double getValue ()
 Get the current Value.
double operator() ()

Protected Attributes

double value
int nGen
double randreg [5]

Static Protected Attributes

static double av [3][5]
static double pv [3][5]
static UniformDistribution white_noise
static MersenneTwister19937 mt


Detailed Description

TODO.

TODO

Definition at line 15 of file PinkGenerator.h.


Constructor & Destructor Documentation

PinkGenerator::PinkGenerator ( int  numGen = 3  ) 

Definition at line 17 of file PinkGenerator.cpp.

References setNumGen().

Here is the call graph for this function:

PinkGenerator::~PinkGenerator (  )  [virtual]

Definition at line 33 of file PinkGenerator.cpp.


Member Function Documentation

void PinkGenerator::setNumGen ( int  numGen = 3  )  [virtual]

Definition at line 23 of file PinkGenerator.cpp.

References nGen, and reset().

Referenced by PinkGenerator().

Here is the call graph for this function:

int PinkGenerator::reset (  )  [virtual]

Reset the Generator.

Definition at line 45 of file PinkGenerator.cpp.

References av, mt, nGen, randreg, and white_noise.

Referenced by setNumGen().

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

Definition at line 38 of file PinkGenerator.cpp.

void PinkGenerator::advance (  )  [virtual]

Advance the Generator.

Definition at line 55 of file PinkGenerator.cpp.

References av, mt, nGen, pv, randreg, value, and white_noise.

Referenced by operator()().

double PinkGenerator::getValue (  )  [inline]

Get the current Value.

Definition at line 41 of file PinkGenerator.h.

References value.

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

Definition at line 46 of file PinkGenerator.h.

References advance(), and value.

Here is the call graph for this function:


Member Data Documentation

Definition at line 18 of file PinkGenerator.h.

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

int PinkGenerator::nGen [protected]

Definition at line 19 of file PinkGenerator.h.

Referenced by advance(), reset(), and setNumGen().

double PinkGenerator::av [static, protected]

Initial value:

 {{4.3606e-3, 5.9961e-3, 8.3586e-3, 0.0, 0.0},
                                  {0.0100, 0.00763, 0.00832, 0.01036, 0.0},
                                  {0.00224, 0.00821, 0.00798, 0.00694, 0.00992}}

Definition at line 21 of file PinkGenerator.h.

Referenced by advance(), and reset().

double PinkGenerator::pv [static, protected]

Initial value:

 {{3.1878e-1, 7.7686e-1, 9.7785e-1, 0.0, 0.0},
                                  {0.3030, 0.74170, 0.91680, 0.97820, 0.0},
                                  {0.15571, 0.30194, 0.74115, 0.93003, 0.98035}}

Definition at line 22 of file PinkGenerator.h.

Referenced by advance().

Definition at line 24 of file PinkGenerator.h.

Referenced by advance(), and reset().

Definition at line 56 of file PinkGenerator.h.

Referenced by advance(), and reset().

Definition at line 57 of file PinkGenerator.h.

Referenced by advance(), and reset().


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