net.sourceforge.cilib.entity.operators.mutation
Class UniformMutationStrategy

java.lang.Object
  extended by net.sourceforge.cilib.entity.operators.mutation.MutationStrategy
      extended by net.sourceforge.cilib.entity.operators.mutation.UniformMutationStrategy
All Implemented Interfaces:
Serializable, Operator, Cloneable

public class UniformMutationStrategy
extends MutationStrategy

Author:
Andries Engelbrecht, Gary Pampara
See Also:
Serialized Form

Constructor Summary
UniformMutationStrategy()
           
UniformMutationStrategy(UniformMutationStrategy copy)
           
 
Method Summary
 UniformMutationStrategy getClone()
          Create a cloned copy of the current object and return it.
 void mutate(List<? extends Entity> entity)
          Perform the mutation operation on the provided list of offspring individuals.
 void performOperation(TopologyHolder holder)
          Perform the operator operation given the current TopologyHolder.
 
Methods inherited from class net.sourceforge.cilib.entity.operators.mutation.MutationStrategy
getMutationProbability, getOperator, getOperatorStrategy, getRandomNumber, setMutationProbability, setOperator, setOperatorStrategy, setRandomNumber
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UniformMutationStrategy

public UniformMutationStrategy()

UniformMutationStrategy

public UniformMutationStrategy(UniformMutationStrategy copy)
Method Detail

getClone

public UniformMutationStrategy getClone()
Create a cloned copy of the current object and return it. In general the created copy will be a deep copy of the provided instance. As a result this operation an be quite expensive if used incorrectly.

Specified by:
getClone in interface Operator
Specified by:
getClone in interface Cloneable
Specified by:
getClone in class MutationStrategy
Returns:
An exact clone of the current object instance.
See Also:
Object.clone()

mutate

public void mutate(List<? extends Entity> entity)
Perform the mutation operation on the provided list of offspring individuals.

Specified by:
mutate in class MutationStrategy
Parameters:
entity - The list of Entity instances to perform a mutation on.

performOperation

public void performOperation(TopologyHolder holder)
Perform the operator operation given the current TopologyHolder.

Parameters:
holder - The TopologyHolder representing the required Topology instances.


Copyright © 2009 CIRG. All Rights Reserved.