Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.graph.FlowModelProto.ProblemType Enum Reference

Detailed Description

The type of problem to solve.

Protobuf enum operations_research.FlowModelProto.ProblemType

Definition at line 60 of file FlowModelProto.java.

Inheritance diagram for com.google.ortools.graph.FlowModelProto.ProblemType:

Public Member Functions

final int getNumber ()
final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor ()
final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType ()

Static Public Member Functions

 [static initializer]
static ProblemType valueOf (int value)
static ProblemType forNumber (int value)
static com.google.protobuf.Internal.EnumLiteMap< ProblemTypeinternalGetValueMap ()
static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor ()
static ProblemType valueOf (com.google.protobuf.Descriptors.EnumValueDescriptor desc)

Public Attributes

 LINEAR_SUM_ASSIGNMENT =(0)
 MAX_FLOW =(1)
 MIN_COST_FLOW =(2)

Static Public Attributes

static final int LINEAR_SUM_ASSIGNMENT_VALUE = 0
static final int MAX_FLOW_VALUE = 1
static final int MIN_COST_FLOW_VALUE = 2

Member Function Documentation

◆ [static initializer]()

com.google.ortools.graph.FlowModelProto.ProblemType.[static initializer]
static

◆ forNumber()

ProblemType com.google.ortools.graph.FlowModelProto.ProblemType.forNumber ( int value)
static
Parameters
valueThe numeric wire value of the corresponding enum entry.
Returns
The enum associated with the given numeric wire value.

Definition at line 117 of file FlowModelProto.java.

◆ getDescriptor()

com.google.protobuf.Descriptors.EnumDescriptor com.google.ortools.graph.FlowModelProto.ProblemType.getDescriptor ( )
static

Definition at line 147 of file FlowModelProto.java.

◆ getDescriptorForType()

final com.google.protobuf.Descriptors.EnumDescriptor com.google.ortools.graph.FlowModelProto.ProblemType.getDescriptorForType ( )

Definition at line 143 of file FlowModelProto.java.

◆ getNumber()

final int com.google.ortools.graph.FlowModelProto.ProblemType.getNumber ( )

Definition at line 99 of file FlowModelProto.java.

◆ getValueDescriptor()

final com.google.protobuf.Descriptors.EnumValueDescriptor com.google.ortools.graph.FlowModelProto.ProblemType.getValueDescriptor ( )

Definition at line 139 of file FlowModelProto.java.

◆ internalGetValueMap()

com.google.protobuf.Internal.EnumLiteMap< ProblemType > com.google.ortools.graph.FlowModelProto.ProblemType.internalGetValueMap ( )
static

Definition at line 127 of file FlowModelProto.java.

◆ valueOf() [1/2]

ProblemType com.google.ortools.graph.FlowModelProto.ProblemType.valueOf ( com.google.protobuf.Descriptors.EnumValueDescriptor desc)
static

Definition at line 153 of file FlowModelProto.java.

◆ valueOf() [2/2]

ProblemType com.google.ortools.graph.FlowModelProto.ProblemType.valueOf ( int value)
static
Parameters
valueThe numeric wire value of the corresponding enum entry.
Returns
The enum associated with the given numeric wire value.
Deprecated
Use forNumber(int) instead.

Definition at line 109 of file FlowModelProto.java.

Member Data Documentation

◆ LINEAR_SUM_ASSIGNMENT

com.google.ortools.graph.FlowModelProto.ProblemType.LINEAR_SUM_ASSIGNMENT =(0)

LINEAR_SUM_ASSIGNMENT = 0;

Definition at line 65 of file FlowModelProto.java.

◆ LINEAR_SUM_ASSIGNMENT_VALUE

final int com.google.ortools.graph.FlowModelProto.ProblemType.LINEAR_SUM_ASSIGNMENT_VALUE = 0
static

LINEAR_SUM_ASSIGNMENT = 0;

Definition at line 88 of file FlowModelProto.java.

◆ MAX_FLOW

com.google.ortools.graph.FlowModelProto.ProblemType.MAX_FLOW =(1)

MAX_FLOW = 1;

Definition at line 69 of file FlowModelProto.java.

◆ MAX_FLOW_VALUE

final int com.google.ortools.graph.FlowModelProto.ProblemType.MAX_FLOW_VALUE = 1
static

MAX_FLOW = 1;

Definition at line 92 of file FlowModelProto.java.

◆ MIN_COST_FLOW

com.google.ortools.graph.FlowModelProto.ProblemType.MIN_COST_FLOW =(2)

MIN_COST_FLOW = 2;

Definition at line 73 of file FlowModelProto.java.

◆ MIN_COST_FLOW_VALUE

final int com.google.ortools.graph.FlowModelProto.ProblemType.MIN_COST_FLOW_VALUE = 2
static

MIN_COST_FLOW = 2;

Definition at line 96 of file FlowModelProto.java.


The documentation for this enum was generated from the following file: