Common::GaOperation Class Reference

Interface for genetic operations. More...

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

Inherited by Algorithm::GaStopCriteria, Chromosome::GaCrossoverOperation, Chromosome::GaFitnessComparator, Chromosome::GaFitnessOperation, Chromosome::GaMutationOperation, Population::GaCouplingOperation, Population::GaReplacementOperation, Population::GaScalingOperation, and Population::GaSelectionOperation.

List of all members.

Public Member Functions

virtual GaParameters *GACALL MakeParameters () const =0
 Allocates memory and makes corresponding operation's parameters object on heap.
virtual bool GACALL CheckParameters (const GaParameters &parameters) const =0
 Method checks correctness of parameters.


Detailed Description

Interface for genetic operations.


Member Function Documentation

virtual GaParameters* GACALL Common::GaOperation::MakeParameters (  )  const [pure virtual]

Allocates memory and makes corresponding operation's parameters object on heap.

Caller is responsible for allocated memory, freeing of new object should be done by delete keyword. User-defined operation classes inherited by built-in classes should override this method to perform creation of custom operation's parameters objects.

Returns:
Returns pointer to newly created object.

Implemented in Chromosome::GaFitnessComparator, Population::CouplingOperations::GaSimpleCoupling, Population::CouplingOperations::GaCrossCoupling, Population::CouplingOperations::GaInverseCoupling, Population::CouplingOperations::GaRandomCoupling, Population::CouplingOperations::GaBestAlwaysCoupling, Chromosome::CrossoverOperations::GaMultiValueCrossover, Chromosome::CrossoverOperations::GaAddCrossover, Chromosome::CrossoverOperations::GaSubCrossover, Chromosome::CrossoverOperations::GaMidpointCrossover, Chromosome::MutationOperations::GaFlipMutation, Chromosome::MutationOperations::GaInvertMutation, Chromosome::MutationOperations::GaSwapMutation, Population::ReplacementOperations::GaReplaceWorst, Population::ReplacementOperations::GaReplaceRandom, Population::ReplacementOperations::GaReplaceParents, Population::ReplacementOperations::GaReplaceBest, Population::ScalingOperations::GaWindowScaling, Population::ScalingOperations::GaExponentialScaling, Population::ScalingOperations::GaLinearScaling, Population::ScalingOperations::GaNormalizationScaling, Population::SelectionOperations::GaSelectBest, Population::SelectionOperations::GaSelectRandom, Population::SelectionOperations::GaSelectRandomBest, Population::SelectionOperations::GaSelectRouletteWheel, Population::SelectionOperations::GaSelectTournament, Population::SelectionOperations::GaSelectWorst, Algorithm::StopCriterias::GaGenerationCriteria, Algorithm::StopCriterias::GaFitnessCriteria, and Algorithm::StopCriterias::GaFitnessProgressCriteria.

virtual bool GACALL Common::GaOperation::CheckParameters ( const GaParameters parameters  )  const [pure virtual]

Method checks correctness of parameters.

Parameters:
parameters constant reference to parameters' object on which correctness checking is performed.
Returns:
Returns true if parameters are correct, otherwise it returns false.

Implemented in Chromosome::GaFitnessComparator, Population::CouplingOperations::GaSimpleCoupling, Population::CouplingOperations::GaCrossCoupling, Population::CouplingOperations::GaInverseCoupling, Population::CouplingOperations::GaRandomCoupling, Population::CouplingOperations::GaBestAlwaysCoupling, Chromosome::CrossoverOperations::GaMultiValueCrossover, Chromosome::CrossoverOperations::GaAddCrossover, Chromosome::CrossoverOperations::GaSubCrossover, Chromosome::CrossoverOperations::GaMidpointCrossover, Chromosome::MutationOperations::GaFlipMutation, Chromosome::MutationOperations::GaInvertMutation, Chromosome::MutationOperations::GaSwapMutation, Population::ReplacementOperations::GaReplaceWorst, Population::ReplacementOperations::GaReplaceRandom, Population::ReplacementOperations::GaReplaceParents, Population::ReplacementOperations::GaReplaceBest, Population::ScalingOperations::GaWindowScaling, Population::ScalingOperations::GaExponentialScaling, Population::ScalingOperations::GaLinearScaling, Population::ScalingOperations::GaNormalizationScaling, Population::SelectionOperations::GaSelectBest, Population::SelectionOperations::GaSelectRandom, Population::SelectionOperations::GaSelectRandomBest, Population::SelectionOperations::GaSelectRouletteWheel, Population::SelectionOperations::GaSelectTournament, Population::SelectionOperations::GaSelectWorst, Algorithm::StopCriterias::GaGenerationCriteria, Algorithm::StopCriterias::GaFitnessCriteria, and Algorithm::StopCriterias::GaFitnessProgressCriteria.


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

Genetic Algorithm Library
Coolsoft Software Development