Chromosome::GaMutationOperation Class Reference

GaMutationOperation class is base for mutation operations. More...

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

Inherits Common::GaOperation.

Inherited by Chromosome::MutationOperations::GaFlipMutation, Chromosome::MutationOperations::GaInvertMutation, and Chromosome::MutationOperations::GaSwapMutation.

List of all members.

Public Member Functions

void GACALL operator() (GaChromosomePtr chromosome) const
 This operator extract raw pointer to parent chromosomes, and delegate responsibility to operator ()(const GaChromosome*).
virtual void GACALL operator() (GaChromosome *chromosome) const =0
 This operator performs mutation operation.


Detailed Description

GaMutationOperation class is base for mutation operations.


Member Function Documentation

void GACALL Chromosome::GaMutationOperation::operator() ( GaChromosomePtr  chromosome  )  const [inline]

This operator extract raw pointer to parent chromosomes, and delegate responsibility to operator ()(const GaChromosome*).

Parameters:
chromosome smart pointer mutating chromosome.

virtual void GACALL Chromosome::GaMutationOperation::operator() ( GaChromosome chromosome  )  const [pure virtual]

This operator performs mutation operation.

Parameters:
chromosome raw pointer to mutating chromosome.

Implemented in Chromosome::MutationOperations::GaFlipMutation, Chromosome::MutationOperations::GaInvertMutation, and Chromosome::MutationOperations::GaSwapMutation.


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

Genetic Algorithm Library
Coolsoft Software Development