Package org.apache.commons.math.genetics
Interface MutationPolicy
-
- All Known Implementing Classes:
BinaryMutation,RandomKeyMutation
public interface MutationPolicyAlgorithm used to mutate a chrommosome.- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Chromosomemutate(Chromosome original)Mutate the given chromosome.
-
-
-
Method Detail
-
mutate
Chromosome mutate(Chromosome original)
Mutate the given chromosome.- Parameters:
original- the original chromosome.- Returns:
- the mutated chromomsome.
-
-