es.udc.gii.common.eaf.algorithm.operator.reproduction.mutation
Class GaussianMutation

java.lang.Object
  extended by es.udc.gii.common.eaf.algorithm.operator.reproduction.ReproductionOperator
      extended by es.udc.gii.common.eaf.algorithm.operator.reproduction.mutation.MutationOperator
          extended by es.udc.gii.common.eaf.algorithm.operator.reproduction.mutation.GaussianMutation
All Implemented Interfaces:
Operator, Configurable

public class GaussianMutation
extends MutationOperator

This class implements a gaussian mutation operator. When this operator is applied to an individual, with a probability p a random value from an gaussian distribution is added to the gene value.

This operator does not need any configuration parameters, except the parameters needed to configure the superclass MutationOperator. So, to use this operator, the configuration file should contains the following xml code:

 <Operator>
      <Class>es.udc.gii.common.eaf.algorithm.operator.reproduction.mutation.GaussianMutation</Class>
      <Probability>value</Probability>
 </Operator>
 
 
Where, Class is the only mandatory tag. If the tag Probability does not appear, is set to its default value.

Default values:

Since:
1.0
Author:
Grupo Integrado de IngenierĂ­a (www.gii.udc.es)

Constructor Summary
GaussianMutation()
          Creates a new instance of GaussianMutation
GaussianMutation(int probability)
           
 
Method Summary
protected  java.util.List<Individual> mutation(EvolutionaryAlgorithm algorithm, Individual individual)
           
 
Methods inherited from class es.udc.gii.common.eaf.algorithm.operator.reproduction.mutation.MutationOperator
configure, getProbability, operate, setProbability
 
Methods inherited from class es.udc.gii.common.eaf.algorithm.operator.reproduction.ReproductionOperator
checkBounds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GaussianMutation

public GaussianMutation()
Creates a new instance of GaussianMutation


GaussianMutation

public GaussianMutation(int probability)
Method Detail

mutation

protected java.util.List<Individual> mutation(EvolutionaryAlgorithm algorithm,
                                              Individual individual)
Specified by:
mutation in class MutationOperator