template class RandGenerator<class T>

Interface to which all RNG classes in RandLib must conform

Concepts/Code by: Joe Nelson
Members

Public
virtual void Seed (const unsigned int seedVal, const unsigned int seedVal2) : Seeds the randomizer with a beginning value
virtual T GetRandBetween (const T minVal, const T maxVal) : Gets a rand between minVal and maxVal inclusive
virtual const T HighestRand () const : Highest random number that will be generated
virtual const T LowestRand () const : Lowest random number that will be generated
virtual const T RandGenerationRange () const : The range (HighestRand - LowestRand) that can be generated

Protected
virtual T GetRand (const long double maxVal)




Return To Index