Public Member Functions

RandomSearch Class Reference
[AlgorithmsSequential algorithms]

Random search algorithmThe algorithm flow: More...

#include <AlgRandomSearch.h>

Inheritance diagram for RandomSearch:
Algorithm

List of all members.

Public Member Functions

bool advanceGeneration (StateP state, DemeP deme)
 Perform a single generation on a single deme.
bool initialize (StateP state)
 Initialize the algorithm, read parameters from the system, do a sanity check.
void registerParameters (StateP state)
 Register algorithm's parameters (if any).

Detailed Description

Random search algorithm

The algorithm flow:

  single generation {
   reinitialize all individuals;
   evaluate all individuals;
  }
 

Definition at line 19 of file AlgRandomSearch.h.


Member Function Documentation

bool RandomSearch::advanceGeneration ( StateP  ,
DemeP   
) [virtual]

Perform a single generation on a single deme.

Must be implemented by a specific algorithm class

Implements Algorithm.

Definition at line 23 of file AlgRandomSearch.cpp.

bool RandomSearch::initialize ( StateP   )  [virtual]

Initialize the algorithm, read parameters from the system, do a sanity check.

Called by the system before the algorithm starts (Algorithm::advanceGeneration)

Reimplemented from Algorithm.

Definition at line 17 of file AlgRandomSearch.cpp.

void RandomSearch::registerParameters ( StateP   )  [virtual]

Register algorithm's parameters (if any).

Called by the system before algorithm initialization (Algorithm::initialize)

Reimplemented from Algorithm.

Definition at line 12 of file AlgRandomSearch.cpp.


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