public class PopulationMutation2 extends java.lang.Object implements PopulationMutation
Modifier and Type | Field and Description |
---|---|
static double |
MUTATION_RATE_INCREASE |
static double |
MUTATION_RATE_LOWER |
Constructor and Description |
---|
PopulationMutation2(int chromosomesize) |
Modifier and Type | Method and Description |
---|---|
static void |
increaseMutationRate() |
static void |
lowerMutationRate() |
void |
mutate(Population p) |
static void |
resetMutationRates() |
public static final double MUTATION_RATE_LOWER
public static final double MUTATION_RATE_INCREASE
public static void resetMutationRates()
public static void increaseMutationRate()
public static void lowerMutationRate()
public void mutate(Population p)
mutate
in interface PopulationMutation