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

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]
 

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 8363 of file CpModel.pb.cs.

Constructor & Destructor Documentation

◆ DenseMatrixProto() [1/2]

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

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

◆ DenseMatrixProto() [2/2]

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

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

Member Function Documentation

◆ CalculateSize()

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

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

◆ Clone()

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

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

◆ Equals() [1/2]

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

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

◆ Equals() [2/2]

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

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

◆ GetHashCode()

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

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

◆ MergeFrom() [1/2]

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

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

◆ MergeFrom() [2/2]

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

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

◆ ToString()

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

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

◆ WriteTo()

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

Definition at line 8486 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 8434 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 8422 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 8410 of file CpModel.pb.cs.

Property Documentation

◆ Descriptor

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

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

◆ Entries

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

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

◆ NumCols

int Google.OrTools.Sat.DenseMatrixProto.NumCols
getset

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

◆ NumRows

int Google.OrTools.Sat.DenseMatrixProto.NumRows
getset

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

◆ Parser

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

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


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