UniformIntegerDistribution Class Reference

Uniform distributed integers in the range [a,b]. More...

#include <RandomDistribution.h>

Inheritance diagram for UniformIntegerDistribution:

Inheritance graph
[legend]
Collaboration diagram for UniformIntegerDistribution:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 UniformIntegerDistribution (int a=0, int b=1)
virtual ~UniformIntegerDistribution ()
virtual double get (RandomEngine &eng)
virtual RandomDistributionclone (void) const


Detailed Description

Uniform distributed integers in the range [a,b].

Definition at line 163 of file RandomDistribution.h.


Constructor & Destructor Documentation

UniformIntegerDistribution::UniformIntegerDistribution ( int  a = 0,
int  b = 1 
) [inline]

Definition at line 166 of file RandomDistribution.h.

Referenced by clone().

virtual UniformIntegerDistribution::~UniformIntegerDistribution (  )  [inline, virtual]

Definition at line 167 of file RandomDistribution.h.


Member Function Documentation

double UniformIntegerDistribution::get ( RandomEngine eng  )  [virtual]

Reimplemented from RandomDistribution.

Definition at line 20 of file RandomDistribution.cpp.

virtual RandomDistribution* UniformIntegerDistribution::clone ( void   )  const [inline, virtual]

Implements RandomDistribution.

Definition at line 169 of file RandomDistribution.h.

References UniformIntegerDistribution().

Here is the call graph for this function:


The documentation for this class was generated from the following files:

Generated on Wed Jul 9 16:34:55 2008 for PCSIM by  doxygen 1.5.5