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

SExpDist Class Reference

#include <SExpDist.h>

Inherits SProbabilityDist.

Inheritance diagram for SExpDist:

Inheritance graph
[legend]
List of all members.

Public Types

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

Public Methods

 SExpDist ()
 SExpDist (double mean)
 SExpDist (const SExpDist &rU)
virtual double getValue ()
virtual double getExpectation () const
virtual Type getType () const
double getLambda () const

Protected Attributes

double _p

Static Protected Attributes

leda_random_source _rndSrc

Detailed Description

Exponential probability distribution
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

SExpDist::SExpDist   [inline]
 

SExpDist::SExpDist double    mean [inline]
 

This class generates exponential distributed random values which are created with the inverse method

Parameters:
mean  value Note that this exponential distribution is not created with the parameter lambda, but with the mean value

SExpDist::SExpDist const SExpDist &    rU [inline]
 

Copy constructor


Member Function Documentation

double SExpDist::getExpectation   [virtual]
 

Implements SProbabilityDist.

double SExpDist::getLambda   const [inline]
 

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

Get type of probability distribution

Returns:
EXPONENTIAL

Implements SProbabilityDist.

double SExpDist::getValue   [virtual]
 

Get a value, the probability of getting this value depends on the specified probability distribution

Returns:
sample value

Implements SProbabilityDist.


Member Data Documentation

double SExpDist::_p [protected]
 

The parameter

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


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