net.sourceforge.cilib.entity.operators.mutation
Class CauchyMutationStrategy
java.lang.Object
net.sourceforge.cilib.entity.operators.mutation.MutationStrategy
net.sourceforge.cilib.entity.operators.mutation.CauchyMutationStrategy
- All Implemented Interfaces:
- Serializable, Operator, Cloneable
public class CauchyMutationStrategy
- extends MutationStrategy
- Author:
- Andries Engelbrecht, Gary Pampara
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CauchyMutationStrategy
public CauchyMutationStrategy()
CauchyMutationStrategy
public CauchyMutationStrategy(CauchyMutationStrategy copy)
getClone
public CauchyMutationStrategy 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.
getLocation
public double getLocation()
setLocation
public void setLocation(double location)
getScaleStrategy
public ControlParameter getScaleStrategy()
setScaleStrategy
public void setScaleStrategy(ControlParameter scaleStrategy)
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.