![]() |
Google OR-Tools v9.12
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 | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
Builder | newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent) |
Protobuf type operations_research.SetCoverProto.Subset
Definition at line 107 of file SetCoverProto.java.
boolean com.google.ortools.algorithms.SetCoverProto.Subset.equals | ( | final java.lang.Object | obj | ) |
Definition at line 270 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 166 of file SetCoverProto.java.
|
static |
Definition at line 752 of file SetCoverProto.java.
com.google.ortools.algorithms.SetCoverProto.Subset com.google.ortools.algorithms.SetCoverProto.Subset.getDefaultInstanceForType | ( | ) |
Definition at line 788 of file SetCoverProto.java.
|
static |
Definition at line 130 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 207 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 195 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 184 of file SetCoverProto.java.
com.google.protobuf.Parser< Subset > com.google.ortools.algorithms.SetCoverProto.Subset.getParserForType | ( | ) |
Definition at line 783 of file SetCoverProto.java.
int com.google.ortools.algorithms.SetCoverProto.Subset.getSerializedSize | ( | ) |
Definition at line 241 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 154 of file SetCoverProto.java.
int com.google.ortools.algorithms.SetCoverProto.Subset.hashCode | ( | ) |
Definition at line 292 of file SetCoverProto.java.
|
protected |
Definition at line 136 of file SetCoverProto.java.
final boolean com.google.ortools.algorithms.SetCoverProto.Subset.isInitialized | ( | ) |
Definition at line 214 of file SetCoverProto.java.
|
static |
Definition at line 386 of file SetCoverProto.java.
|
static |
Definition at line 389 of file SetCoverProto.java.
Builder com.google.ortools.algorithms.SetCoverProto.Subset.newBuilderForType | ( | ) |
Definition at line 385 of file SetCoverProto.java.
|
protected |
Definition at line 399 of file SetCoverProto.java.
|
static |
Definition at line 357 of file SetCoverProto.java.
|
static |
Definition at line 363 of file SetCoverProto.java.
|
static |
Definition at line 334 of file SetCoverProto.java.
|
static |
Definition at line 338 of file SetCoverProto.java.
|
static |
Definition at line 323 of file SetCoverProto.java.
|
static |
Definition at line 328 of file SetCoverProto.java.
|
static |
Definition at line 370 of file SetCoverProto.java.
|
static |
Definition at line 376 of file SetCoverProto.java.
|
static |
Definition at line 344 of file SetCoverProto.java.
|
static |
Definition at line 349 of file SetCoverProto.java.
|
static |
Definition at line 312 of file SetCoverProto.java.
|
static |
Definition at line 317 of file SetCoverProto.java.
|
static |
Definition at line 778 of file SetCoverProto.java.
Builder com.google.ortools.algorithms.SetCoverProto.Subset.toBuilder | ( | ) |
Definition at line 393 of file SetCoverProto.java.
void com.google.ortools.algorithms.SetCoverProto.Subset.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 224 of file SetCoverProto.java.
|
static |
Definition at line 143 of file SetCoverProto.java.
|
static |
Definition at line 170 of file SetCoverProto.java.