#include <source/PopulationOperations.h>
Inherits Common::GaOperation.
Inherited by Population::ReplacementOperations::GaReplaceBest, Population::ReplacementOperations::GaReplaceParents, Population::ReplacementOperations::GaReplaceRandom, and Population::ReplacementOperations::GaReplaceWorst.
Public Member Functions | |
| virtual void GACALL | operator() (GaPopulation &population, const GaReplacementParams ¶meters, const GaCouplingResultSet &newChromosomes) const =0 |
operator () performs replacement operation. | |
| virtual void GACALL Population::GaReplacementOperation::operator() | ( | GaPopulation & | population, | |
| const GaReplacementParams & | parameters, | |||
| const GaCouplingResultSet & | newChromosomes | |||
| ) | const [pure virtual] |
operator () performs replacement operation.
| 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.