UniformRNG Class Reference

Generate uniformly distributed random numbers, this is basically a wrapper for the boost random number generators, that is a little easier to use. More...

#include <UniformRNG.h>

Inheritance diagram for UniformRNG:

Inheritance graph
[legend]

List of all members.

Public Member Functions

float GetNumber (const float low, const float high)
 return float between low and high
virtual float GetNumber ()
virtual unsigned int GetNumber (const unsigned int max)
 UniformRNG ()
virtual ~UniformRNG ()


Detailed Description

Generate uniformly distributed random numbers, this is basically a wrapper for the boost random number generators, that is a little easier to use.

Definition at line 10 of file UniformRNG.h.


Constructor & Destructor Documentation

UniformRNG::UniformRNG (  ) 

Definition at line 8 of file UniformRNG.cpp.

UniformRNG::~UniformRNG (  )  [virtual]

Definition at line 15 of file UniformRNG.cpp.


Member Function Documentation

unsigned int UniformRNG::GetNumber ( const unsigned int  max  )  [virtual]

Implements GeneralRNG.

Definition at line 31 of file UniformRNG.cpp.

float UniformRNG::GetNumber (  )  [virtual]

Implements GeneralRNG.

Definition at line 25 of file UniformRNG.cpp.

Referenced by GetNumber().

float UniformRNG::GetNumber ( const float  low,
const float  high 
)

return float between low and high

Definition at line 18 of file UniformRNG.cpp.

References GetNumber().

Referenced by NeuralNetwork::InitWeights(), and main().


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

Generated on Tue Aug 4 16:04:23 2009 for GPLIB++ by  doxygen 1.5.8