class IntUniformRandGenerator : public RandGenerator<int>

Integer RNG using "uniform" algorithm

Encapsulates code compiled and "slightly" modified by Paul Bourk http://www.mhri.edu.au/~pdb/unixsoftware/random/ For details on methods, see the documentation for its interface: RandGenerator

Concepts/Code by: Joe Nelson

Members

Public
IntUniformRandGenerator (const unsigned int seedVal = 0, const unsigned int seedVal2 = 0)
virtual ~IntUniformRandGenerator ()
virtual void Seed (unsigned int seedVal, unsigned int seedVal2)
virtual const int HighestRand () const
virtual const int LowestRand () const
virtual const int RandGenerationRange () const

Protected
RandGenerator<double> * _inner
virtual int GetRand (const long double maxVal)




Return To Index