Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Data Structures   File List   Namespace Members   Data Fields   Globals   Related Pages   Examples  

Rdist Class Reference
[Continuous distributions]

Inherits Dist.

Inherited by Erlang, Negexp, Normal, Rconst, and Uniform.


Detailed Description

Interface for continuous distributions.

Author:
Ralf Gerstenberger

Rdist declares the 'double sample()' method for continuous distribution classes. All derived classes implement this method to provide the random numbers in different distributions.

Since:
1.0


Public Member Functions

 Rdist (DistContext *c, Label title)
 Construction.

virtual ~Rdist ()
 Destruction.

virtual double sample ()=0
 Get next random number.


Constructor & Destructor Documentation

Rdist DistContext c,
Label  title
[inline]
 

Construction.

Parameters:
title Label of the generator
c pointer to DistContext object


Member Function Documentation

virtual double sample  )  [pure virtual]
 

Get next random number.

This function returns the next random number. It is implemented in derived classes which generate random numbers in different distributions.

Implemented in Normal, Negexp, Uniform, Erlang, and Rconst.


Generated on Mon Aug 11 10:36:07 2003 for ODEMx by doxygen1.3