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

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.DoubleRandomMutation
All Implemented Interfaces:
Operator, Configurable

public class DoubleRandomMutation
extends MutationOperator

This class implements a double random mutation operator. When this operator is applied to an individual, with a probability p a random value from an uniform 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.DoubleRandomMutation</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
DoubleRandomMutation()
           
DoubleRandomMutation(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

DoubleRandomMutation

public DoubleRandomMutation()

DoubleRandomMutation

public DoubleRandomMutation(int probability)
Method Detail

mutation

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