|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.math.genetics.RandomKeyMutation
public class RandomKeyMutation
Mutation operator for RandomKey
s. Changes a randomly chosen element
of the array representation to a random value uniformly distributed in [0,1].
Constructor Summary | |
---|---|
RandomKeyMutation()
|
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 RandomKeyMutation()
Method Detail |
---|
public Chromosome mutate(Chromosome original)
mutate
in interface MutationPolicy
original
- the original chromosome.
java.lang.IllegalArgumentException
- if original
is not a
RandomKey
instance
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |