public class BinaryMutation extends java.lang.Object implements MutationPolicy
BinaryChromosomes. Randomly changes one gene.| Constructor and Description |
|---|
BinaryMutation() |
| Modifier and Type | Method and Description |
|---|---|
Chromosome |
mutate(Chromosome original)
Mutate the given chromosome.
|
public Chromosome mutate(Chromosome original)
mutate in interface MutationPolicyoriginal - the original chromosome.Copyright © 2010 - 2023 Adobe. All Rights Reserved