class ChangeOperatorA

The change operator

Public Methods

ChangeOperatorA ( ConfigurationA const & iConfiguration, ProblemFactoryA const & iProblemFactory, ProblemA const & iProblem, RandomA const & iRandom )
Creating a new change operator
virtual void operator) ( ArrayC<GenotypeA*> const & iArray )
Changing offspring

Documentation

This operator takes existing genotypes and changes them. No new genotypes are produced this way.

ChangeOperatorA( ConfigurationA const & iConfiguration, ProblemFactoryA const & iProblemFactory, ProblemA const & iProblem, 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.
iProblemFactory - The factory that is used to spawn objects from classes of the Problem package, within this class. It is passed on to these spawned objects as well.
iRandom - The production operator will require some random numbers.
Author:
J.I. van Hemert
Version:
0.1

virtual void operator) ( ArrayC<GenotypeA*> const & iArray )
ArrayC<GenotypeA*>* Children;
// Produce a list of children and store them in the Children list
ChangeOperator(*Children);
Given a list of genotypes, the genotypes are changed according to some algorithm.

Returns:
iArray is the returned variable.
Parameters:
iArray - This is a list of to-be-changed genotypes.
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