ClippedDistribution Class Reference

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

#include <RandomDistribution.h>

Inheritance diagram for ClippedDistribution:

Inheritance graph
[legend]
Collaboration diagram for ClippedDistribution:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ClippedDistribution (RandomDistribution const &dist, double a, double b, size_t n=1)
virtual ~ClippedDistribution ()
virtual double get (RandomEngine &eng)
virtual RandomDistributionclone (void) const


Detailed Description

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

Definition at line 178 of file RandomDistribution.h.


Constructor & Destructor Documentation

ClippedDistribution::ClippedDistribution ( RandomDistribution const &  dist,
double  a,
double  b,
size_t  n = 1 
)

Definition at line 25 of file RandomDistribution.cpp.

References RandomDistribution::clone().

Referenced by clone().

Here is the call graph for this function:

ClippedDistribution::~ClippedDistribution (  )  [virtual]

Definition at line 35 of file RandomDistribution.cpp.


Member Function Documentation

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

Reimplemented from RandomDistribution.

Definition at line 40 of file RandomDistribution.cpp.

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

Implements RandomDistribution.

Definition at line 184 of file RandomDistribution.h.

References ClippedDistribution().

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:47 2008 for PCSIM by  doxygen 1.5.5