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

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

public class GaussianMutationStrategy
extends MutationStrategy

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

Constructor Summary
GaussianMutationStrategy()
           
GaussianMutationStrategy(GaussianMutationStrategy copy)
           
 
Method Summary
 GaussianMutationStrategy getClone()
          Create a cloned copy of the current object and return it.
 ControlParameter getDeviationStrategy()
           
 double getMean()
           
 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 setDeviationStrategy(ControlParameter deviationStrategy)
           
 void setMean(double mean)
           
 
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

GaussianMutationStrategy

public GaussianMutationStrategy()

GaussianMutationStrategy

public GaussianMutationStrategy(GaussianMutationStrategy copy)
Method Detail

getClone

public GaussianMutationStrategy 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.

getDeviationStrategy

public ControlParameter getDeviationStrategy()

setDeviationStrategy

public void setDeviationStrategy(ControlParameter deviationStrategy)

getMean

public double getMean()

setMean

public void setMean(double mean)

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.