Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

RNG_factory Class Reference

This class is used for requesting all kinds of RNGs. More...

#include <RNG_factory.h>

List of all members.

Static Public Member Functions

void printIDs ()
 Displays to stdout which identification number each RNG has.
generators::RNGgetGenerator (unsigned int type)
 Constructs and returns a generator of the given type.

Static Public Attributes

const unsigned int RANDU = 0
 ID number for the RANDU RNG.
const unsigned int QUICK = 1
 ID number for the QUICK RNG.
const unsigned int STD_RANDOM = 10
 ID number for the STD_RANDOM RNG.


Detailed Description

This class is used for requesting all kinds of RNGs.

A call to RNG_factory::getGenerator with the appropriate RNG id returns the RNG.


Member Function Documentation

generators::RNG * RNG_factory::getGenerator unsigned int  type  )  [static]
 

Constructs and returns a generator of the given type.

Parameters:
type the identification number of the type of RNG to return.
Returns:
An RNG of the given type.

void RNG_factory::printIDs  )  [static]
 

Displays to stdout which identification number each RNG has.


The documentation for this class was generated from the following files:
Generated on Fri Sep 4 18:03:45 2009 for LabSci RNG/MC generators by  doxygen 1.3.9.1