Public Member Functions

SimpleRandomizer Class Reference
[Evolutionary Framework]

A simple randomizer that uses in-built random number generator. More...

#include <SimpleRandomizer.h>

Inheritance diagram for SimpleRandomizer:
Randomizer

List of all members.

Public Member Functions

 SimpleRandomizer (unsigned int seed=0)
int getRandomInteger (int p, int q)
 Returns random integer in [p, q].
int getRandomInteger (int size)
 Returns radnom integer in [0, p - 1].
double getRandomDouble ()
 Returns random double.
void registerParameters (StateP s)
bool initialize (StateP s)

Detailed Description

A simple randomizer that uses in-built random number generator.

Definition at line 10 of file SimpleRandomizer.h.


Member Function Documentation

bool SimpleRandomizer::initialize ( StateP  s  )  [virtual]

Initialize the randomizer with the seed parameter from the Registry.

Reimplemented from Randomizer.

Definition at line 40 of file SimpleRandomizer.cpp.


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