public static enum FlowModelProto.ProblemType extends java.lang.Enum<FlowModelProto.ProblemType> implements com.google.protobuf.ProtocolMessageEnum
The type of problem to solve.Protobuf enum
operations_research.FlowModelProto.ProblemType
Enum Constant and Description |
---|
LINEAR_SUM_ASSIGNMENT
LINEAR_SUM_ASSIGNMENT = 0; |
MAX_FLOW
MAX_FLOW = 1; |
MIN_COST_FLOW
MIN_COST_FLOW = 2; |
Modifier and Type | Field and Description |
---|---|
static int |
LINEAR_SUM_ASSIGNMENT_VALUE
LINEAR_SUM_ASSIGNMENT = 0; |
static int |
MAX_FLOW_VALUE
MAX_FLOW = 1; |
static int |
MIN_COST_FLOW_VALUE
MIN_COST_FLOW = 2; |
Modifier and Type | Method and Description |
---|---|
static FlowModelProto.ProblemType |
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<FlowModelProto.ProblemType> |
internalGetValueMap() |
static FlowModelProto.ProblemType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static FlowModelProto.ProblemType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static FlowModelProto.ProblemType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FlowModelProto.ProblemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlowModelProto.ProblemType LINEAR_SUM_ASSIGNMENT
LINEAR_SUM_ASSIGNMENT = 0;
public static final FlowModelProto.ProblemType MAX_FLOW
MAX_FLOW = 1;
public static final FlowModelProto.ProblemType MIN_COST_FLOW
MIN_COST_FLOW = 2;
public static final int LINEAR_SUM_ASSIGNMENT_VALUE
LINEAR_SUM_ASSIGNMENT = 0;
public static final int MAX_FLOW_VALUE
MAX_FLOW = 1;
public static final int MIN_COST_FLOW_VALUE
MIN_COST_FLOW = 2;
public static FlowModelProto.ProblemType[] values()
for (FlowModelProto.ProblemType c : FlowModelProto.ProblemType.values()) System.out.println(c);
public static FlowModelProto.ProblemType 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 FlowModelProto.ProblemType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static FlowModelProto.ProblemType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<FlowModelProto.ProblemType> 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 FlowModelProto.ProblemType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025. All rights reserved.