Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
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 369 of file FlowArcProto.java.
com.google.ortools.graph.FlowArcProto com.google.ortools.graph.FlowArcProto.Builder.build | ( | ) |
Definition at line 419 of file FlowArcProto.java.
com.google.ortools.graph.FlowArcProto com.google.ortools.graph.FlowArcProto.Builder.buildPartial | ( | ) |
Definition at line 428 of file FlowArcProto.java.
Builder com.google.ortools.graph.FlowArcProto.Builder.clear | ( | ) |
Definition at line 397 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 697 of file FlowArcProto.java.
Builder com.google.ortools.graph.FlowArcProto.Builder.clearHead | ( | ) |
optional int64 head = 2;
Definition at line 637 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 597 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 757 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 668 of file FlowArcProto.java.
com.google.ortools.graph.FlowArcProto com.google.ortools.graph.FlowArcProto.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 414 of file FlowArcProto.java.
|
static |
Definition at line 374 of file FlowArcProto.java.
com.google.protobuf.Descriptors.Descriptor com.google.ortools.graph.FlowArcProto.Builder.getDescriptorForType | ( | ) |
Definition at line 409 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 618 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 568 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 728 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 655 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 610 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 555 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 715 of file FlowArcProto.java.
|
protected |
Definition at line 380 of file FlowArcProto.java.
final boolean com.google.ortools.graph.FlowArcProto.Builder.isInitialized | ( | ) |
Definition at line 487 of file FlowArcProto.java.
Builder com.google.ortools.graph.FlowArcProto.Builder.mergeFrom | ( | com.google.ortools.graph.FlowArcProto | other | ) |
Definition at line 467 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 492 of file FlowArcProto.java.
Builder com.google.ortools.graph.FlowArcProto.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 458 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 681 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 626 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 581 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 741 of file FlowArcProto.java.