public enum BestFitness extends java.lang.Enum<BestFitness>
BestFitness.HIGH
means high fitness values are
better than low. Conversely, BestFitness.LOW
signals that low fitness values indicate better fitness
than high values.Modifier and Type | Method and Description |
---|---|
static BestFitness |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BestFitness[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BestFitness HIGH
public static final BestFitness LOW
public static BestFitness[] values()
for (BestFitness c : BestFitness.values()) System.out.println(c);
public static BestFitness 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