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

#include <eosim/dist/uniformdist.hpp>

Inheritance diagram for eosim::dist::UniformDist:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Uniform Distribution.

@{

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


Public Member Functions

 UniformDist (GenType gen, double low, double upper)
 The constructor creates a UniformDist with lower bound low, upper bound upper and whose whose generator’s type is gen.
 ~UniformDist ()
 The destructor of UniformDist.
double sample ()
 This operation samples a value from the distribution.


Member Function Documentation

double UniformDist::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:49:01 2008 for EOSimulator by  doxygen 1.5.2