OR-Tools  8.2
SparseRowEntry

Detailed Description

Definition at line 26 of file sparse_row.h.

Public Types

using Index = ColIndex
 

Public Member Functions

ColIndex col () const
 
Index index () const
 
Fractional coefficient () const
 

Protected Member Functions

 SparseRowEntry (const ColIndex *indices, const Fractional *coefficients, EntryIndex i)
 

Protected Attributes

EntryIndex i_
 
const Indexindex_
 
const Fractionalcoefficient_
 

Member Typedef Documentation

◆ Index

using Index = ColIndex
inherited

Definition at line 413 of file sparse_vector.h.

Constructor & Destructor Documentation

◆ SparseRowEntry()

SparseRowEntry ( const ColIndex *  indices,
const Fractional coefficients,
EntryIndex  i 
)
inlineprotected

Definition at line 32 of file sparse_row.h.

Member Function Documentation

◆ coefficient()

Fractional coefficient ( ) const
inlineinherited

Definition at line 416 of file sparse_vector.h.

◆ col()

ColIndex col ( ) const
inline

Definition at line 29 of file sparse_row.h.

◆ index()

Index index ( ) const
inlineinherited

Definition at line 415 of file sparse_vector.h.

Member Data Documentation

◆ coefficient_

const Fractional* coefficient_
protectedinherited

Definition at line 442 of file sparse_vector.h.

◆ i_

EntryIndex i_
protectedinherited

Definition at line 432 of file sparse_vector.h.

◆ index_

const Index* index_
protectedinherited

Definition at line 441 of file sparse_vector.h.


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