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

Public Member Functions

java.util.List< java.lang.Integer > getSupportList ()
 
int getSupportCount ()
 
int getSupport (int index)
 
java.util.List< java.lang.Integer > getCycleSizesList ()
 
int getCycleSizesCount ()
 
int getCycleSizes (int index)
 

Detailed Description

Definition at line 7 of file SparsePermutationProtoOrBuilder.java.

Member Function Documentation

◆ getCycleSizes()

int com.google.ortools.sat.SparsePermutationProtoOrBuilder.getCycleSizes ( int index)

repeated int32 cycle_sizes = 2;

Parameters
indexThe index of the element to return.
Returns
The cycleSizes at the given index.

Implemented in com.google.ortools.sat.SparsePermutationProto.Builder, and com.google.ortools.sat.SparsePermutationProto.

◆ getCycleSizesCount()

int com.google.ortools.sat.SparsePermutationProtoOrBuilder.getCycleSizesCount ( )

repeated int32 cycle_sizes = 2;

Returns
The count of cycleSizes.

Implemented in com.google.ortools.sat.SparsePermutationProto.Builder, and com.google.ortools.sat.SparsePermutationProto.

◆ getCycleSizesList()

java.util.List< java.lang.Integer > com.google.ortools.sat.SparsePermutationProtoOrBuilder.getCycleSizesList ( )

repeated int32 cycle_sizes = 2;

Returns
A list containing the cycleSizes.

Implemented in com.google.ortools.sat.SparsePermutationProto.Builder, and com.google.ortools.sat.SparsePermutationProto.

◆ getSupport()

int com.google.ortools.sat.SparsePermutationProtoOrBuilder.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
indexThe index of the element to return.
Returns
The support at the given index.

Implemented in com.google.ortools.sat.SparsePermutationProto.Builder, and com.google.ortools.sat.SparsePermutationProto.

◆ getSupportCount()

int com.google.ortools.sat.SparsePermutationProtoOrBuilder.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.

Implemented in com.google.ortools.sat.SparsePermutationProto.Builder, and com.google.ortools.sat.SparsePermutationProto.

◆ getSupportList()

java.util.List< java.lang.Integer > com.google.ortools.sat.SparsePermutationProtoOrBuilder.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.

Implemented in com.google.ortools.sat.SparsePermutationProto.Builder, and com.google.ortools.sat.SparsePermutationProto.


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