eosim::dist::NegexpDist Class Reference
[Distributions]

#include <eosim/dist/negexpdist.hpp>

Inheritance diagram for eosim::dist::NegexpDist:

Inheritance graph
[legend]
Collaboration diagram for eosim::dist::NegexpDist:

Collaboration graph
[legend]
List of all members.

Detailed Description

Negative Exponential Distribution.

Author:
Sebastián Alaggia
Version:
1.0.1
Date:
2005
This class sample values from a negative exponential distribution.


Public Member Functions

 NegexpDist (GenType gen, double m)
 The constructor creates a NegexpDist with mean m and whose generator’s type is gen.
 ~NegexpDist ()
 The destructor of NegexpDist.
double sample ()
 This operation samples a value from the distribution.


Member Function Documentation

double NegexpDist::sample (  )  [virtual]

This operation samples a value from the distribution.

Note:
The method used for sampling is the inverse transform method.

Implements eosim::dist::Distribution.


Generated on Tue Oct 14 16:48:56 2008 for EOSimulator by  doxygen 1.5.2