Google OR-Tools v9.11
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 ()
 
- Public Member Functions inherited from com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder

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 10 of file SetCoverSolutionResponse.java.

Member Function Documentation

◆ equals()

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

Definition at line 568 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 368 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 395 of file SetCoverSolutionResponse.java.

◆ getDefaultInstance()

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

Definition at line 1698 of file SetCoverSolutionResponse.java.

◆ getDefaultInstanceForType()

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

Definition at line 1734 of file SetCoverSolutionResponse.java.

◆ getDescriptor()

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

Definition at line 34 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 422 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 433 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 460 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 471 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 299 of file SetCoverSolutionResponse.java.

◆ getParserForType()

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

Definition at line 1729 of file SetCoverSolutionResponse.java.

◆ getSerializedSize()

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

Definition at line 519 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 269 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 258 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 340 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 328 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 317 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 356 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 383 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 410 of file SetCoverSolutionResponse.java.

◆ hashCode()

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

Definition at line 615 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 448 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 286 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 247 of file SetCoverSolutionResponse.java.

◆ internalGetFieldAccessorTable()

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

Definition at line 40 of file SetCoverSolutionResponse.java.

◆ isInitialized()

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

Definition at line 477 of file SetCoverSolutionResponse.java.

◆ newBuilder() [1/2]

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

Definition at line 730 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 733 of file SetCoverSolutionResponse.java.

◆ newBuilderForType() [1/2]

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

Definition at line 729 of file SetCoverSolutionResponse.java.

◆ newBuilderForType() [2/2]

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

Definition at line 743 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 701 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 707 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 678 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 682 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 667 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 672 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 714 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 720 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 688 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 693 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 656 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 661 of file SetCoverSolutionResponse.java.

◆ parser()

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

Definition at line 1724 of file SetCoverSolutionResponse.java.

◆ toBuilder()

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

Definition at line 737 of file SetCoverSolutionResponse.java.

◆ writeTo()

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

Definition at line 487 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 345 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 372 of file SetCoverSolutionResponse.java.

◆ FINGERPRINT_FIELD_NUMBER

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

Definition at line 399 of file SetCoverSolutionResponse.java.

◆ MODEL_FINGERPRINT_FIELD_NUMBER

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

Definition at line 437 of file SetCoverSolutionResponse.java.

◆ NUM_SUBSETS_FIELD_NUMBER

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

Definition at line 274 of file SetCoverSolutionResponse.java.

◆ STATUS_FIELD_NUMBER

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

Definition at line 237 of file SetCoverSolutionResponse.java.

◆ SUBSET_FIELD_NUMBER

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

Definition at line 303 of file SetCoverSolutionResponse.java.


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