class IntStdRandGenerator : public RandGenerator<int>

Integer RNG encapsulating standard functions like rand()

For details on methods, see the documentation for its interface: RandGenerator

Concepts/Code by: Joe Nelson

Members

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

Protected
virtual int GetRand (const long double maxVal)




Return To Index