Package com.google.ortools.sat
Interface SparsePermutationProtoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SparsePermutationProto,SparsePermutationProto.Builder
public interface SparsePermutationProtoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetCycleSizes(int index)repeated int32 cycle_sizes = 2;intgetCycleSizesCount()repeated int32 cycle_sizes = 2;java.util.List<java.lang.Integer>getCycleSizesList()repeated int32 cycle_sizes = 2;intgetSupport(int index)Each cycle is listed one after the other in the support field.intgetSupportCount()Each cycle is listed one after the other in the support field.java.util.List<java.lang.Integer>getSupportList()Each cycle is listed one after the other in the support field.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSupportList
java.util.List<java.lang.Integer> getSupportList()
Each cycle is listed one after the other in the support field. The size of each cycle is given (in order) in the cycle_sizes field.
repeated int32 support = 1;- Returns:
- A list containing the support.
-
getSupportCount
int getSupportCount()
Each cycle is listed one after the other in the support field. The size of each cycle is given (in order) in the cycle_sizes field.
repeated int32 support = 1;- Returns:
- The count of support.
-
getSupport
int getSupport(int index)
Each cycle is listed one after the other in the support field. The size of each cycle is given (in order) in the cycle_sizes field.
repeated int32 support = 1;- Parameters:
index- The index of the element to return.- Returns:
- The support at the given index.
-
getCycleSizesList
java.util.List<java.lang.Integer> getCycleSizesList()
repeated int32 cycle_sizes = 2;- Returns:
- A list containing the cycleSizes.
-
getCycleSizesCount
int getCycleSizesCount()
repeated int32 cycle_sizes = 2;- Returns:
- The count of cycleSizes.
-
getCycleSizes
int getCycleSizes(int index)
repeated int32 cycle_sizes = 2;- Parameters:
index- The index of the element to return.- Returns:
- The cycleSizes at the given index.
-
-