class SelectSurvivorsA

The survivors selection mechanism

Public Methods

virtual void operator) ( PoolA & iPool, ArrayC<GenotypeA*> const & iArray )
Creating the pool for the next generation
SelectSurvivorsA ( ConfigurationA const & iConfiguration )
Creating a new survivors selection mechanism

Documentation

This selection mechanism takes a pool and a list containing the offspring. It then merges these two to form the pool for the next generation.

SelectSurvivorsA( ConfigurationA const & iConfiguration )
This constructor should only be called by its children. It copies the reference of the parameters into protected members, they can then be used by its children to spawn objects and read configuration parameters.

Returns:
Nothing.
Parameters:
iConfiguration - The configuration used to determine settings for the algorithm and to provide a configuration to spawned objects within this class.
Author:
J.I. van Hemert
Version:
0.1

virtual void operator) ( PoolA & iPool, ArrayC<GenotypeA*> const & iArray )
ArrayC<GenotypeA*>* Children;
// Produce a list of children and store them in the Children list
SelectSurvivors(Pool, *Children);
Given a pool and a list of genotypes, the two are merged into a new pool which overwrites the old one.

Returns:
iPool is the returned variable.
Parameters:
iPool - This is the pool of the current generation.
iArray - This is a list of offspring that was created.
Author:
J.I. van Hemert
Version:
0.1


This class has no child classes.
Author:
J.I. van Hemert
Version:
0.1

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de