|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.math3.genetics.BinaryMutation
public class BinaryMutation
Mutation for BinaryChromosome
s. Randomly changes one gene.
Constructor Summary | |
---|---|
BinaryMutation()
|
Method Summary | |
---|---|
Chromosome |
mutate(Chromosome original)
Mutate the given chromosome. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BinaryMutation()
Method Detail |
---|
public Chromosome mutate(Chromosome original) throws MathIllegalArgumentException
mutate
in interface MutationPolicy
original
- the original chromosome.
MathIllegalArgumentException
- if original
is not an instance of BinaryChromosome
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |