Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.algorithms.SetCoverSolutionResponse Class Reference
Inheritance diagram for com.google.ortools.algorithms.SetCoverSolutionResponse:
com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder

Classes

class  Builder
 
enum  Status
 

Public Member Functions

boolean hasStatus ()
 
int getStatusValue ()
 
com.google.ortools.algorithms.SetCoverSolutionResponse.Status getStatus ()
 
boolean hasNumSubsets ()
 
int getNumSubsets ()
 
java.util.List< java.lang.Integer > getSubsetList ()
 
int getSubsetCount ()
 
int getSubset (int index)
 
boolean hasCost ()
 
double getCost ()
 
boolean hasCostLowerBound ()
 
double getCostLowerBound ()
 
boolean hasFingerprint ()
 
com.google.ortools.util.Int128 getFingerprint ()
 
com.google.ortools.util.Int128OrBuilder getFingerprintOrBuilder ()
 
boolean hasModelFingerprint ()
 
com.google.ortools.util.Int128 getModelFingerprint ()
 
com.google.ortools.util.Int128OrBuilder getModelFingerprintOrBuilder ()
 
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< SetCoverSolutionResponsegetParserForType ()
 
com.google.ortools.algorithms.SetCoverSolutionResponse getDefaultInstanceForType ()
 

Static Public Member Functions

static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
 
static com.google.ortools.algorithms.SetCoverSolutionResponse parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.algorithms.SetCoverSolutionResponse parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.algorithms.SetCoverSolutionResponse parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.algorithms.SetCoverSolutionResponse parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.algorithms.SetCoverSolutionResponse parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.algorithms.SetCoverSolutionResponse parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
 
static com.google.ortools.algorithms.SetCoverSolutionResponse parseFrom (java.io.InputStream input) throws java.io.IOException
 
static com.google.ortools.algorithms.SetCoverSolutionResponse parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
static com.google.ortools.algorithms.SetCoverSolutionResponse parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException
 
static com.google.ortools.algorithms.SetCoverSolutionResponse parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
 
static com.google.ortools.algorithms.SetCoverSolutionResponse parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException
 
static com.google.ortools.algorithms.SetCoverSolutionResponse 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.SetCoverSolutionResponse prototype)
 
static com.google.ortools.algorithms.SetCoverSolutionResponse getDefaultInstance ()
 
static com.google.protobuf.Parser< SetCoverSolutionResponseparser ()
 

Static Public Attributes

static final int STATUS_FIELD_NUMBER = 1
 
static final int NUM_SUBSETS_FIELD_NUMBER = 2
 
static final int SUBSET_FIELD_NUMBER = 3
 
static final int COST_FIELD_NUMBER = 4
 
static final int COST_LOWER_BOUND_FIELD_NUMBER = 5
 
static final int FINGERPRINT_FIELD_NUMBER = 6
 
static final int MODEL_FINGERPRINT_FIELD_NUMBER = 7
 

Protected Member Functions

com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable ()
 
Builder newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent)
 

Detailed Description

Protobuf type operations_research.SetCoverSolutionResponse

Definition at line 11 of file SetCoverSolutionResponse.java.

Member Function Documentation

◆ equals()

boolean com.google.ortools.algorithms.SetCoverSolutionResponse.equals ( final java.lang.Object obj)

Definition at line 569 of file SetCoverSolutionResponse.java.

◆ getCost()

double com.google.ortools.algorithms.SetCoverSolutionResponse.getCost ( )
The cost of the solution, as computed by the algorithm.

optional double cost = 4;

Returns
The cost.

Implements com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.

Definition at line 369 of file SetCoverSolutionResponse.java.

◆ getCostLowerBound()

double com.google.ortools.algorithms.SetCoverSolutionResponse.getCostLowerBound ( )
A lower bound of the solution, as computed by the algorithm.

optional double cost_lower_bound = 5;

Returns
The costLowerBound.

Implements com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.

Definition at line 396 of file SetCoverSolutionResponse.java.

◆ getDefaultInstance()

static com.google.ortools.algorithms.SetCoverSolutionResponse com.google.ortools.algorithms.SetCoverSolutionResponse.getDefaultInstance ( )
static

Definition at line 1699 of file SetCoverSolutionResponse.java.

◆ getDefaultInstanceForType()

com.google.ortools.algorithms.SetCoverSolutionResponse com.google.ortools.algorithms.SetCoverSolutionResponse.getDefaultInstanceForType ( )

Definition at line 1735 of file SetCoverSolutionResponse.java.

◆ getDescriptor()

static final com.google.protobuf.Descriptors.Descriptor com.google.ortools.algorithms.SetCoverSolutionResponse.getDescriptor ( )
static

Definition at line 35 of file SetCoverSolutionResponse.java.

◆ getFingerprint()

com.google.ortools.util.Int128 com.google.ortools.algorithms.SetCoverSolutionResponse.getFingerprint ( )
An automatically fingerprint for the solution. TODO(user): Implement.

optional .operations_research.Int128 fingerprint = 6;

Returns
The fingerprint.

Implements com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.

Definition at line 423 of file SetCoverSolutionResponse.java.

◆ getFingerprintOrBuilder()

com.google.ortools.util.Int128OrBuilder com.google.ortools.algorithms.SetCoverSolutionResponse.getFingerprintOrBuilder ( )
An automatically fingerprint for the solution. TODO(user): Implement.

optional .operations_research.Int128 fingerprint = 6;

Implements com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.

Definition at line 434 of file SetCoverSolutionResponse.java.

◆ getModelFingerprint()

com.google.ortools.util.Int128 com.google.ortools.algorithms.SetCoverSolutionResponse.getModelFingerprint ( )
A reference to the model the solution applies to. TODO(user): Implement.

optional .operations_research.Int128 model_fingerprint = 7;

Returns
The modelFingerprint.

Implements com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.

Definition at line 461 of file SetCoverSolutionResponse.java.

◆ getModelFingerprintOrBuilder()

com.google.ortools.util.Int128OrBuilder com.google.ortools.algorithms.SetCoverSolutionResponse.getModelFingerprintOrBuilder ( )
A reference to the model the solution applies to. TODO(user): Implement.

optional .operations_research.Int128 model_fingerprint = 7;

Implements com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.

Definition at line 472 of file SetCoverSolutionResponse.java.

◆ getNumSubsets()

int com.google.ortools.algorithms.SetCoverSolutionResponse.getNumSubsets ( )
The number of subsets that are selected in the solution. This is used
to decompress their indices below.

optional int32 num_subsets = 2;

Returns
The numSubsets.

Implements com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.

Definition at line 300 of file SetCoverSolutionResponse.java.

◆ getParserForType()

com.google.protobuf.Parser< SetCoverSolutionResponse > com.google.ortools.algorithms.SetCoverSolutionResponse.getParserForType ( )

Definition at line 1730 of file SetCoverSolutionResponse.java.

◆ getSerializedSize()

int com.google.ortools.algorithms.SetCoverSolutionResponse.getSerializedSize ( )

Definition at line 520 of file SetCoverSolutionResponse.java.

◆ getStatus()

com.google.ortools.algorithms.SetCoverSolutionResponse.Status com.google.ortools.algorithms.SetCoverSolutionResponse.getStatus ( )
For future use. TODO(user): Implement.

optional .operations_research.SetCoverSolutionResponse.Status status = 1;

Returns
The status.

Implements com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.

Definition at line 270 of file SetCoverSolutionResponse.java.

◆ getStatusValue()

int com.google.ortools.algorithms.SetCoverSolutionResponse.getStatusValue ( )
For future use. TODO(user): Implement.

optional .operations_research.SetCoverSolutionResponse.Status status = 1;

Returns
The enum numeric value on the wire for status.

Implements com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.

Definition at line 259 of file SetCoverSolutionResponse.java.

◆ getSubset()

int com.google.ortools.algorithms.SetCoverSolutionResponse.getSubset ( int index)
The list of the subsets selected in the solution.

repeated int32 subset = 3 [packed = true];

Parameters
indexThe index of the element to return.
Returns
The subset at the given index.

Implements com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.

Definition at line 341 of file SetCoverSolutionResponse.java.

◆ getSubsetCount()

int com.google.ortools.algorithms.SetCoverSolutionResponse.getSubsetCount ( )
The list of the subsets selected in the solution.

repeated int32 subset = 3 [packed = true];

Returns
The count of subset.

Implements com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.

Definition at line 329 of file SetCoverSolutionResponse.java.

◆ getSubsetList()

java.util.List< java.lang.Integer > com.google.ortools.algorithms.SetCoverSolutionResponse.getSubsetList ( )
The list of the subsets selected in the solution.

repeated int32 subset = 3 [packed = true];

Returns
A list containing the subset.

Implements com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.

Definition at line 318 of file SetCoverSolutionResponse.java.

◆ hasCost()

boolean com.google.ortools.algorithms.SetCoverSolutionResponse.hasCost ( )
The cost of the solution, as computed by the algorithm.

optional double cost = 4;

Returns
Whether the cost field is set.

Implements com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.

Definition at line 357 of file SetCoverSolutionResponse.java.

◆ hasCostLowerBound()

boolean com.google.ortools.algorithms.SetCoverSolutionResponse.hasCostLowerBound ( )
A lower bound of the solution, as computed by the algorithm.

optional double cost_lower_bound = 5;

Returns
Whether the costLowerBound field is set.

Implements com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.

Definition at line 384 of file SetCoverSolutionResponse.java.

◆ hasFingerprint()

boolean com.google.ortools.algorithms.SetCoverSolutionResponse.hasFingerprint ( )
An automatically fingerprint for the solution. TODO(user): Implement.

optional .operations_research.Int128 fingerprint = 6;

Returns
Whether the fingerprint field is set.

Implements com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.

Definition at line 411 of file SetCoverSolutionResponse.java.

◆ hashCode()

int com.google.ortools.algorithms.SetCoverSolutionResponse.hashCode ( )

Definition at line 616 of file SetCoverSolutionResponse.java.

◆ hasModelFingerprint()

boolean com.google.ortools.algorithms.SetCoverSolutionResponse.hasModelFingerprint ( )
A reference to the model the solution applies to. TODO(user): Implement.

optional .operations_research.Int128 model_fingerprint = 7;

Returns
Whether the modelFingerprint field is set.

Implements com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.

Definition at line 449 of file SetCoverSolutionResponse.java.

◆ hasNumSubsets()

boolean com.google.ortools.algorithms.SetCoverSolutionResponse.hasNumSubsets ( )
The number of subsets that are selected in the solution. This is used
to decompress their indices below.

optional int32 num_subsets = 2;

Returns
Whether the numSubsets field is set.

Implements com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.

Definition at line 287 of file SetCoverSolutionResponse.java.

◆ hasStatus()

boolean com.google.ortools.algorithms.SetCoverSolutionResponse.hasStatus ( )
For future use. TODO(user): Implement.

optional .operations_research.SetCoverSolutionResponse.Status status = 1;

Returns
Whether the status field is set.

Implements com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.

Definition at line 248 of file SetCoverSolutionResponse.java.

◆ internalGetFieldAccessorTable()

com.google.protobuf.GeneratedMessage.FieldAccessorTable com.google.ortools.algorithms.SetCoverSolutionResponse.internalGetFieldAccessorTable ( )
protected

Definition at line 41 of file SetCoverSolutionResponse.java.

◆ isInitialized()

final boolean com.google.ortools.algorithms.SetCoverSolutionResponse.isInitialized ( )

Definition at line 478 of file SetCoverSolutionResponse.java.

◆ newBuilder() [1/2]

static Builder com.google.ortools.algorithms.SetCoverSolutionResponse.newBuilder ( )
static

Definition at line 731 of file SetCoverSolutionResponse.java.

◆ newBuilder() [2/2]

static Builder com.google.ortools.algorithms.SetCoverSolutionResponse.newBuilder ( com.google.ortools.algorithms.SetCoverSolutionResponse prototype)
static

Definition at line 734 of file SetCoverSolutionResponse.java.

◆ newBuilderForType() [1/2]

Builder com.google.ortools.algorithms.SetCoverSolutionResponse.newBuilderForType ( )

Definition at line 730 of file SetCoverSolutionResponse.java.

◆ newBuilderForType() [2/2]

Builder com.google.ortools.algorithms.SetCoverSolutionResponse.newBuilderForType ( com.google.protobuf.GeneratedMessage.BuilderParent parent)
protected

Definition at line 744 of file SetCoverSolutionResponse.java.

◆ parseDelimitedFrom() [1/2]

static com.google.ortools.algorithms.SetCoverSolutionResponse com.google.ortools.algorithms.SetCoverSolutionResponse.parseDelimitedFrom ( java.io.InputStream input) throws java.io.IOException
static

Definition at line 702 of file SetCoverSolutionResponse.java.

◆ parseDelimitedFrom() [2/2]

static com.google.ortools.algorithms.SetCoverSolutionResponse com.google.ortools.algorithms.SetCoverSolutionResponse.parseDelimitedFrom ( java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 708 of file SetCoverSolutionResponse.java.

◆ parseFrom() [1/10]

static com.google.ortools.algorithms.SetCoverSolutionResponse com.google.ortools.algorithms.SetCoverSolutionResponse.parseFrom ( byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 679 of file SetCoverSolutionResponse.java.

◆ parseFrom() [2/10]

static com.google.ortools.algorithms.SetCoverSolutionResponse com.google.ortools.algorithms.SetCoverSolutionResponse.parseFrom ( byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 683 of file SetCoverSolutionResponse.java.

◆ parseFrom() [3/10]

static com.google.ortools.algorithms.SetCoverSolutionResponse com.google.ortools.algorithms.SetCoverSolutionResponse.parseFrom ( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 668 of file SetCoverSolutionResponse.java.

◆ parseFrom() [4/10]

static com.google.ortools.algorithms.SetCoverSolutionResponse com.google.ortools.algorithms.SetCoverSolutionResponse.parseFrom ( com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 673 of file SetCoverSolutionResponse.java.

◆ parseFrom() [5/10]

static com.google.ortools.algorithms.SetCoverSolutionResponse com.google.ortools.algorithms.SetCoverSolutionResponse.parseFrom ( com.google.protobuf.CodedInputStream input) throws java.io.IOException
static

Definition at line 715 of file SetCoverSolutionResponse.java.

◆ parseFrom() [6/10]

static com.google.ortools.algorithms.SetCoverSolutionResponse com.google.ortools.algorithms.SetCoverSolutionResponse.parseFrom ( com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 721 of file SetCoverSolutionResponse.java.

◆ parseFrom() [7/10]

static com.google.ortools.algorithms.SetCoverSolutionResponse com.google.ortools.algorithms.SetCoverSolutionResponse.parseFrom ( java.io.InputStream input) throws java.io.IOException
static

Definition at line 689 of file SetCoverSolutionResponse.java.

◆ parseFrom() [8/10]

static com.google.ortools.algorithms.SetCoverSolutionResponse com.google.ortools.algorithms.SetCoverSolutionResponse.parseFrom ( java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 694 of file SetCoverSolutionResponse.java.

◆ parseFrom() [9/10]

static com.google.ortools.algorithms.SetCoverSolutionResponse com.google.ortools.algorithms.SetCoverSolutionResponse.parseFrom ( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 657 of file SetCoverSolutionResponse.java.

◆ parseFrom() [10/10]

static com.google.ortools.algorithms.SetCoverSolutionResponse com.google.ortools.algorithms.SetCoverSolutionResponse.parseFrom ( java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 662 of file SetCoverSolutionResponse.java.

◆ parser()

static com.google.protobuf.Parser< SetCoverSolutionResponse > com.google.ortools.algorithms.SetCoverSolutionResponse.parser ( )
static

Definition at line 1725 of file SetCoverSolutionResponse.java.

◆ toBuilder()

Builder com.google.ortools.algorithms.SetCoverSolutionResponse.toBuilder ( )

Definition at line 738 of file SetCoverSolutionResponse.java.

◆ writeTo()

void com.google.ortools.algorithms.SetCoverSolutionResponse.writeTo ( com.google.protobuf.CodedOutputStream output) throws java.io.IOException

Definition at line 488 of file SetCoverSolutionResponse.java.

Member Data Documentation

◆ COST_FIELD_NUMBER

final int com.google.ortools.algorithms.SetCoverSolutionResponse.COST_FIELD_NUMBER = 4
static

Definition at line 346 of file SetCoverSolutionResponse.java.

◆ COST_LOWER_BOUND_FIELD_NUMBER

final int com.google.ortools.algorithms.SetCoverSolutionResponse.COST_LOWER_BOUND_FIELD_NUMBER = 5
static

Definition at line 373 of file SetCoverSolutionResponse.java.

◆ FINGERPRINT_FIELD_NUMBER

final int com.google.ortools.algorithms.SetCoverSolutionResponse.FINGERPRINT_FIELD_NUMBER = 6
static

Definition at line 400 of file SetCoverSolutionResponse.java.

◆ MODEL_FINGERPRINT_FIELD_NUMBER

final int com.google.ortools.algorithms.SetCoverSolutionResponse.MODEL_FINGERPRINT_FIELD_NUMBER = 7
static

Definition at line 438 of file SetCoverSolutionResponse.java.

◆ NUM_SUBSETS_FIELD_NUMBER

final int com.google.ortools.algorithms.SetCoverSolutionResponse.NUM_SUBSETS_FIELD_NUMBER = 2
static

Definition at line 275 of file SetCoverSolutionResponse.java.

◆ STATUS_FIELD_NUMBER

final int com.google.ortools.algorithms.SetCoverSolutionResponse.STATUS_FIELD_NUMBER = 1
static

Definition at line 238 of file SetCoverSolutionResponse.java.

◆ SUBSET_FIELD_NUMBER

final int com.google.ortools.algorithms.SetCoverSolutionResponse.SUBSET_FIELD_NUMBER = 3
static

Definition at line 304 of file SetCoverSolutionResponse.java.


The documentation for this class was generated from the following file: