Google OR-Tools v9.9
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

java.lang.Object newInstance (UnusedPrivateParameter unused)
 
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable ()
 
Builder newBuilderForType (com.google.protobuf.GeneratedMessageV3.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 165 of file DenseMatrixProto.java.

◆ getDefaultInstance()

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

Definition at line 682 of file DenseMatrixProto.java.

◆ getDefaultInstanceForType()

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

Definition at line 718 of file DenseMatrixProto.java.

◆ getDescriptor()

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

Definition at line 36 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 95 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 87 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 80 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 66 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 55 of file DenseMatrixProto.java.

◆ getParserForType()

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

Definition at line 713 of file DenseMatrixProto.java.

◆ getSerializedSize()

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

Definition at line 132 of file DenseMatrixProto.java.

◆ hashCode()

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

Definition at line 185 of file DenseMatrixProto.java.

◆ internalGetFieldAccessorTable()

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

Definition at line 42 of file DenseMatrixProto.java.

◆ isInitialized()

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

Definition at line 102 of file DenseMatrixProto.java.

◆ newBuilder() [1/2]

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

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

◆ newBuilderForType() [1/2]

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

Definition at line 277 of file DenseMatrixProto.java.

◆ newBuilderForType() [2/2]

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

Definition at line 291 of file DenseMatrixProto.java.

◆ newInstance()

java.lang.Object com.google.ortools.sat.DenseMatrixProto.newInstance ( UnusedPrivateParameter unused)
protected

Definition at line 30 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 249 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 255 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 226 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 230 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 215 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 220 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 262 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 268 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 236 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 241 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 204 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 209 of file DenseMatrixProto.java.

◆ parser()

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

Definition at line 708 of file DenseMatrixProto.java.

◆ toBuilder()

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

Definition at line 285 of file DenseMatrixProto.java.

◆ writeTo()

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

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

◆ NUM_COLS_FIELD_NUMBER

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

Definition at line 59 of file DenseMatrixProto.java.

◆ NUM_ROWS_FIELD_NUMBER

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

Definition at line 48 of file DenseMatrixProto.java.


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