Java Reference

Java Reference

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 14 of file DenseMatrixProto.java.

Classes

class  Builder
 

Public Member Functions

.lang.Override final com.google.protobuf.UnknownFieldSet getUnknownFields ()
 
.lang.Override int getNumRows ()
 int32 num_rows = 1; More...
 
.lang.Override int getNumCols ()
 int32 num_cols = 2; More...
 
.lang.Override java.util.List< java.lang.Integer > getEntriesList ()
 repeated int32 entries = 3; More...
 
int getEntriesCount ()
 repeated int32 entries = 3; More...
 
int getEntries (int index)
 repeated int32 entries = 3; More...
 
.lang.Override final boolean isInitialized ()
 
.lang.Override void writeTo (com.google.protobuf.CodedOutputStream output) throws java.io.IOException
 
.lang.Override int getSerializedSize ()
 
.lang.Override boolean equals (final java.lang.Object obj)
 
.lang.Override int hashCode ()
 
.lang.Override Builder newBuilderForType ()
 
.lang.Override Builder toBuilder ()
 
.lang.Override com.google.protobuf.Parser< DenseMatrixProtogetParserForType ()
 
.lang.Override 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

.lang.Override java.lang.Object newInstance (UnusedPrivateParameter unused)
 
.lang.Override com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable ()
 
.lang.Override Builder newBuilderForType (com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
 

Member Function Documentation

◆ equals()

.lang.Override boolean equals ( final java.lang.Object  obj)

Definition at line 239 of file DenseMatrixProto.java.

◆ getDefaultInstance()

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

Definition at line 707 of file DenseMatrixProto.java.

◆ getDefaultInstanceForType()

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

Definition at line 732 of file DenseMatrixProto.java.

◆ getDescriptor()

static final com.google.protobuf.Descriptors.Descriptor getDescriptor ( )
static

Definition at line 112 of file DenseMatrixProto.java.

◆ getEntries()

int getEntries ( int  index)

repeated int32 entries = 3;

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

Implements DenseMatrixProtoOrBuilder.

Definition at line 169 of file DenseMatrixProto.java.

◆ getEntriesCount()

int getEntriesCount ( )

repeated int32 entries = 3;

Returns
The count of entries.

Implements DenseMatrixProtoOrBuilder.

Definition at line 161 of file DenseMatrixProto.java.

◆ getEntriesList()

.lang.Override java.util.List<java.lang.Integer> getEntriesList ( )

repeated int32 entries = 3;

Returns
A list containing the entries.

Implements DenseMatrixProtoOrBuilder.

Definition at line 154 of file DenseMatrixProto.java.

◆ getNumCols()

.lang.Override int getNumCols ( )

int32 num_cols = 2;

Returns
The numCols.

Implements DenseMatrixProtoOrBuilder.

Definition at line 142 of file DenseMatrixProto.java.

◆ getNumRows()

.lang.Override int getNumRows ( )

int32 num_rows = 1;

Returns
The numRows.

Implements DenseMatrixProtoOrBuilder.

Definition at line 131 of file DenseMatrixProto.java.

◆ getParserForType()

.lang.Override com.google.protobuf.Parser<DenseMatrixProto> getParserForType ( )

Definition at line 727 of file DenseMatrixProto.java.

◆ getSerializedSize()

.lang.Override int getSerializedSize ( )

Definition at line 206 of file DenseMatrixProto.java.

◆ getUnknownFields()

.lang.Override final com.google.protobuf.UnknownFieldSet getUnknownFields ( )

Definition at line 36 of file DenseMatrixProto.java.

◆ hashCode()

.lang.Override int hashCode ( )

Definition at line 259 of file DenseMatrixProto.java.

◆ internalGetFieldAccessorTable()

.lang.Override com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable ( )
protected

Definition at line 118 of file DenseMatrixProto.java.

◆ isInitialized()

.lang.Override final boolean isInitialized ( )

Definition at line 176 of file DenseMatrixProto.java.

◆ newBuilder() [1/2]

static Builder newBuilder ( )
static

Definition at line 350 of file DenseMatrixProto.java.

◆ newBuilder() [2/2]

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

Definition at line 353 of file DenseMatrixProto.java.

◆ newBuilderForType() [1/2]

.lang.Override Builder newBuilderForType ( )

Definition at line 349 of file DenseMatrixProto.java.

◆ newBuilderForType() [2/2]

.lang.Override Builder newBuilderForType ( com.google.protobuf.GeneratedMessageV3.BuilderParent  parent)
protected

Definition at line 363 of file DenseMatrixProto.java.

◆ newInstance()

.lang.Override java.lang.Object newInstance ( UnusedPrivateParameter  unused)
protected

Definition at line 29 of file DenseMatrixProto.java.

◆ parseDelimitedFrom() [1/2]

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

Definition at line 322 of file DenseMatrixProto.java.

◆ parseDelimitedFrom() [2/2]

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

Definition at line 327 of file DenseMatrixProto.java.

◆ parseFrom() [1/10]

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

Definition at line 300 of file DenseMatrixProto.java.

◆ parseFrom() [2/10]

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

Definition at line 304 of file DenseMatrixProto.java.

◆ parseFrom() [3/10]

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

Definition at line 289 of file DenseMatrixProto.java.

◆ parseFrom() [4/10]

static 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 294 of file DenseMatrixProto.java.

◆ parseFrom() [5/10]

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

Definition at line 334 of file DenseMatrixProto.java.

◆ parseFrom() [6/10]

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

Definition at line 340 of file DenseMatrixProto.java.

◆ parseFrom() [7/10]

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

Definition at line 310 of file DenseMatrixProto.java.

◆ parseFrom() [8/10]

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

Definition at line 315 of file DenseMatrixProto.java.

◆ parseFrom() [9/10]

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

Definition at line 278 of file DenseMatrixProto.java.

◆ parseFrom() [10/10]

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

Definition at line 283 of file DenseMatrixProto.java.

◆ parser()

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

Definition at line 722 of file DenseMatrixProto.java.

◆ toBuilder()

.lang.Override Builder toBuilder ( )

Definition at line 357 of file DenseMatrixProto.java.

◆ writeTo()

.lang.Override void writeTo ( com.google.protobuf.CodedOutputStream  output) throws java.io.IOException

Definition at line 186 of file DenseMatrixProto.java.

Member Data Documentation

◆ ENTRIES_FIELD_NUMBER

final int ENTRIES_FIELD_NUMBER = 3
static

Definition at line 146 of file DenseMatrixProto.java.

◆ NUM_COLS_FIELD_NUMBER

final int NUM_COLS_FIELD_NUMBER = 2
static

Definition at line 135 of file DenseMatrixProto.java.

◆ NUM_ROWS_FIELD_NUMBER

final int NUM_ROWS_FIELD_NUMBER = 1
static

Definition at line 124 of file DenseMatrixProto.java.


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