![]() |
Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
Builder | clear () |
com.google.protobuf.Descriptors.Descriptor | getDescriptorForType () |
com.google.ortools.graph.FlowArcProto | getDefaultInstanceForType () |
com.google.ortools.graph.FlowArcProto | build () |
com.google.ortools.graph.FlowArcProto | buildPartial () |
Builder | mergeFrom (com.google.protobuf.Message other) |
Builder | mergeFrom (com.google.ortools.graph.FlowArcProto other) |
final boolean | isInitialized () |
Builder | mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
boolean | hasTail () |
long | getTail () |
Builder | setTail (long value) |
Builder | clearTail () |
boolean | hasHead () |
long | getHead () |
Builder | setHead (long value) |
Builder | clearHead () |
boolean | hasCapacity () |
long | getCapacity () |
Builder | setCapacity (long value) |
Builder | clearCapacity () |
boolean | hasUnitCost () |
long | getUnitCost () |
Builder | setUnitCost (long value) |
Builder | clearUnitCost () |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
Protobuf type operations_research.FlowArcProto
Definition at line 370 of file FlowArcProto.java.
com.google.ortools.graph.FlowArcProto com.google.ortools.graph.FlowArcProto.Builder.build | ( | ) |
Definition at line 420 of file FlowArcProto.java.
com.google.ortools.graph.FlowArcProto com.google.ortools.graph.FlowArcProto.Builder.buildPartial | ( | ) |
Definition at line 429 of file FlowArcProto.java.
Builder com.google.ortools.graph.FlowArcProto.Builder.clear | ( | ) |
Definition at line 398 of file FlowArcProto.java.
Builder com.google.ortools.graph.FlowArcProto.Builder.clearCapacity | ( | ) |
Capacity of the arc. Must be non-negative (>= 0). If the capacity is zero, it is equivalent to not including the arc in the FlowModelProto.
optional int64 capacity = 3 [default = 1];
Definition at line 698 of file FlowArcProto.java.
Builder com.google.ortools.graph.FlowArcProto.Builder.clearHead | ( | ) |
optional int64 head = 2;
Definition at line 638 of file FlowArcProto.java.
Builder com.google.ortools.graph.FlowArcProto.Builder.clearTail | ( | ) |
A directed arc goes from a tail node to a head node. Node ids must be non-negative (>= 0).
optional int64 tail = 1;
Definition at line 598 of file FlowArcProto.java.
Builder com.google.ortools.graph.FlowArcProto.Builder.clearUnitCost | ( | ) |
Cost of this arc per unit of flow. Note that it can take any positive, negative or null value.
optional int64 unit_cost = 4 [default = 0];
Definition at line 758 of file FlowArcProto.java.
long com.google.ortools.graph.FlowArcProto.Builder.getCapacity | ( | ) |
Capacity of the arc. Must be non-negative (>= 0). If the capacity is zero, it is equivalent to not including the arc in the FlowModelProto.
optional int64 capacity = 3 [default = 1];
Implements com.google.ortools.graph.FlowArcProtoOrBuilder.
Definition at line 669 of file FlowArcProto.java.
com.google.ortools.graph.FlowArcProto com.google.ortools.graph.FlowArcProto.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 415 of file FlowArcProto.java.
|
static |
Definition at line 375 of file FlowArcProto.java.
com.google.protobuf.Descriptors.Descriptor com.google.ortools.graph.FlowArcProto.Builder.getDescriptorForType | ( | ) |
Definition at line 410 of file FlowArcProto.java.
long com.google.ortools.graph.FlowArcProto.Builder.getHead | ( | ) |
optional int64 head = 2;
Implements com.google.ortools.graph.FlowArcProtoOrBuilder.
Definition at line 619 of file FlowArcProto.java.
long com.google.ortools.graph.FlowArcProto.Builder.getTail | ( | ) |
A directed arc goes from a tail node to a head node. Node ids must be non-negative (>= 0).
optional int64 tail = 1;
Implements com.google.ortools.graph.FlowArcProtoOrBuilder.
Definition at line 569 of file FlowArcProto.java.
long com.google.ortools.graph.FlowArcProto.Builder.getUnitCost | ( | ) |
Cost of this arc per unit of flow. Note that it can take any positive, negative or null value.
optional int64 unit_cost = 4 [default = 0];
Implements com.google.ortools.graph.FlowArcProtoOrBuilder.
Definition at line 729 of file FlowArcProto.java.
boolean com.google.ortools.graph.FlowArcProto.Builder.hasCapacity | ( | ) |
Capacity of the arc. Must be non-negative (>= 0). If the capacity is zero, it is equivalent to not including the arc in the FlowModelProto.
optional int64 capacity = 3 [default = 1];
Implements com.google.ortools.graph.FlowArcProtoOrBuilder.
Definition at line 656 of file FlowArcProto.java.
boolean com.google.ortools.graph.FlowArcProto.Builder.hasHead | ( | ) |
optional int64 head = 2;
Implements com.google.ortools.graph.FlowArcProtoOrBuilder.
Definition at line 611 of file FlowArcProto.java.
boolean com.google.ortools.graph.FlowArcProto.Builder.hasTail | ( | ) |
A directed arc goes from a tail node to a head node. Node ids must be non-negative (>= 0).
optional int64 tail = 1;
Implements com.google.ortools.graph.FlowArcProtoOrBuilder.
Definition at line 556 of file FlowArcProto.java.
boolean com.google.ortools.graph.FlowArcProto.Builder.hasUnitCost | ( | ) |
Cost of this arc per unit of flow. Note that it can take any positive, negative or null value.
optional int64 unit_cost = 4 [default = 0];
Implements com.google.ortools.graph.FlowArcProtoOrBuilder.
Definition at line 716 of file FlowArcProto.java.
|
protected |
Definition at line 381 of file FlowArcProto.java.
final boolean com.google.ortools.graph.FlowArcProto.Builder.isInitialized | ( | ) |
Definition at line 488 of file FlowArcProto.java.
Builder com.google.ortools.graph.FlowArcProto.Builder.mergeFrom | ( | com.google.ortools.graph.FlowArcProto | other | ) |
Definition at line 468 of file FlowArcProto.java.
Builder com.google.ortools.graph.FlowArcProto.Builder.mergeFrom | ( | com.google.protobuf.CodedInputStream | input, |
com.google.protobuf.ExtensionRegistryLite | extensionRegistry ) throws java.io.IOException |
Definition at line 493 of file FlowArcProto.java.
Builder com.google.ortools.graph.FlowArcProto.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 459 of file FlowArcProto.java.
Builder com.google.ortools.graph.FlowArcProto.Builder.setCapacity | ( | long | value | ) |
Capacity of the arc. Must be non-negative (>= 0). If the capacity is zero, it is equivalent to not including the arc in the FlowModelProto.
optional int64 capacity = 3 [default = 1];
value | The capacity to set. |
Definition at line 682 of file FlowArcProto.java.
Builder com.google.ortools.graph.FlowArcProto.Builder.setHead | ( | long | value | ) |
optional int64 head = 2;
value | The head to set. |
Definition at line 627 of file FlowArcProto.java.
Builder com.google.ortools.graph.FlowArcProto.Builder.setTail | ( | long | value | ) |
A directed arc goes from a tail node to a head node. Node ids must be non-negative (>= 0).
optional int64 tail = 1;
value | The tail to set. |
Definition at line 582 of file FlowArcProto.java.
Builder com.google.ortools.graph.FlowArcProto.Builder.setUnitCost | ( | long | value | ) |
Cost of this arc per unit of flow. Note that it can take any positive, negative or null value.
optional int64 unit_cost = 4 [default = 0];
value | The unitCost to set. |
Definition at line 742 of file FlowArcProto.java.