|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SnakeOptimizer.Snake_status>
de.unihalle.informatik.MiToBo.segmentation.snakes.optimize.SnakeOptimizer.Snake_status
public static enum SnakeOptimizer.Snake_status
Indicates the current (internal) state of the snake calculations.
Note that the enumeration needs to be public (instead of protected or even private) because it is used by the termination checkers being implemented in a subpackage of the optimizer package.
Enum Constant Summary | |
---|---|
SNAKE_DONE
Calculation is finished, i.e. termination criterion is fulfilled. |
|
SNAKE_FAIL
Something went wrong during the current iteration. |
|
SNAKE_SUCCESS
Iteration succeeded, but termination criterion failed. |
Method Summary | |
---|---|
static SnakeOptimizer.Snake_status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SnakeOptimizer.Snake_status[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SnakeOptimizer.Snake_status SNAKE_DONE
public static final SnakeOptimizer.Snake_status SNAKE_FAIL
public static final SnakeOptimizer.Snake_status SNAKE_SUCCESS
Method Detail |
---|
public static SnakeOptimizer.Snake_status 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 name
java.lang.NullPointerException
- if the argument is nullpublic static SnakeOptimizer.Snake_status[] values()
for (SnakeOptimizer.Snake_status c : SnakeOptimizer.Snake_status.values()) System.out.println(c);
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |