Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
Google.OrTools.Sat.DenseMatrixProto Class Referencesealed

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

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];.

Definition at line 8570 of file CpModel.pb.cs.

Inheritance diagram for Google.OrTools.Sat.DenseMatrixProto:

Public Member Functions

 DenseMatrixProto ()
 DenseMatrixProto (DenseMatrixProto other)
DenseMatrixProto Clone ()
override bool Equals (object other)
bool Equals (DenseMatrixProto other)
override int GetHashCode ()
override string ToString ()
void WriteTo (pb::CodedOutputStream output)
int CalculateSize ()
void MergeFrom (DenseMatrixProto other)
void MergeFrom (pb::CodedInputStream input)

Static Public Attributes

const int NumRowsFieldNumber = 1
 Field number for the "num_rows" field.
const int NumColsFieldNumber = 2
 Field number for the "num_cols" field.
const int EntriesFieldNumber = 3
 Field number for the "entries" field.

Properties

static pb::MessageParser< DenseMatrixProtoParser [get]
static pbr::MessageDescriptor Descriptor [get]
int NumRows [get, set]
int NumCols [get, set]
pbc::RepeatedField< int > Entries [get]

Constructor & Destructor Documentation

◆ DenseMatrixProto() [1/2]

Google.OrTools.Sat.DenseMatrixProto.DenseMatrixProto ( )
inline

Definition at line 8595 of file CpModel.pb.cs.

◆ DenseMatrixProto() [2/2]

Google.OrTools.Sat.DenseMatrixProto.DenseMatrixProto ( DenseMatrixProto other)
inline

Definition at line 8603 of file CpModel.pb.cs.

Member Function Documentation

◆ CalculateSize()

int Google.OrTools.Sat.DenseMatrixProto.CalculateSize ( )
inline

Definition at line 8733 of file CpModel.pb.cs.

◆ Clone()

DenseMatrixProto Google.OrTools.Sat.DenseMatrixProto.Clone ( )
inline

Definition at line 8612 of file CpModel.pb.cs.

◆ Equals() [1/2]

bool Google.OrTools.Sat.DenseMatrixProto.Equals ( DenseMatrixProto other)
inline

Definition at line 8659 of file CpModel.pb.cs.

◆ Equals() [2/2]

override bool Google.OrTools.Sat.DenseMatrixProto.Equals ( object other)
inline

Definition at line 8653 of file CpModel.pb.cs.

◆ GetHashCode()

override int Google.OrTools.Sat.DenseMatrixProto.GetHashCode ( )
inline

Definition at line 8674 of file CpModel.pb.cs.

◆ MergeFrom() [1/2]

void Google.OrTools.Sat.DenseMatrixProto.MergeFrom ( DenseMatrixProto other)
inline

Definition at line 8750 of file CpModel.pb.cs.

◆ MergeFrom() [2/2]

void Google.OrTools.Sat.DenseMatrixProto.MergeFrom ( pb.CodedInputStream input)
inline

Definition at line 8766 of file CpModel.pb.cs.

◆ ToString()

override string Google.OrTools.Sat.DenseMatrixProto.ToString ( )
inline

Definition at line 8687 of file CpModel.pb.cs.

◆ WriteTo()

void Google.OrTools.Sat.DenseMatrixProto.WriteTo ( pb.CodedOutputStream output)
inline

Definition at line 8693 of file CpModel.pb.cs.

Member Data Documentation

◆ EntriesFieldNumber

const int Google.OrTools.Sat.DenseMatrixProto.EntriesFieldNumber = 3
static

Field number for the "entries" field.

Definition at line 8641 of file CpModel.pb.cs.

◆ NumColsFieldNumber

const int Google.OrTools.Sat.DenseMatrixProto.NumColsFieldNumber = 2
static

Field number for the "num_cols" field.

Definition at line 8629 of file CpModel.pb.cs.

◆ NumRowsFieldNumber

const int Google.OrTools.Sat.DenseMatrixProto.NumRowsFieldNumber = 1
static

Field number for the "num_rows" field.

Definition at line 8617 of file CpModel.pb.cs.

Property Documentation

◆ Descriptor

pbr.MessageDescriptor Google.OrTools.Sat.DenseMatrixProto.Descriptor
staticget

Definition at line 8583 of file CpModel.pb.cs.

◆ Entries

pbc.RepeatedField<int> Google.OrTools.Sat.DenseMatrixProto.Entries
get

Definition at line 8647 of file CpModel.pb.cs.

◆ NumCols

int Google.OrTools.Sat.DenseMatrixProto.NumCols
getset

Definition at line 8633 of file CpModel.pb.cs.

◆ NumRows

int Google.OrTools.Sat.DenseMatrixProto.NumRows
getset

Definition at line 8621 of file CpModel.pb.cs.

◆ Parser

pb.MessageParser<DenseMatrixProto> Google.OrTools.Sat.DenseMatrixProto.Parser
staticget

Definition at line 8579 of file CpModel.pb.cs.


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