GPLIB++
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
GAClasses
GeneralRNG.h
Go to the documentation of this file.
1
#ifndef CGENERALRNG_H
2
#define CGENERALRNG_H
3
namespace
gplib
4
{
5
/** \addtogroup gainv Genetic algorithm optimization */
6
/* @{ */
7
8
//! The base class for all random number generators, defines the basic interface
9
class
GeneralRNG
10
{
11
public
:
12
virtual
float
GetNumber
() = 0;
13
virtual
unsigned
int
GetNumber
(
const
unsigned
int
max) = 0;
14
GeneralRNG
();
15
virtual
~GeneralRNG
();
16
};
17
/* @} */
18
}
19
#endif // CGENERALRNG_H
gplib::GeneralRNG::GeneralRNG
GeneralRNG()
Definition:
GeneralRNG.cpp:5
gplib::GeneralRNG::~GeneralRNG
virtual ~GeneralRNG()
Definition:
GeneralRNG.cpp:8
gplib::GeneralRNG::GetNumber
virtual float GetNumber()=0
gplib::GeneralRNG
The base class for all random number generators, defines the basic interface.
Definition:
GeneralRNG.h:9
Generated on Wed May 25 2016 14:21:06 for GPLIB++ by
1.8.6