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

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

public class EvolutionaryStrategyMutation
extends MutationOperator

This class implements a mutation operator to be used with the Evoluationary Strategies. This operator reads the parameter &lamda; from the Evolutionar Strategy class EvolutionaryStrategy and generates λ children from one parent using a mutation operator.

To configure this operator the tag at the xml config file would be like:

 <Operator>
      <Class>es.udc.gii.common.eaf.algorithm.operator.reproduction.mutation.EvolutionaryStrategyMutation</Class>
      <Operator>value</Operator>
      <!-- Parameters of the Operator used -->
      ...
 </Operator>
 
 
Where Class and Operator are mandatory, the first one indicates that this class is going to be used. The second one indicates the mutation operator that is going to be used to generate the mutated individuals. After this second tag, is necessary to indicate the configuration parameters of the mutation operator indicated in the tag Operator.

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

Field Summary
private  MutationOperator operator
           
 
Constructor Summary
EvolutionaryStrategyMutation()
          Creates a new instance of EvolutionaryStrategyMutation
 
Method Summary
 void configure(org.apache.commons.configuration.Configuration conf)
          Configures the specific element that implements this method.
 MutationOperator getOperator()
           
protected  java.util.List<Individual> mutation(EvolutionaryAlgorithm algorithm, Individual individual)
           
 
Methods inherited from class es.udc.gii.common.eaf.algorithm.operator.reproduction.mutation.MutationOperator
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
 

Field Detail

operator

private MutationOperator operator
Constructor Detail

EvolutionaryStrategyMutation

public EvolutionaryStrategyMutation()
Creates a new instance of EvolutionaryStrategyMutation

Method Detail

configure

public void configure(org.apache.commons.configuration.Configuration conf)
Description copied from interface: Configurable
Configures the specific element that implements this method.

Specified by:
configure in interface Configurable
Overrides:
configure in class MutationOperator
Parameters:
conf - a Configuration object.
See Also:
Configuration

mutation

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

getOperator

public MutationOperator getOperator()