public enum ObjectiveSense extends Enum<ObjectiveSense>
MAXIMIZE
means the
goal is to maximize the linear programming objective value, MINIMIZE
- to
minimize the linear programming objective value.KolmogorovWeightedMatching
,
KolmogorovWeightedPerfectMatching
Modifier and Type | Method and Description |
---|---|
static ObjectiveSense |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectiveSense[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectiveSense MAXIMIZE
public static final ObjectiveSense MINIMIZE
public static ObjectiveSense[] values()
for (ObjectiveSense c : ObjectiveSense.values()) System.out.println(c);
public static ObjectiveSense 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 © 2019. All rights reserved.