es.udc.gii.common.eaf.algorithm.operator.reproduction.mutation
Class EvolutionaryStrategyMutation
java.lang.Object
es.udc.gii.common.eaf.algorithm.operator.reproduction.ReproductionOperator
es.udc.gii.common.eaf.algorithm.operator.reproduction.mutation.MutationOperator
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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
operator
private MutationOperator operator
EvolutionaryStrategyMutation
public EvolutionaryStrategyMutation()
- Creates a new instance of EvolutionaryStrategyMutation
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()