public enum SearchState extends Enum<SearchState> implements Serializable
Project: choco-solver.
Enum Constant and Description |
---|
KILLED
A search that is killed from the outside (eg, thread interruption, JVM killed)is in this state.
|
NEW
A search that has not yet started is in this state.
|
RUNNING
A launched search is in this state.
|
STOPPED
A search that ends on a stop criterion is in this state.
|
TERMINATED
A search that ends normally is in this state.
|
Modifier and Type | Method and Description |
---|---|
static SearchState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchState NEW
public static final SearchState RUNNING
public static final SearchState TERMINATED
public static final SearchState STOPPED
public static final SearchState KILLED
public static SearchState[] values()
for (SearchState c : SearchState.values()) System.out.println(c);
public static SearchState 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 nullCopyright © 2018. All rights reserved.