GPLIB++
Public Member Functions | List of all members
gplib::GeneralRNG Class Referenceabstract

The base class for all random number generators, defines the basic interface. More...

#include <GeneralRNG.h>

Inheritance diagram for gplib::GeneralRNG:
Inheritance graph
[legend]

Public Member Functions

virtual float GetNumber ()=0
 
virtual unsigned int GetNumber (const unsigned int max)=0
 
 GeneralRNG ()
 
virtual ~GeneralRNG ()
 

Detailed Description

The base class for all random number generators, defines the basic interface.

Definition at line 9 of file GeneralRNG.h.

Constructor & Destructor Documentation

gplib::GeneralRNG::GeneralRNG ( )

Definition at line 5 of file GeneralRNG.cpp.

gplib::GeneralRNG::~GeneralRNG ( )
virtual

Definition at line 8 of file GeneralRNG.cpp.

Member Function Documentation

virtual float gplib::GeneralRNG::GetNumber ( )
pure virtual
virtual unsigned int gplib::GeneralRNG::GetNumber ( const unsigned int  max)
pure virtual

Implemented in gplib::UniformRNG.


The documentation for this class was generated from the following files: