public static enum SnakeOptimizer.Snake_status extends Enum<SnakeOptimizer.Snake_status>
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 and Description | 
|---|
| SNAKE_DONECalculation is finished, i.e. termination criterion is fulfilled. | 
| SNAKE_FAILSomething went wrong during the current iteration. | 
| SNAKE_SUCCESSIteration succeeded, but termination criterion failed. | 
| Modifier and Type | Method and Description | 
|---|---|
| static SnakeOptimizer.Snake_status | valueOf(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. | 
public static final SnakeOptimizer.Snake_status SNAKE_DONE
public static final SnakeOptimizer.Snake_status SNAKE_FAIL
public static final SnakeOptimizer.Snake_status SNAKE_SUCCESS
public static SnakeOptimizer.Snake_status[] values()
for (SnakeOptimizer.Snake_status c : SnakeOptimizer.Snake_status.values()) System.out.println(c);
public static SnakeOptimizer.Snake_status 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 © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.