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