Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

SNormalDist Class Reference

#include <SNormalDist.h>

Inherits SProbabilityDist.

Inheritance diagram for SNormalDist:

Inheritance graph
[legend]
List of all members.

Public Types

enum  Type {
  CONST, UNIFORM, GEOMETRIC, BINOMIAL,
  POISSON, EXPONENTIAL, BURSTY, SELFSIMILAR,
  NORMAL, PARETO
}

Public Methods

 SNormalDist (double exp, double var)
 SNormalDist (const SNormalDist &rU)
virtual double getValue ()
virtual Type getType () const
virtual double getExpectation () const
virtual double getVariance () const

Protected Attributes

double _e
double _v
double buf
bool filled

Static Protected Attributes

leda_random_source _rndSrc

Detailed Description

Author:
LEA / TUM


Member Enumeration Documentation

enum SProbabilityDist::Type [inherited]
 

Type of probability distribution: (CONST states that result is always the same, i.e. constant)

Enumeration values:
CONST 
UNIFORM 
GEOMETRIC 
BINOMIAL 
POISSON 
EXPONENTIAL 
BURSTY 
SELFSIMILAR 
NORMAL 
PARETO 


Constructor & Destructor Documentation

SNormalDist::SNormalDist double    exp,
double    var
[inline]
 

This class generates normal distributed random values which are created with the polar method

SNormalDist::SNormalDist const SNormalDist &    rU [inline]
 

Copy constructor


Member Function Documentation

virtual double SNormalDist::getExpectation   const [inline, virtual]
 

Implements SProbabilityDist.

virtual Type SNormalDist::getType   const [inline, virtual]
 

Get type of probability distribution

Returns:
Normal

Implements SProbabilityDist.

double SNormalDist::getValue   [virtual]
 

Get a Normal distributed random value

Returns:
value

Implements SProbabilityDist.

virtual double SNormalDist::getVariance   const [inline, virtual]
 


Member Data Documentation

double SNormalDist::_e [protected]
 

leda_random_source SProbabilityDist::_rndSrc [static, protected, inherited]
 

double SNormalDist::_v [protected]
 

double SNormalDist::buf [protected]
 

bool SNormalDist::filled [protected]
 


The documentation for this class was generated from the following files:
Generated on Thu May 22 16:50:50 2003 for Sketch-it! by doxygen1.2.18