Google OR-Tools v9.11
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 ()
 
- Public Member Functions inherited from com.google.ortools.sat.DenseMatrixProtoOrBuilder

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

Member Function Documentation

◆ equals()

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

Definition at line 167 of file DenseMatrixProto.java.

◆ getDefaultInstance()

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

Definition at line 640 of file DenseMatrixProto.java.

◆ getDefaultInstanceForType()

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

Definition at line 676 of file DenseMatrixProto.java.

◆ getDescriptor()

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

Definition at line 38 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 97 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 89 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 82 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 68 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 57 of file DenseMatrixProto.java.

◆ getParserForType()

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

Definition at line 671 of file DenseMatrixProto.java.

◆ getSerializedSize()

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

Definition at line 134 of file DenseMatrixProto.java.

◆ hashCode()

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

Definition at line 187 of file DenseMatrixProto.java.

◆ internalGetFieldAccessorTable()

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

Definition at line 44 of file DenseMatrixProto.java.

◆ isInitialized()

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

Definition at line 104 of file DenseMatrixProto.java.

◆ newBuilder() [1/2]

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

Definition at line 280 of file DenseMatrixProto.java.

◆ newBuilder() [2/2]

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

Definition at line 283 of file DenseMatrixProto.java.

◆ newBuilderForType() [1/2]

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

Definition at line 279 of file DenseMatrixProto.java.

◆ newBuilderForType() [2/2]

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

Definition at line 293 of file DenseMatrixProto.java.

◆ parseDelimitedFrom() [1/2]

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

Definition at line 251 of file DenseMatrixProto.java.

◆ parseDelimitedFrom() [2/2]

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

◆ parseFrom() [1/10]

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

Definition at line 228 of file DenseMatrixProto.java.

◆ parseFrom() [2/10]

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

◆ parseFrom() [3/10]

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

◆ parseFrom() [4/10]

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

◆ parseFrom() [5/10]

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

Definition at line 264 of file DenseMatrixProto.java.

◆ parseFrom() [6/10]

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

◆ parseFrom() [7/10]

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

Definition at line 238 of file DenseMatrixProto.java.

◆ parseFrom() [8/10]

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

◆ parseFrom() [9/10]

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

Definition at line 206 of file DenseMatrixProto.java.

◆ parseFrom() [10/10]

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

◆ parser()

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

Definition at line 666 of file DenseMatrixProto.java.

◆ toBuilder()

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

Definition at line 287 of file DenseMatrixProto.java.

◆ writeTo()

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

Definition at line 114 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 72 of file DenseMatrixProto.java.

◆ NUM_COLS_FIELD_NUMBER

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

Definition at line 61 of file DenseMatrixProto.java.

◆ NUM_ROWS_FIELD_NUMBER

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

Definition at line 50 of file DenseMatrixProto.java.


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