org.encog.ml.genetic.mutate
Class MutatePerturb

java.lang.Object
  extended by org.encog.ml.genetic.mutate.MutatePerturb
All Implemented Interfaces:
Mutate

public class MutatePerturb
extends Object
implements Mutate

A simple mutation based on random numbers.


Constructor Summary
MutatePerturb(double thePerturbAmount)
          Construct a perturb mutation.
 
Method Summary
 void performMutation(Chromosome chromosome)
          Perform a perturb mutation on the specified chromosome.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MutatePerturb

public MutatePerturb(double thePerturbAmount)
Construct a perturb mutation.

Parameters:
thePerturbAmount - The amount to mutate by(percent).
Method Detail

performMutation

public final void performMutation(Chromosome chromosome)
Perform a perturb mutation on the specified chromosome.

Specified by:
performMutation in interface Mutate
Parameters:
chromosome - The chromosome to mutate.


Copyright © 2011. All Rights Reserved.