SubtractiveRNG Class Reference
[Functor: UniformRandom]

Subtractive random number generator. More...

#include <UniformRandom.h>

List of all members.

Public Member Functions

unsigned int operator() (unsigned int limit)
 Returns a number less than the argument.
void initialize (unsigned int seed)
 Initialize with the given seed.
 SubtractiveRNG (const unsigned int seed)
 Constructor allowing you to initialize the seed.
 SubtractiveRNG ()
 Default Constructor. Initializes its state with some number you don't see.

Detailed Description

Subtractive random number generator.

This subtractive_rng class is supplied as an SGI extension to the STL. The functionality is duplicated here to avoid dependence on extensions.


The documentation for this class was generated from the following file:
Generated on Thu Jun 30 02:14:52 2016 for Algorithms and Data Structures Package by  doxygen 1.6.3