public static interface SetCoverProto.SubsetOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
double |
getCost()
The cost for using the given subset.
|
int |
getElement(int index)
The list of elements in the subset.
|
int |
getElementCount()
The list of elements in the subset.
|
java.util.List<java.lang.Integer> |
getElementList()
The list of elements in the subset.
|
boolean |
hasCost()
The cost for using the given subset.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasCost()
The cost for using the given subset.
optional double cost = 1;
double getCost()
The cost for using the given subset.
optional double cost = 1;
java.util.List<java.lang.Integer> getElementList()
The list of elements in the subset.
repeated int32 element = 2 [packed = true];
int getElementCount()
The list of elements in the subset.
repeated int32 element = 2 [packed = true];
int getElement(int index)
The list of elements in the subset.
repeated int32 element = 2 [packed = true];
index
- The index of the element to return.Copyright © 2025. All rights reserved.