Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Classes | |
class | Builder |
Public Member Functions | |
boolean | hasTail () |
long | getTail () |
boolean | hasHead () |
long | getHead () |
boolean | hasCapacity () |
long | getCapacity () |
boolean | hasUnitCost () |
long | getUnitCost () |
final boolean | isInitialized () |
void | writeTo (com.google.protobuf.CodedOutputStream output) throws java.io.IOException |
int | getSerializedSize () |
boolean | equals (final java.lang.Object obj) |
int | hashCode () |
Builder | newBuilderForType () |
Builder | toBuilder () |
com.google.protobuf.Parser< FlowArcProto > | getParserForType () |
com.google.ortools.graph.FlowArcProto | getDefaultInstanceForType () |
Public Member Functions inherited from com.google.ortools.graph.FlowArcProtoOrBuilder |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
static com.google.ortools.graph.FlowArcProto | parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.graph.FlowArcProto | parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.graph.FlowArcProto | parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.graph.FlowArcProto | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.graph.FlowArcProto | parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.graph.FlowArcProto | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.graph.FlowArcProto | parseFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.graph.FlowArcProto | parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.graph.FlowArcProto | parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.graph.FlowArcProto | parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.graph.FlowArcProto | parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException |
static com.google.ortools.graph.FlowArcProto | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static Builder | newBuilder () |
static Builder | newBuilder (com.google.ortools.graph.FlowArcProto prototype) |
static com.google.ortools.graph.FlowArcProto | getDefaultInstance () |
static com.google.protobuf.Parser< FlowArcProto > | parser () |
Static Public Attributes | |
static final int | TAIL_FIELD_NUMBER = 1 |
static final int | HEAD_FIELD_NUMBER = 2 |
static final int | CAPACITY_FIELD_NUMBER = 3 |
static final int | UNIT_COST_FIELD_NUMBER = 4 |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
Builder | newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent) |
Protobuf type operations_research.FlowArcProto
Definition at line 10 of file FlowArcProto.java.
boolean com.google.ortools.graph.FlowArcProto.equals | ( | final java.lang.Object | obj | ) |
Definition at line 209 of file FlowArcProto.java.
long com.google.ortools.graph.FlowArcProto.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 119 of file FlowArcProto.java.
|
static |
Definition at line 773 of file FlowArcProto.java.
com.google.ortools.graph.FlowArcProto com.google.ortools.graph.FlowArcProto.getDefaultInstanceForType | ( | ) |
Definition at line 809 of file FlowArcProto.java.
|
static |
Definition at line 33 of file FlowArcProto.java.
long com.google.ortools.graph.FlowArcProto.getHead | ( | ) |
optional int64 head = 2;
Implements com.google.ortools.graph.FlowArcProtoOrBuilder.
Definition at line 90 of file FlowArcProto.java.
com.google.protobuf.Parser< FlowArcProto > com.google.ortools.graph.FlowArcProto.getParserForType | ( | ) |
Definition at line 804 of file FlowArcProto.java.
int com.google.ortools.graph.FlowArcProto.getSerializedSize | ( | ) |
Definition at line 182 of file FlowArcProto.java.
long com.google.ortools.graph.FlowArcProto.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 71 of file FlowArcProto.java.
long com.google.ortools.graph.FlowArcProto.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 148 of file FlowArcProto.java.
boolean com.google.ortools.graph.FlowArcProto.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 106 of file FlowArcProto.java.
int com.google.ortools.graph.FlowArcProto.hashCode | ( | ) |
Definition at line 243 of file FlowArcProto.java.
boolean com.google.ortools.graph.FlowArcProto.hasHead | ( | ) |
optional int64 head = 2;
Implements com.google.ortools.graph.FlowArcProtoOrBuilder.
Definition at line 82 of file FlowArcProto.java.
boolean com.google.ortools.graph.FlowArcProto.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 58 of file FlowArcProto.java.
boolean com.google.ortools.graph.FlowArcProto.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 135 of file FlowArcProto.java.
|
protected |
Definition at line 39 of file FlowArcProto.java.
final boolean com.google.ortools.graph.FlowArcProto.isInitialized | ( | ) |
Definition at line 154 of file FlowArcProto.java.
|
static |
Definition at line 348 of file FlowArcProto.java.
|
static |
Definition at line 351 of file FlowArcProto.java.
Builder com.google.ortools.graph.FlowArcProto.newBuilderForType | ( | ) |
Definition at line 347 of file FlowArcProto.java.
|
protected |
Definition at line 361 of file FlowArcProto.java.
|
static |
Definition at line 319 of file FlowArcProto.java.
|
static |
Definition at line 325 of file FlowArcProto.java.
|
static |
Definition at line 296 of file FlowArcProto.java.
|
static |
Definition at line 300 of file FlowArcProto.java.
|
static |
Definition at line 285 of file FlowArcProto.java.
|
static |
Definition at line 290 of file FlowArcProto.java.
|
static |
Definition at line 332 of file FlowArcProto.java.
|
static |
Definition at line 338 of file FlowArcProto.java.
|
static |
Definition at line 306 of file FlowArcProto.java.
|
static |
Definition at line 311 of file FlowArcProto.java.
|
static |
Definition at line 274 of file FlowArcProto.java.
|
static |
Definition at line 279 of file FlowArcProto.java.
|
static |
Definition at line 799 of file FlowArcProto.java.
Builder com.google.ortools.graph.FlowArcProto.toBuilder | ( | ) |
Definition at line 355 of file FlowArcProto.java.
void com.google.ortools.graph.FlowArcProto.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 164 of file FlowArcProto.java.
|
static |
Definition at line 94 of file FlowArcProto.java.
|
static |
Definition at line 75 of file FlowArcProto.java.
|
static |
Definition at line 46 of file FlowArcProto.java.
|
static |
Definition at line 123 of file FlowArcProto.java.