GEP::Core::Common::GeneticOperators::Mutation Class Reference

Mutates the linear structure of a genotype. More...

Inheritance diagram for GEP::Core::Common::GeneticOperators::Mutation:

Inheritance graph
[legend]
Collaboration diagram for GEP::Core::Common::GeneticOperators::Mutation:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Mutation (Alphabet functionsSet, Alphabet variablesSet, Alphabet constatnsSet, double[] symbolSetsProbabilityDistribution, double mutationProbabilityInHead, double mutationProbabilityInTail, double mutationProbabilityInConstants, bool applyOnNewGeneration, GenotypeSelection.GenotypeSelection selection)
override void Apply (Genotype[] parameters, int[] selectionIndexes, Genotype[] destination, ref int destIndex)
 Applies the genetic operator to parameters and new offspring is stored in destination .
override void Apply (Genotype[] parameters, int[] selectionIndexes)
 Applies the genetic operator to parameters .
 Mutation (Mutation symbol)
 Makes a shallow copy of symbol.
override GEP.Core.Common.Symbol Clone ()
 Makes a shallow copy of the current instance.
void Apply (Population population)
 Applies the genetic operator to member Common.Population._genotypes in population .
void Apply (Population population, Genotype[] destination, ref int destIndex)
 Takes out genotypes from population according to Selection and stores newly created genotypes in destination .
override string ToString ()

Protected Member Functions

 Mutation (Alphabet functionsSet, Alphabet variablesSet, Alphabet constatnsSet, double[] symbolSetsProbabilityDistribution, bool applyOnNewGeneration, GenotypeSelection.GenotypeSelection selection)

Protected Attributes

Random _random
 Initialized in the begining. Used to generate random numbers.
GenotypeSelection.GenotypeSelection _selection
bool _producesNewOffspring
int _n_children
string _name
int _n_Parameters

Properties

GenotypeSelection.GenotypeSelection Selection [get, set]
 Defines how to select genotypes to be subjected to the operator.
bool ProducesNewOffspring [get]
 Indicates whether the operator produces new offspring.
bool ApplyOnNewGeneration [get]
 Specifies whether the operator is applied to the old generation or the new one.
int N_children [get]
 If the genetic operator produces offspring, this specifies how many child genotypes are produced.
string Name [get]
 Gets the name of this symbol.
int N_Parameters [get]
 The number of parameters the symbol accepts.


Detailed Description

Mutates the linear structure of a genotype.

Definition at line 12 of file Mutation.cs.


The documentation for this class was generated from the following file:
GEP .NET Framwork Main Page
SourceForge.net Logo