Population::GaReplacementOperation Class Reference

This class is interface for replacement operations which replace chromosomes of population with new chromosomes. More...

#include <D:/Temp/vs/gal/source/PopulationOperations.h>

Inherits Common::GaOperation.

Inherited by Population::ReplacementOperations::GaReplaceBest, Population::ReplacementOperations::GaReplaceParents, Population::ReplacementOperations::GaReplaceRandom, and Population::ReplacementOperations::GaReplaceWorst.

List of all members.

Public Member Functions

virtual void GACALL operator() (GaPopulation &population, const GaReplacementParams &parameters, const GaCouplingResultSet &newChromosomes) const =0
 operator () performs replacement operation.


Detailed Description

This class is interface for replacement operations which replace chromosomes of population with new chromosomes.


Member Function Documentation

virtual void GACALL Population::GaReplacementOperation::operator() ( GaPopulation population,
const GaReplacementParams parameters,
const GaCouplingResultSet newChromosomes 
) const [pure virtual]

operator () performs replacement operation.

Parameters:
population reference to population which hosts chromosomes.
parameters reference to parameters of replacement operation.
newChromosomes reference to result set of coupling operation.

Implemented in Population::ReplacementOperations::GaReplaceWorst, Population::ReplacementOperations::GaReplaceRandom, Population::ReplacementOperations::GaReplaceParents, and Population::ReplacementOperations::GaReplaceBest.


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

Genetic Algorithm Library
Coolsoft Software Development