gplib::StandardPropagation Class Reference
[Genetic algorithm optimization]

This is the standard propagation class that generates a new population from the old one. More...

#include <StandardPropagation.h>

Inheritance diagram for gplib::StandardPropagation:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void NextGeneration ()
 StandardPropagation (GeneralSelect *const LocalSelect, GeneralPopulation *const LocalPopulation, GeneralRNG *const LocalRandom)
 The constructor takes pointers to various base classes that configure the behaviour of the selection process.
virtual ~StandardPropagation ()


Detailed Description

This is the standard propagation class that generates a new population from the old one.

This class implements the standard propagation schemes for genetic algorithms, selection, crossover and mutation. Each of these steps is performed by a class that we can choose in the constructor.

Definition at line 15 of file StandardPropagation.h.


Constructor & Destructor Documentation

gplib::StandardPropagation::StandardPropagation ( GeneralSelect *const   LocalSelect,
GeneralPopulation *const   LocalPopulation,
GeneralRNG *const   LocalRandom 
)

The constructor takes pointers to various base classes that configure the behaviour of the selection process.

This class is basically just a skeleton that uses the objects that implement Selection, Crossover and Mutation in the right order.

Parameters:
LocalSelect A pointer to an object that implements a selection scheme for the genetic algorithm
LocalPopulation A pointer to a population object
LocalRandom A pointer to a random number generator

Definition at line 11 of file StandardPropagation.cpp.

gplib::StandardPropagation::~StandardPropagation (  )  [virtual]

Definition at line 17 of file StandardPropagation.cpp.


Member Function Documentation

void gplib::StandardPropagation::NextGeneration (  )  [virtual]


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

Generated on Tue Nov 3 13:24:23 2009 for GPLIB++ by  doxygen 1.5.8