Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Classes | |
class | Builder |
Public Member Functions | |
boolean | hasId () |
long | getId () |
boolean | hasSupply () |
long | getSupply () |
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< FlowNodeProto > | getParserForType () |
com.google.ortools.graph.FlowNodeProto | getDefaultInstanceForType () |
Public Member Functions inherited from com.google.ortools.graph.FlowNodeProtoOrBuilder |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
static com.google.ortools.graph.FlowNodeProto | parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.graph.FlowNodeProto | parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.graph.FlowNodeProto | parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.graph.FlowNodeProto | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.graph.FlowNodeProto | parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.graph.FlowNodeProto | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.graph.FlowNodeProto | parseFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.graph.FlowNodeProto | parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.graph.FlowNodeProto | parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.graph.FlowNodeProto | parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.graph.FlowNodeProto | parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException |
static com.google.ortools.graph.FlowNodeProto | 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.FlowNodeProto prototype) |
static com.google.ortools.graph.FlowNodeProto | getDefaultInstance () |
static com.google.protobuf.Parser< FlowNodeProto > | parser () |
Static Public Attributes | |
static final int | ID_FIELD_NUMBER = 1 |
static final int | SUPPLY_FIELD_NUMBER = 2 |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
Builder | newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent) |
Protobuf type operations_research.FlowNodeProto
Definition at line 10 of file FlowNodeProto.java.
boolean com.google.ortools.graph.FlowNodeProto.equals | ( | final java.lang.Object | obj | ) |
Definition at line 148 of file FlowNodeProto.java.
|
static |
Definition at line 570 of file FlowNodeProto.java.
com.google.ortools.graph.FlowNodeProto com.google.ortools.graph.FlowNodeProto.getDefaultInstanceForType | ( | ) |
Definition at line 606 of file FlowNodeProto.java.
|
static |
Definition at line 32 of file FlowNodeProto.java.
long com.google.ortools.graph.FlowNodeProto.getId | ( | ) |
The ids must be non-negative (>= 0). They should be dense for good performance. Note that it is not mandatory to include nodes with no supply in a FlowModelProto.
optional int64 id = 1;
Implements com.google.ortools.graph.FlowNodeProtoOrBuilder.
Definition at line 72 of file FlowNodeProto.java.
com.google.protobuf.Parser< FlowNodeProto > com.google.ortools.graph.FlowNodeProto.getParserForType | ( | ) |
Definition at line 601 of file FlowNodeProto.java.
int com.google.ortools.graph.FlowNodeProto.getSerializedSize | ( | ) |
Definition at line 129 of file FlowNodeProto.java.
long com.google.ortools.graph.FlowNodeProto.getSupply | ( | ) |
The supply can be positive or negative in which case it means demand. The sum of the supplies over all nodes must always be 0.
optional int64 supply = 2 [default = 0];
Implements com.google.ortools.graph.FlowNodeProtoOrBuilder.
Definition at line 101 of file FlowNodeProto.java.
int com.google.ortools.graph.FlowNodeProto.hashCode | ( | ) |
Definition at line 172 of file FlowNodeProto.java.
boolean com.google.ortools.graph.FlowNodeProto.hasId | ( | ) |
The ids must be non-negative (>= 0). They should be dense for good performance. Note that it is not mandatory to include nodes with no supply in a FlowModelProto.
optional int64 id = 1;
Implements com.google.ortools.graph.FlowNodeProtoOrBuilder.
Definition at line 58 of file FlowNodeProto.java.
boolean com.google.ortools.graph.FlowNodeProto.hasSupply | ( | ) |
The supply can be positive or negative in which case it means demand. The sum of the supplies over all nodes must always be 0.
optional int64 supply = 2 [default = 0];
Implements com.google.ortools.graph.FlowNodeProtoOrBuilder.
Definition at line 88 of file FlowNodeProto.java.
|
protected |
Definition at line 38 of file FlowNodeProto.java.
final boolean com.google.ortools.graph.FlowNodeProto.isInitialized | ( | ) |
Definition at line 107 of file FlowNodeProto.java.
|
static |
Definition at line 267 of file FlowNodeProto.java.
|
static |
Definition at line 270 of file FlowNodeProto.java.
Builder com.google.ortools.graph.FlowNodeProto.newBuilderForType | ( | ) |
Definition at line 266 of file FlowNodeProto.java.
|
protected |
Definition at line 280 of file FlowNodeProto.java.
|
static |
Definition at line 238 of file FlowNodeProto.java.
|
static |
Definition at line 244 of file FlowNodeProto.java.
|
static |
Definition at line 215 of file FlowNodeProto.java.
|
static |
Definition at line 219 of file FlowNodeProto.java.
|
static |
Definition at line 204 of file FlowNodeProto.java.
|
static |
Definition at line 209 of file FlowNodeProto.java.
|
static |
Definition at line 251 of file FlowNodeProto.java.
|
static |
Definition at line 257 of file FlowNodeProto.java.
|
static |
Definition at line 225 of file FlowNodeProto.java.
|
static |
Definition at line 230 of file FlowNodeProto.java.
|
static |
Definition at line 193 of file FlowNodeProto.java.
|
static |
Definition at line 198 of file FlowNodeProto.java.
|
static |
Definition at line 596 of file FlowNodeProto.java.
Builder com.google.ortools.graph.FlowNodeProto.toBuilder | ( | ) |
Definition at line 274 of file FlowNodeProto.java.
void com.google.ortools.graph.FlowNodeProto.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 117 of file FlowNodeProto.java.
|
static |
Definition at line 45 of file FlowNodeProto.java.
|
static |
Definition at line 76 of file FlowNodeProto.java.