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

Public Member Functions

int getNumRows ()
 
int getNumCols ()
 
java.util.List< java.lang.Integer > getEntriesList ()
 
int getEntriesCount ()
 
int getEntries (int index)
 

Detailed Description

Definition at line 7 of file DenseMatrixProtoOrBuilder.java.

Member Function Documentation

◆ getEntries()

int com.google.ortools.sat.DenseMatrixProtoOrBuilder.getEntries ( int index)

repeated int32 entries = 3;

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

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

◆ getEntriesCount()

int com.google.ortools.sat.DenseMatrixProtoOrBuilder.getEntriesCount ( )

repeated int32 entries = 3;

Returns
The count of entries.

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

◆ getEntriesList()

java.util.List< java.lang.Integer > com.google.ortools.sat.DenseMatrixProtoOrBuilder.getEntriesList ( )

repeated int32 entries = 3;

Returns
A list containing the entries.

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

◆ getNumCols()

int com.google.ortools.sat.DenseMatrixProtoOrBuilder.getNumCols ( )

int32 num_cols = 2;

Returns
The numCols.

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

◆ getNumRows()

int com.google.ortools.sat.DenseMatrixProtoOrBuilder.getNumRows ( )

int32 num_rows = 1;

Returns
The numRows.

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


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