public enum SelectionStrategy extends Enum<SelectionStrategy>
Enum Constant and Description |
---|
ROULETTE_WHEEL
Roulette wheel.
|
TOURNAMENT
Tournament.
|
TRUNCATION
Truncation.
|
Modifier and Type | Method and Description |
---|---|
static SelectionStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SelectionStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SelectionStrategy ROULETTE_WHEEL
public static final SelectionStrategy TRUNCATION
public static final SelectionStrategy TOURNAMENT
public static SelectionStrategy[] values()
for (SelectionStrategy c : SelectionStrategy.values()) System.out.println(c);
public static SelectionStrategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024