public final class LabsClassicMutation extends java.lang.Object implements Mutation<LabsSolution>
Modifier and Type | Field and Description |
---|---|
private double |
bitsToMutatePercentage |
Constructor and Description |
---|
LabsClassicMutation(double bitsToMutatePercentage) |
Modifier and Type | Method and Description |
---|---|
private int |
getBitsToMutateCount(java.util.Random rand,
LabsSolution solution) |
LabsSolution |
mutate(LabsSolution solution) |
public LabsSolution mutate(LabsSolution solution)
mutate
in interface Mutation<LabsSolution>
private int getBitsToMutateCount(java.util.Random rand, LabsSolution solution)