Google OR-Tools v9.9
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

java.lang.Object newInstance (UnusedPrivateParameter unused)
 
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable ()
 
Builder newBuilderForType (com.google.protobuf.GeneratedMessageV3.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 557 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 357 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 384 of file SetCoverSolutionResponse.java.

◆ getDefaultInstance()

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

Definition at line 1731 of file SetCoverSolutionResponse.java.

◆ getDefaultInstanceForType()

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

Definition at line 1767 of file SetCoverSolutionResponse.java.

◆ getDescriptor()

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

Definition at line 32 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 411 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 422 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 449 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 460 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 288 of file SetCoverSolutionResponse.java.

◆ getParserForType()

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

Definition at line 1762 of file SetCoverSolutionResponse.java.

◆ getSerializedSize()

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

Definition at line 508 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 258 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 247 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 329 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 317 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 306 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 345 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 372 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 399 of file SetCoverSolutionResponse.java.

◆ hashCode()

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

Definition at line 604 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 437 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 275 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 236 of file SetCoverSolutionResponse.java.

◆ internalGetFieldAccessorTable()

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

Definition at line 38 of file SetCoverSolutionResponse.java.

◆ isInitialized()

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

Definition at line 466 of file SetCoverSolutionResponse.java.

◆ newBuilder() [1/2]

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

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

◆ newBuilderForType() [1/2]

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

Definition at line 718 of file SetCoverSolutionResponse.java.

◆ newBuilderForType() [2/2]

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

Definition at line 732 of file SetCoverSolutionResponse.java.

◆ newInstance()

java.lang.Object com.google.ortools.algorithms.SetCoverSolutionResponse.newInstance ( UnusedPrivateParameter unused)
protected

Definition at line 26 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 690 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 696 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 667 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 671 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 656 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 661 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 703 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 709 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 677 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 682 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 645 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 650 of file SetCoverSolutionResponse.java.

◆ parser()

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

Definition at line 1757 of file SetCoverSolutionResponse.java.

◆ toBuilder()

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

Definition at line 726 of file SetCoverSolutionResponse.java.

◆ writeTo()

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

Definition at line 476 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 334 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 361 of file SetCoverSolutionResponse.java.

◆ FINGERPRINT_FIELD_NUMBER

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

Definition at line 388 of file SetCoverSolutionResponse.java.

◆ MODEL_FINGERPRINT_FIELD_NUMBER

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

Definition at line 426 of file SetCoverSolutionResponse.java.

◆ NUM_SUBSETS_FIELD_NUMBER

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

Definition at line 263 of file SetCoverSolutionResponse.java.

◆ STATUS_FIELD_NUMBER

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

Definition at line 226 of file SetCoverSolutionResponse.java.

◆ SUBSET_FIELD_NUMBER

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

Definition at line 292 of file SetCoverSolutionResponse.java.


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