Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.graph.FlowModelProto.ProblemType Enum Reference
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 ProblemType valueOf (int value)
 
static ProblemType forNumber (int value)
 
static com.google.protobuf.Internal.EnumLiteMap< ProblemTypeinternalGetValueMap ()
 
static final 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
 

Detailed Description

The type of problem to solve.

Protobuf enum operations_research.FlowModelProto.ProblemType

Definition at line 56 of file FlowModelProto.java.

Member Function Documentation

◆ forNumber()

static 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 104 of file FlowModelProto.java.

◆ getDescriptor()

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

Definition at line 134 of file FlowModelProto.java.

◆ getDescriptorForType()

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

Definition at line 130 of file FlowModelProto.java.

◆ getNumber()

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

Definition at line 86 of file FlowModelProto.java.

◆ getValueDescriptor()

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

Definition at line 126 of file FlowModelProto.java.

◆ internalGetValueMap()

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

Definition at line 114 of file FlowModelProto.java.

◆ valueOf() [1/2]

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

Definition at line 140 of file FlowModelProto.java.

◆ valueOf() [2/2]

static 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 96 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 61 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 75 of file FlowModelProto.java.

◆ MAX_FLOW

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

MAX_FLOW = 1;

Definition at line 65 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 79 of file FlowModelProto.java.

◆ MIN_COST_FLOW

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

MIN_COST_FLOW = 2;

Definition at line 69 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 83 of file FlowModelProto.java.


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