|
eaLib API Docs Last Modified : January 7 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mss.ea.core.GeneticOperator | +--mss.ea.mut.Mutation | +--mss.ea.mut.ChromosomeMutation | +--mss.ea.mut.ArrayMutation
Abstract base class for mutation of arrays.
Field Summary | |
protected java.util.Random |
rand
Random generator. |
Fields inherited from class mss.ea.mut.ChromosomeMutation |
mutationPropability |
Fields inherited from class mss.ea.core.GeneticOperator |
description, ID, name |
Constructor Summary | |
ArrayMutation()
Constructor. |
|
ArrayMutation(float propability)
Constructor with mutation propability. |
Method Summary | |
abstract void |
mutate(ArrayChromosome cr)
Performs the mutation on an array chromosome. |
void |
mutate(Chromosome cr)
Performs the mutation. |
Methods inherited from class mss.ea.core.GeneticOperator |
getDescription, getID, getName, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.util.Random rand
Constructor Detail |
public ArrayMutation()
public ArrayMutation(float propability)
propability
- mutation propabilityMethod Detail |
public void mutate(Chromosome cr) throws MutationException
mutate
in class ChromosomeMutation
cr
- array chromosomeMutationException
- thrown, if operator failspublic abstract void mutate(ArrayChromosome cr) throws MutationException
cr
- array chromosomeMutationException
- thrown, if operator fails
|
eaLib API Docs Last Modified : January 7 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |