Google OR-Tools v9.9
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 7962 of file CpModel.pb.cs.

Constructor & Destructor Documentation

◆ DenseMatrixProto() [1/2]

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

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

◆ DenseMatrixProto() [2/2]

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

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

Member Function Documentation

◆ CalculateSize()

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

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

◆ Clone()

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

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

◆ Equals() [1/2]

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

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

◆ Equals() [2/2]

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

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

◆ GetHashCode()

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

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

◆ MergeFrom() [1/2]

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

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

◆ MergeFrom() [2/2]

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

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

◆ ToString()

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

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

◆ WriteTo()

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

Definition at line 8085 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 8033 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 8021 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 8009 of file CpModel.pb.cs.

Property Documentation

◆ Descriptor

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

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

◆ Entries

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

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

◆ NumCols

int Google.OrTools.Sat.DenseMatrixProto.NumCols
getset

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

◆ NumRows

int Google.OrTools.Sat.DenseMatrixProto.NumRows
getset

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

◆ Parser

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

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


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