Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
|
Classes | |
class | Builder |
Public Member Functions | |
boolean | hasCost () |
double | getCost () |
java.util.List< java.lang.Integer > | getElementList () |
int | getElementCount () |
int | getElement (int index) |
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< Subset > | getParserForType () |
com.google.ortools.algorithms.SetCoverProto.Subset | getDefaultInstanceForType () |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
static com.google.ortools.algorithms.SetCoverProto.Subset | parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.algorithms.SetCoverProto.Subset | parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.algorithms.SetCoverProto.Subset | parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.algorithms.SetCoverProto.Subset | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.algorithms.SetCoverProto.Subset | parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.algorithms.SetCoverProto.Subset | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.algorithms.SetCoverProto.Subset | parseFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.algorithms.SetCoverProto.Subset | parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.algorithms.SetCoverProto.Subset | parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.algorithms.SetCoverProto.Subset | parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.algorithms.SetCoverProto.Subset | parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException |
static com.google.ortools.algorithms.SetCoverProto.Subset | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static Builder | newBuilder () |
static Builder | newBuilder (com.google.ortools.algorithms.SetCoverProto.Subset prototype) |
static com.google.ortools.algorithms.SetCoverProto.Subset | getDefaultInstance () |
static com.google.protobuf.Parser< Subset > | parser () |
Static Public Attributes | |
static final int | COST_FIELD_NUMBER = 1 |
static final int | ELEMENT_FIELD_NUMBER = 2 |
Protected Member Functions | |
java.lang.Object | newInstance (UnusedPrivateParameter unused) |
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable | internalGetFieldAccessorTable () |
Builder | newBuilderForType (com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
Protobuf type operations_research.SetCoverProto.Subset
Definition at line 99 of file SetCoverProto.java.
boolean com.google.ortools.algorithms.SetCoverProto.Subset.equals | ( | final java.lang.Object | obj | ) |
Definition at line 260 of file SetCoverProto.java.
double com.google.ortools.algorithms.SetCoverProto.Subset.getCost | ( | ) |
The cost for using the given subset.
optional double cost = 1;
Implements com.google.ortools.algorithms.SetCoverProto.SubsetOrBuilder.
Definition at line 156 of file SetCoverProto.java.
|
static |
Definition at line 786 of file SetCoverProto.java.
com.google.ortools.algorithms.SetCoverProto.Subset com.google.ortools.algorithms.SetCoverProto.Subset.getDefaultInstanceForType | ( | ) |
Definition at line 822 of file SetCoverProto.java.
|
static |
Definition at line 120 of file SetCoverProto.java.
int com.google.ortools.algorithms.SetCoverProto.Subset.getElement | ( | int | index | ) |
The list of elements in the subset.
repeated int32 element = 2 [packed = true];
index | The index of the element to return. |
Implements com.google.ortools.algorithms.SetCoverProto.SubsetOrBuilder.
Definition at line 197 of file SetCoverProto.java.
int com.google.ortools.algorithms.SetCoverProto.Subset.getElementCount | ( | ) |
The list of elements in the subset.
repeated int32 element = 2 [packed = true];
Implements com.google.ortools.algorithms.SetCoverProto.SubsetOrBuilder.
Definition at line 185 of file SetCoverProto.java.
java.util.List< java.lang.Integer > com.google.ortools.algorithms.SetCoverProto.Subset.getElementList | ( | ) |
The list of elements in the subset.
repeated int32 element = 2 [packed = true];
Implements com.google.ortools.algorithms.SetCoverProto.SubsetOrBuilder.
Definition at line 174 of file SetCoverProto.java.
com.google.protobuf.Parser< Subset > com.google.ortools.algorithms.SetCoverProto.Subset.getParserForType | ( | ) |
Definition at line 817 of file SetCoverProto.java.
int com.google.ortools.algorithms.SetCoverProto.Subset.getSerializedSize | ( | ) |
Definition at line 231 of file SetCoverProto.java.
boolean com.google.ortools.algorithms.SetCoverProto.Subset.hasCost | ( | ) |
The cost for using the given subset.
optional double cost = 1;
Implements com.google.ortools.algorithms.SetCoverProto.SubsetOrBuilder.
Definition at line 144 of file SetCoverProto.java.
int com.google.ortools.algorithms.SetCoverProto.Subset.hashCode | ( | ) |
Definition at line 282 of file SetCoverProto.java.
|
protected |
Definition at line 126 of file SetCoverProto.java.
final boolean com.google.ortools.algorithms.SetCoverProto.Subset.isInitialized | ( | ) |
Definition at line 204 of file SetCoverProto.java.
|
static |
Definition at line 376 of file SetCoverProto.java.
|
static |
Definition at line 379 of file SetCoverProto.java.
Builder com.google.ortools.algorithms.SetCoverProto.Subset.newBuilderForType | ( | ) |
Definition at line 375 of file SetCoverProto.java.
|
protected |
Definition at line 389 of file SetCoverProto.java.
|
protected |
Definition at line 114 of file SetCoverProto.java.
|
static |
Definition at line 347 of file SetCoverProto.java.
|
static |
Definition at line 353 of file SetCoverProto.java.
|
static |
Definition at line 324 of file SetCoverProto.java.
|
static |
Definition at line 328 of file SetCoverProto.java.
|
static |
Definition at line 313 of file SetCoverProto.java.
|
static |
Definition at line 318 of file SetCoverProto.java.
|
static |
Definition at line 360 of file SetCoverProto.java.
|
static |
Definition at line 366 of file SetCoverProto.java.
|
static |
Definition at line 334 of file SetCoverProto.java.
|
static |
Definition at line 339 of file SetCoverProto.java.
|
static |
Definition at line 302 of file SetCoverProto.java.
|
static |
Definition at line 307 of file SetCoverProto.java.
|
static |
Definition at line 812 of file SetCoverProto.java.
Builder com.google.ortools.algorithms.SetCoverProto.Subset.toBuilder | ( | ) |
Definition at line 383 of file SetCoverProto.java.
void com.google.ortools.algorithms.SetCoverProto.Subset.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 214 of file SetCoverProto.java.
|
static |
Definition at line 133 of file SetCoverProto.java.
|
static |
Definition at line 160 of file SetCoverProto.java.