org.jgap.impl
Class GaussianMutationOperator

java.lang.Object
  extended byorg.jgap.impl.GaussianMutationOperator
All Implemented Interfaces:
GeneticOperator, java.io.Serializable

public class GaussianMutationOperator
extends java.lang.Object
implements GeneticOperator

This genetic operator performs Gaussian mutation across all genes in a given Chromosome. Taken from JOONEGAP

Since:
2.0
Author:
Klaus Meffert (modified JOONEGAP source)
See Also:
Serialized Form

Constructor Summary
GaussianMutationOperator()
          Constructs a GaussianMutationOperator with a default deviation of 0.05.
GaussianMutationOperator(double a_deviation)
          Constructs a GaussianMutationOperator with the given deviation.
 
Method Summary
 void operate(Population a_population, java.util.List a_candidateChromosomes)
          Executes the operation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GaussianMutationOperator

public GaussianMutationOperator()
Constructs a GaussianMutationOperator with a default deviation of 0.05.


GaussianMutationOperator

public GaussianMutationOperator(double a_deviation)
Constructs a GaussianMutationOperator with the given deviation.

Parameters:
a_deviation - sic.
Since:
2.0
Method Detail

operate

public void operate(Population a_population,
                    java.util.List a_candidateChromosomes)
Executes the operation.

Specified by:
operate in interface GeneticOperator
Parameters:
a_population - containing chromosomes to be mutated
a_candidateChromosomes - resulting chromosomes
Since:
2.0