public static enum EvolutionaryAlgorithmModule.CrossoverRateType extends java.lang.Enum<EvolutionaryAlgorithmModule.CrossoverRateType>
EvolutionaryAlgorithmModule.CrossoverRateType
allows to choose between different types of
crossover rates.Enum Constant and Description |
---|
CONSTANT
Use a constant crossover rate.
|
Modifier and Type | Method and Description |
---|---|
static EvolutionaryAlgorithmModule.CrossoverRateType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EvolutionaryAlgorithmModule.CrossoverRateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EvolutionaryAlgorithmModule.CrossoverRateType CONSTANT
public static EvolutionaryAlgorithmModule.CrossoverRateType[] values()
for (EvolutionaryAlgorithmModule.CrossoverRateType c : EvolutionaryAlgorithmModule.CrossoverRateType.values()) System.out.println(c);
public static EvolutionaryAlgorithmModule.CrossoverRateType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null