public static enum GlopParameters.SolverBehavior extends java.lang.Enum<GlopParameters.SolverBehavior> implements com.google.protobuf.ProtocolMessageEnum
Like a Boolean with an extra value to let the algorithm decide what is the best choice.Protobuf enum
operations_research.glop.GlopParameters.SolverBehavior
Enum Constant and Description |
---|
ALWAYS_DO
ALWAYS_DO = 0; |
LET_SOLVER_DECIDE
LET_SOLVER_DECIDE = 2; |
NEVER_DO
NEVER_DO = 1; |
Modifier and Type | Field and Description |
---|---|
static int |
ALWAYS_DO_VALUE
ALWAYS_DO = 0; |
static int |
LET_SOLVER_DECIDE_VALUE
LET_SOLVER_DECIDE = 2; |
static int |
NEVER_DO_VALUE
NEVER_DO = 1; |
Modifier and Type | Method and Description |
---|---|
static GlopParameters.SolverBehavior |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<GlopParameters.SolverBehavior> |
internalGetValueMap() |
static GlopParameters.SolverBehavior |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static GlopParameters.SolverBehavior |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static GlopParameters.SolverBehavior |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GlopParameters.SolverBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GlopParameters.SolverBehavior ALWAYS_DO
ALWAYS_DO = 0;
public static final GlopParameters.SolverBehavior NEVER_DO
NEVER_DO = 1;
public static final GlopParameters.SolverBehavior LET_SOLVER_DECIDE
LET_SOLVER_DECIDE = 2;
public static final int ALWAYS_DO_VALUE
ALWAYS_DO = 0;
public static final int NEVER_DO_VALUE
NEVER_DO = 1;
public static final int LET_SOLVER_DECIDE_VALUE
LET_SOLVER_DECIDE = 2;
public static GlopParameters.SolverBehavior[] values()
for (GlopParameters.SolverBehavior c : GlopParameters.SolverBehavior.values()) System.out.println(c);
public static GlopParameters.SolverBehavior 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 namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static GlopParameters.SolverBehavior valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static GlopParameters.SolverBehavior forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<GlopParameters.SolverBehavior> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static GlopParameters.SolverBehavior valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025. All rights reserved.