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

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 ()
 

Detailed Description

Definition at line 7 of file SetCoverSolutionResponseOrBuilder.java.

Member Function Documentation

◆ getCost()

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

optional double cost = 4;

Returns
The cost.

Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.

◆ getCostLowerBound()

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

optional double cost_lower_bound = 5;

Returns
The costLowerBound.

Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.

◆ getFingerprint()

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

optional .operations_research.Int128 fingerprint = 6;

Returns
The fingerprint.

Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.

◆ getFingerprintOrBuilder()

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

optional .operations_research.Int128 fingerprint = 6;

Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.

◆ getModelFingerprint()

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

optional .operations_research.Int128 model_fingerprint = 7;

Returns
The modelFingerprint.

Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.

◆ getModelFingerprintOrBuilder()

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

optional .operations_research.Int128 model_fingerprint = 7;

Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.

◆ getNumSubsets()

int com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.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.

Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.

◆ getStatus()

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

optional .operations_research.SetCoverSolutionResponse.Status status = 1;

Returns
The status.

Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.

◆ getStatusValue()

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

optional .operations_research.SetCoverSolutionResponse.Status status = 1;

Returns
The enum numeric value on the wire for status.

Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.

◆ getSubset()

int com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.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.

Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.

◆ getSubsetCount()

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

repeated int32 subset = 3 [packed = true];

Returns
The count of subset.

Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.

◆ getSubsetList()

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

repeated int32 subset = 3 [packed = true];

Returns
A list containing the subset.

Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.

◆ hasCost()

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

optional double cost = 4;

Returns
Whether the cost field is set.

Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.

◆ hasCostLowerBound()

boolean com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.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.

Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.

◆ hasFingerprint()

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

optional .operations_research.Int128 fingerprint = 6;

Returns
Whether the fingerprint field is set.

Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.

◆ hasModelFingerprint()

boolean com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.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.

Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.

◆ hasNumSubsets()

boolean com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.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.

Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.

◆ hasStatus()

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

optional .operations_research.SetCoverSolutionResponse.Status status = 1;

Returns
Whether the status field is set.

Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.


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