Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
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 () |
Definition at line 7 of file SetCoverSolutionResponseOrBuilder.java.
double com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.getCost | ( | ) |
The cost of the solution, as computed by the algorithm.
optional double cost = 4;
Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.
double com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.getCostLowerBound | ( | ) |
A lower bound of the solution, as computed by the algorithm.
optional double cost_lower_bound = 5;
Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.
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;
Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.
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.
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;
Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.
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.
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;
Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.
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;
Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.
int com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.getStatusValue | ( | ) |
For future use. TODO(user): Implement.
optional .operations_research.SetCoverSolutionResponse.Status status = 1;
Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.
int com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.getSubset | ( | int | index | ) |
The list of the subsets selected in the solution.
repeated int32 subset = 3 [packed = true];
index | The index of the element to return. |
Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.
int com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.getSubsetCount | ( | ) |
The list of the subsets selected in the solution.
repeated int32 subset = 3 [packed = true];
Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.
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];
Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.
boolean com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.hasCost | ( | ) |
The cost of the solution, as computed by the algorithm.
optional double cost = 4;
Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.
boolean com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.hasCostLowerBound | ( | ) |
A lower bound of the solution, as computed by the algorithm.
optional double cost_lower_bound = 5;
Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.
boolean com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.hasFingerprint | ( | ) |
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.
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;
Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.
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;
Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.
boolean com.google.ortools.algorithms.SetCoverSolutionResponseOrBuilder.hasStatus | ( | ) |
For future use. TODO(user): Implement.
optional .operations_research.SetCoverSolutionResponse.Status status = 1;
Implemented in com.google.ortools.algorithms.SetCoverSolutionResponse.Builder, and com.google.ortools.algorithms.SetCoverSolutionResponse.