public class RandomPolygonMutation extends Object implements MutationPolicy
Constructor and Description |
---|
RandomPolygonMutation(float mutationRate,
float mutationAmount) |
Modifier and Type | Method and Description |
---|---|
Chromosome |
mutate(Chromosome chromosome)
Mutate the given chromosome.
|
public RandomPolygonMutation(float mutationRate, float mutationAmount)
public Chromosome mutate(Chromosome chromosome)
MutationPolicy
mutate
in interface MutationPolicy
chromosome
- the original chromosome.Copyright © 2016 Hipparchus.org. All rights reserved.