public enum StopCondition extends java.lang.Enum<StopCondition>
Enum Constant and Description |
---|
CANT_FIND_BETTER |
CANT_FIND_BETTER_SC |
FIRST_POPULATION |
GOOD_ENOUGH_SOLUTION |
ITERATIONS |
Modifier and Type | Method and Description |
---|---|
static StopCondition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StopCondition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StopCondition ITERATIONS
public static final StopCondition GOOD_ENOUGH_SOLUTION
public static final StopCondition CANT_FIND_BETTER_SC
public static final StopCondition CANT_FIND_BETTER
public static final StopCondition FIRST_POPULATION
public static StopCondition[] values()
for (StopCondition c : StopCondition.values()) System.out.println(c);
public static StopCondition 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