class SelectParentsA

The parents selection mechanism

Public Methods

virtual ArrayC <GenotypeA const *> * operator) ( PoolA const & iPool )
Getting a list of parents
SelectParentsA ( ConfigurationA const & iConfiguration, RandomA const & iRandom )
Creating a new parent selection mechanism

Documentation

This selection mechanism is used for filling a list of genotypes. These genotypes act as parents for the production of new offspring.

SelectParentsA( ConfigurationA const & iConfiguration, RandomA const & iRandom )
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.
iRandom - The mechanis will often require some random numbers.
Author:
J.I. van Hemert
Version:
0.1

virtual ArrayC <GenotypeA const *> * operator) ( PoolA const & iPool )
ArrayC<GenotypeA const *>* Parents;
Parents = SelectParents(Pool);
Given a pool filled with genotypes, this function selects a list of these genotypes and returns them.

Returns:
An array filled with pointers to genotypes in the pool.
Parameters:
iPool - A pool with genotypes.
Author:
J.I. van Hemert
Version:
0.1


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

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