Interface MutationPolicy
- All Known Implementing Classes:
BinaryMutation,RandomKeyMutation
public interface MutationPolicy
Algorithm used to mutate a chromosome.
- Since:
- 2.0
-
Method Summary
-
Method Details
-
mutate
Mutate the given chromosome.- Parameters:
original- the original chromosome.- Returns:
- the mutated chromosome.
- Throws:
MathIllegalArgumentException- if the given chromosome is not compatible with thisMutationPolicy
-