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

Classes

class  Builder

Public Member Functions

int getNumRows ()
int getNumCols ()
java.util.List< java.lang.Integer > getEntriesList ()
int getEntriesCount ()
int getEntries (int index)
final boolean isInitialized ()
void writeTo (com.google.protobuf.CodedOutputStream output) throws java.io.IOException
int getSerializedSize ()
boolean equals (final java.lang.Object obj)
int hashCode ()
Builder newBuilderForType ()
Builder toBuilder ()
com.google.protobuf.Parser< DenseMatrixProtogetParserForType ()
com.google.ortools.sat.DenseMatrixProto getDefaultInstanceForType ()

Static Public Member Functions

static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
static com.google.ortools.sat.DenseMatrixProto parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static com.google.ortools.sat.DenseMatrixProto parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static com.google.ortools.sat.DenseMatrixProto parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static com.google.ortools.sat.DenseMatrixProto parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static com.google.ortools.sat.DenseMatrixProto parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static com.google.ortools.sat.DenseMatrixProto parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static com.google.ortools.sat.DenseMatrixProto parseFrom (java.io.InputStream input) throws java.io.IOException
static com.google.ortools.sat.DenseMatrixProto parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static com.google.ortools.sat.DenseMatrixProto parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException
static com.google.ortools.sat.DenseMatrixProto parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static com.google.ortools.sat.DenseMatrixProto parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException
static com.google.ortools.sat.DenseMatrixProto parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static Builder newBuilder ()
static Builder newBuilder (com.google.ortools.sat.DenseMatrixProto prototype)
static com.google.ortools.sat.DenseMatrixProto getDefaultInstance ()
static com.google.protobuf.Parser< DenseMatrixProtoparser ()

Static Public Attributes

static final int NUM_ROWS_FIELD_NUMBER = 1
static final int NUM_COLS_FIELD_NUMBER = 2
static final int ENTRIES_FIELD_NUMBER = 3

Protected Member Functions

com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable ()
Builder newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent)

Detailed Description

A dense matrix of numbers encoded in a flat way, row by row.
That is matrix[i][j] = entries[i * num_cols + j];

Protobuf type operations_research.sat.DenseMatrixProto

Definition at line 17 of file DenseMatrixProto.java.

Member Function Documentation

◆ equals()

boolean com.google.ortools.sat.DenseMatrixProto.equals ( final java.lang.Object obj)

Definition at line 169 of file DenseMatrixProto.java.

◆ getDefaultInstance()

com.google.ortools.sat.DenseMatrixProto com.google.ortools.sat.DenseMatrixProto.getDefaultInstance ( )
static

Definition at line 642 of file DenseMatrixProto.java.

◆ getDefaultInstanceForType()

com.google.ortools.sat.DenseMatrixProto com.google.ortools.sat.DenseMatrixProto.getDefaultInstanceForType ( )

Definition at line 678 of file DenseMatrixProto.java.

◆ getDescriptor()

final com.google.protobuf.Descriptors.Descriptor com.google.ortools.sat.DenseMatrixProto.getDescriptor ( )
static

Definition at line 40 of file DenseMatrixProto.java.

◆ getEntries()

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

repeated int32 entries = 3;

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

Implements com.google.ortools.sat.DenseMatrixProtoOrBuilder.

Definition at line 99 of file DenseMatrixProto.java.

◆ getEntriesCount()

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

repeated int32 entries = 3;

Returns
The count of entries.

Implements com.google.ortools.sat.DenseMatrixProtoOrBuilder.

Definition at line 91 of file DenseMatrixProto.java.

◆ getEntriesList()

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

repeated int32 entries = 3;

Returns
A list containing the entries.

Implements com.google.ortools.sat.DenseMatrixProtoOrBuilder.

Definition at line 84 of file DenseMatrixProto.java.

◆ getNumCols()

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

int32 num_cols = 2;

Returns
The numCols.

Implements com.google.ortools.sat.DenseMatrixProtoOrBuilder.

Definition at line 70 of file DenseMatrixProto.java.

◆ getNumRows()

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

int32 num_rows = 1;

Returns
The numRows.

Implements com.google.ortools.sat.DenseMatrixProtoOrBuilder.

Definition at line 59 of file DenseMatrixProto.java.

◆ getParserForType()

com.google.protobuf.Parser< DenseMatrixProto > com.google.ortools.sat.DenseMatrixProto.getParserForType ( )

Definition at line 673 of file DenseMatrixProto.java.

◆ getSerializedSize()

int com.google.ortools.sat.DenseMatrixProto.getSerializedSize ( )

Definition at line 136 of file DenseMatrixProto.java.

◆ hashCode()

int com.google.ortools.sat.DenseMatrixProto.hashCode ( )

Definition at line 189 of file DenseMatrixProto.java.

◆ internalGetFieldAccessorTable()

com.google.protobuf.GeneratedMessage.FieldAccessorTable com.google.ortools.sat.DenseMatrixProto.internalGetFieldAccessorTable ( )
protected

Definition at line 46 of file DenseMatrixProto.java.

◆ isInitialized()

final boolean com.google.ortools.sat.DenseMatrixProto.isInitialized ( )

Definition at line 106 of file DenseMatrixProto.java.

◆ newBuilder() [1/2]

Builder com.google.ortools.sat.DenseMatrixProto.newBuilder ( )
static

Definition at line 282 of file DenseMatrixProto.java.

◆ newBuilder() [2/2]

Builder com.google.ortools.sat.DenseMatrixProto.newBuilder ( com.google.ortools.sat.DenseMatrixProto prototype)
static

Definition at line 285 of file DenseMatrixProto.java.

◆ newBuilderForType() [1/2]

Builder com.google.ortools.sat.DenseMatrixProto.newBuilderForType ( )

Definition at line 281 of file DenseMatrixProto.java.

◆ newBuilderForType() [2/2]

Builder com.google.ortools.sat.DenseMatrixProto.newBuilderForType ( com.google.protobuf.GeneratedMessage.BuilderParent parent)
protected

Definition at line 295 of file DenseMatrixProto.java.

◆ parseDelimitedFrom() [1/2]

com.google.ortools.sat.DenseMatrixProto com.google.ortools.sat.DenseMatrixProto.parseDelimitedFrom ( java.io.InputStream input) throws java.io.IOException
static

Definition at line 253 of file DenseMatrixProto.java.

◆ parseDelimitedFrom() [2/2]

com.google.ortools.sat.DenseMatrixProto com.google.ortools.sat.DenseMatrixProto.parseDelimitedFrom ( java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 259 of file DenseMatrixProto.java.

◆ parseFrom() [1/10]

com.google.ortools.sat.DenseMatrixProto com.google.ortools.sat.DenseMatrixProto.parseFrom ( byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 230 of file DenseMatrixProto.java.

◆ parseFrom() [2/10]

com.google.ortools.sat.DenseMatrixProto com.google.ortools.sat.DenseMatrixProto.parseFrom ( byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 234 of file DenseMatrixProto.java.

◆ parseFrom() [3/10]

com.google.ortools.sat.DenseMatrixProto com.google.ortools.sat.DenseMatrixProto.parseFrom ( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 219 of file DenseMatrixProto.java.

◆ parseFrom() [4/10]

com.google.ortools.sat.DenseMatrixProto com.google.ortools.sat.DenseMatrixProto.parseFrom ( com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 224 of file DenseMatrixProto.java.

◆ parseFrom() [5/10]

com.google.ortools.sat.DenseMatrixProto com.google.ortools.sat.DenseMatrixProto.parseFrom ( com.google.protobuf.CodedInputStream input) throws java.io.IOException
static

Definition at line 266 of file DenseMatrixProto.java.

◆ parseFrom() [6/10]

com.google.ortools.sat.DenseMatrixProto com.google.ortools.sat.DenseMatrixProto.parseFrom ( com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 272 of file DenseMatrixProto.java.

◆ parseFrom() [7/10]

com.google.ortools.sat.DenseMatrixProto com.google.ortools.sat.DenseMatrixProto.parseFrom ( java.io.InputStream input) throws java.io.IOException
static

Definition at line 240 of file DenseMatrixProto.java.

◆ parseFrom() [8/10]

com.google.ortools.sat.DenseMatrixProto com.google.ortools.sat.DenseMatrixProto.parseFrom ( java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws java.io.IOException
static

Definition at line 245 of file DenseMatrixProto.java.

◆ parseFrom() [9/10]

com.google.ortools.sat.DenseMatrixProto com.google.ortools.sat.DenseMatrixProto.parseFrom ( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 208 of file DenseMatrixProto.java.

◆ parseFrom() [10/10]

com.google.ortools.sat.DenseMatrixProto com.google.ortools.sat.DenseMatrixProto.parseFrom ( java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry ) throws com.google.protobuf.InvalidProtocolBufferException
static

Definition at line 213 of file DenseMatrixProto.java.

◆ parser()

com.google.protobuf.Parser< DenseMatrixProto > com.google.ortools.sat.DenseMatrixProto.parser ( )
static

Definition at line 668 of file DenseMatrixProto.java.

◆ toBuilder()

Builder com.google.ortools.sat.DenseMatrixProto.toBuilder ( )

Definition at line 289 of file DenseMatrixProto.java.

◆ writeTo()

void com.google.ortools.sat.DenseMatrixProto.writeTo ( com.google.protobuf.CodedOutputStream output) throws java.io.IOException

Definition at line 116 of file DenseMatrixProto.java.

Member Data Documentation

◆ ENTRIES_FIELD_NUMBER

final int com.google.ortools.sat.DenseMatrixProto.ENTRIES_FIELD_NUMBER = 3
static

Definition at line 74 of file DenseMatrixProto.java.

◆ NUM_COLS_FIELD_NUMBER

final int com.google.ortools.sat.DenseMatrixProto.NUM_COLS_FIELD_NUMBER = 2
static

Definition at line 63 of file DenseMatrixProto.java.

◆ NUM_ROWS_FIELD_NUMBER

final int com.google.ortools.sat.DenseMatrixProto.NUM_ROWS_FIELD_NUMBER = 1
static

Definition at line 52 of file DenseMatrixProto.java.


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