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

java.lang.Object
  extended by net.sourceforge.cilib.entity.operators.mutation.MutationStrategy
      extended by 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

Constructor Summary
CauchyMutationStrategy()
           
CauchyMutationStrategy(CauchyMutationStrategy copy)
           
 
Method Summary
 CauchyMutationStrategy getClone()
          Create a cloned copy of the current object and return it.
 double getLocation()
           
 ControlParameter getScaleStrategy()
           
 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.
 void setLocation(double location)
           
 void setScaleStrategy(ControlParameter scaleStrategy)
           
 
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

CauchyMutationStrategy

public CauchyMutationStrategy()

CauchyMutationStrategy

public CauchyMutationStrategy(CauchyMutationStrategy copy)
Method Detail

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.