public static enum GeneticAlgorithm.ResizeStrategy extends java.lang.Enum<GeneticAlgorithm.ResizeStrategy>
Enum Constant and Description |
---|
AUTO
If there is a need to expand, additional individuals are added, else they are removed.
|
EMPTY
Population is made empty, and then individuals are added as needed.
|
NONE
No resize is perfomed.
|
Modifier and Type | Method and Description |
---|---|
static GeneticAlgorithm.ResizeStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GeneticAlgorithm.ResizeStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeneticAlgorithm.ResizeStrategy NONE
public static final GeneticAlgorithm.ResizeStrategy AUTO
public static final GeneticAlgorithm.ResizeStrategy EMPTY
public static GeneticAlgorithm.ResizeStrategy[] values()
for (GeneticAlgorithm.ResizeStrategy c : GeneticAlgorithm.ResizeStrategy.values()) System.out.println(c);
public static GeneticAlgorithm.ResizeStrategy 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