org.encog.ml.genetic.mutate
Class MutatePerturb
java.lang.Object
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MutatePerturb
public MutatePerturb(double thePerturbAmount)
- Construct a perturb mutation.
- Parameters:
thePerturbAmount - The amount to mutate by(percent).
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.