public enum ObjectiveKind extends Enum<ObjectiveKind>
Enum Constant and Description |
---|
MAXIMIZE
The optimization target should be maximized.
|
MINIMIZE
The optimization target should be minimized.
|
TARGET
The objective should be as close to a target value as possible
|
Modifier and Type | Method and Description |
---|---|
static ObjectiveKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectiveKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectiveKind MINIMIZE
public static final ObjectiveKind MAXIMIZE
public static final ObjectiveKind TARGET
public static ObjectiveKind[] values()
for (ObjectiveKind c : ObjectiveKind.values()) System.out.println(c);
public static ObjectiveKind 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 © 2021. All rights reserved.