Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
OperationsResearch.SetCoverSolutionResponse Class Referencesealed
Inheritance diagram for OperationsResearch.SetCoverSolutionResponse:

Classes

class  Types
 Container for nested types declared in the SetCoverSolutionResponse message type. More...
 

Public Member Functions

 SetCoverSolutionResponse ()
 
 SetCoverSolutionResponse (SetCoverSolutionResponse other)
 
SetCoverSolutionResponse Clone ()
 
void ClearStatus ()
 Clears the value of the "status" field.
 
void ClearNumSubsets ()
 Clears the value of the "num_subsets" field.
 
void ClearCost ()
 Clears the value of the "cost" field.
 
void ClearCostLowerBound ()
 Clears the value of the "cost_lower_bound" field.
 
override bool Equals (object other)
 
bool Equals (SetCoverSolutionResponse other)
 
override int GetHashCode ()
 
override string ToString ()
 
void WriteTo (pb::CodedOutputStream output)
 
int CalculateSize ()
 
void MergeFrom (SetCoverSolutionResponse other)
 
void MergeFrom (pb::CodedInputStream input)
 

Static Public Attributes

const int StatusFieldNumber = 1
 Field number for the "status" field.
 
const int NumSubsetsFieldNumber = 2
 Field number for the "num_subsets" field.
 
const int SubsetFieldNumber = 3
 Field number for the "subset" field.
 
const int CostFieldNumber = 4
 Field number for the "cost" field.
 
const int CostLowerBoundFieldNumber = 5
 Field number for the "cost_lower_bound" field.
 
const int FingerprintFieldNumber = 6
 Field number for the "fingerprint" field.
 
const int ModelFingerprintFieldNumber = 7
 Field number for the "model_fingerprint" field.
 

Properties

static pb::MessageParser< SetCoverSolutionResponseParser [get]
 
static pbr::MessageDescriptor Descriptor [get]
 
global::OperationsResearch.SetCoverSolutionResponse.Types.Status Status [get, set]
 For future use.
 
bool HasStatus [get]
 Gets whether the "status" field is set.
 
int NumSubsets [get, set]
 The number of subsets that are selected in the solution. This is used to decompress their indices below.
 
bool HasNumSubsets [get]
 Gets whether the "num_subsets" field is set.
 
pbc::RepeatedField< int > Subset [get]
 The list of the subsets selected in the solution.
 
double Cost [get, set]
 The cost of the solution, as computed by the algorithm.
 
bool HasCost [get]
 Gets whether the "cost" field is set.
 
double CostLowerBound [get, set]
 A lower bound of the solution, as computed by the algorithm.
 
bool HasCostLowerBound [get]
 Gets whether the "cost_lower_bound" field is set.
 
global::Google.OrTools.Util.Int128 Fingerprint [get, set]
 An automatically fingerprint for the solution.
 
global::Google.OrTools.Util.Int128 ModelFingerprint [get, set]
 A reference to the model the solution applies to.
 

Detailed Description

Definition at line 592 of file SetCover.pb.cs.

Constructor & Destructor Documentation

◆ SetCoverSolutionResponse() [1/2]

OperationsResearch.SetCoverSolutionResponse.SetCoverSolutionResponse ( )
inline

Definition at line 618 of file SetCover.pb.cs.

◆ SetCoverSolutionResponse() [2/2]

OperationsResearch.SetCoverSolutionResponse.SetCoverSolutionResponse ( SetCoverSolutionResponse other)
inline

Definition at line 626 of file SetCover.pb.cs.

Member Function Documentation

◆ CalculateSize()

int OperationsResearch.SetCoverSolutionResponse.CalculateSize ( )
inline

Definition at line 931 of file SetCover.pb.cs.

◆ ClearCost()

void OperationsResearch.SetCoverSolutionResponse.ClearCost ( )
inline

Clears the value of the "cost" field.

Definition at line 745 of file SetCover.pb.cs.

◆ ClearCostLowerBound()

void OperationsResearch.SetCoverSolutionResponse.ClearCostLowerBound ( )
inline

Clears the value of the "cost_lower_bound" field.

Definition at line 775 of file SetCover.pb.cs.

◆ ClearNumSubsets()

void OperationsResearch.SetCoverSolutionResponse.ClearNumSubsets ( )
inline

Clears the value of the "num_subsets" field.

Definition at line 701 of file SetCover.pb.cs.

◆ ClearStatus()

void OperationsResearch.SetCoverSolutionResponse.ClearStatus ( )
inline

Clears the value of the "status" field.

Definition at line 670 of file SetCover.pb.cs.

◆ Clone()

SetCoverSolutionResponse OperationsResearch.SetCoverSolutionResponse.Clone ( )
inline

Definition at line 640 of file SetCover.pb.cs.

◆ Equals() [1/2]

override bool OperationsResearch.SetCoverSolutionResponse.Equals ( object other)
inline

Definition at line 811 of file SetCover.pb.cs.

◆ Equals() [2/2]

bool OperationsResearch.SetCoverSolutionResponse.Equals ( SetCoverSolutionResponse other)
inline

Definition at line 817 of file SetCover.pb.cs.

◆ GetHashCode()

override int OperationsResearch.SetCoverSolutionResponse.GetHashCode ( )
inline

Definition at line 836 of file SetCover.pb.cs.

◆ MergeFrom() [1/2]

void OperationsResearch.SetCoverSolutionResponse.MergeFrom ( pb.CodedInputStream input)
inline

Definition at line 994 of file SetCover.pb.cs.

◆ MergeFrom() [2/2]

void OperationsResearch.SetCoverSolutionResponse.MergeFrom ( SetCoverSolutionResponse other)
inline

Definition at line 960 of file SetCover.pb.cs.

◆ ToString()

override string OperationsResearch.SetCoverSolutionResponse.ToString ( )
inline

Definition at line 853 of file SetCover.pb.cs.

◆ WriteTo()

void OperationsResearch.SetCoverSolutionResponse.WriteTo ( pb.CodedOutputStream output)
inline

Definition at line 859 of file SetCover.pb.cs.

Member Data Documentation

◆ CostFieldNumber

const int OperationsResearch.SetCoverSolutionResponse.CostFieldNumber = 4
static

Field number for the "cost" field.

Definition at line 720 of file SetCover.pb.cs.

◆ CostLowerBoundFieldNumber

const int OperationsResearch.SetCoverSolutionResponse.CostLowerBoundFieldNumber = 5
static

Field number for the "cost_lower_bound" field.

Definition at line 750 of file SetCover.pb.cs.

◆ FingerprintFieldNumber

const int OperationsResearch.SetCoverSolutionResponse.FingerprintFieldNumber = 6
static

Field number for the "fingerprint" field.

Definition at line 780 of file SetCover.pb.cs.

◆ ModelFingerprintFieldNumber

const int OperationsResearch.SetCoverSolutionResponse.ModelFingerprintFieldNumber = 7
static

Field number for the "model_fingerprint" field.

Definition at line 795 of file SetCover.pb.cs.

◆ NumSubsetsFieldNumber

const int OperationsResearch.SetCoverSolutionResponse.NumSubsetsFieldNumber = 2
static

Field number for the "num_subsets" field.

Definition at line 675 of file SetCover.pb.cs.

◆ StatusFieldNumber

const int OperationsResearch.SetCoverSolutionResponse.StatusFieldNumber = 1
static

Field number for the "status" field.

Definition at line 645 of file SetCover.pb.cs.

◆ SubsetFieldNumber

const int OperationsResearch.SetCoverSolutionResponse.SubsetFieldNumber = 3
static

Field number for the "subset" field.

Definition at line 706 of file SetCover.pb.cs.

Property Documentation

◆ Cost

double OperationsResearch.SetCoverSolutionResponse.Cost
getset

The cost of the solution, as computed by the algorithm.

Definition at line 729 of file SetCover.pb.cs.

◆ CostLowerBound

double OperationsResearch.SetCoverSolutionResponse.CostLowerBound
getset

A lower bound of the solution, as computed by the algorithm.

Definition at line 759 of file SetCover.pb.cs.

◆ Descriptor

pbr.MessageDescriptor OperationsResearch.SetCoverSolutionResponse.Descriptor
staticget

Definition at line 606 of file SetCover.pb.cs.

◆ Fingerprint

global.Google.OrTools.Util.Int128 OperationsResearch.SetCoverSolutionResponse.Fingerprint
getset

An automatically fingerprint for the solution.

Todo
(user): Implement.

Definition at line 787 of file SetCover.pb.cs.

◆ HasCost

bool OperationsResearch.SetCoverSolutionResponse.HasCost
get

Gets whether the "cost" field is set.

Definition at line 739 of file SetCover.pb.cs.

◆ HasCostLowerBound

bool OperationsResearch.SetCoverSolutionResponse.HasCostLowerBound
get

Gets whether the "cost_lower_bound" field is set.

Definition at line 769 of file SetCover.pb.cs.

◆ HasNumSubsets

bool OperationsResearch.SetCoverSolutionResponse.HasNumSubsets
get

Gets whether the "num_subsets" field is set.

Definition at line 695 of file SetCover.pb.cs.

◆ HasStatus

bool OperationsResearch.SetCoverSolutionResponse.HasStatus
get

Gets whether the "status" field is set.

Definition at line 664 of file SetCover.pb.cs.

◆ ModelFingerprint

global.Google.OrTools.Util.Int128 OperationsResearch.SetCoverSolutionResponse.ModelFingerprint
getset

A reference to the model the solution applies to.

Todo
(user): Implement.

Definition at line 802 of file SetCover.pb.cs.

◆ NumSubsets

int OperationsResearch.SetCoverSolutionResponse.NumSubsets
getset

The number of subsets that are selected in the solution. This is used to decompress their indices below.

Definition at line 685 of file SetCover.pb.cs.

◆ Parser

pb.MessageParser<SetCoverSolutionResponse> OperationsResearch.SetCoverSolutionResponse.Parser
staticget

Definition at line 602 of file SetCover.pb.cs.

◆ Status

global.OperationsResearch.SetCoverSolutionResponse.Types.Status OperationsResearch.SetCoverSolutionResponse.Status
getset

For future use.

Todo
(user): Implement.

Definition at line 654 of file SetCover.pb.cs.

◆ Subset

pbc.RepeatedField<int> OperationsResearch.SetCoverSolutionResponse.Subset
get

The list of the subsets selected in the solution.

Definition at line 715 of file SetCover.pb.cs.


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