OR-Tools  9.6
SparseColumnEntry

Detailed Description

Definition at line 30 of file sparse_column.h.

Public Types

using Index = RowIndex
 

Public Member Functions

RowIndex row () const
 
Index index () const
 
Fractional coefficient () const
 

Protected Member Functions

 SparseColumnEntry (const RowIndex *indices, const Fractional *coefficients, EntryIndex i)
 

Protected Attributes

EntryIndex i_
 
const Indexindex_
 
const Fractionalcoefficient_
 

Member Typedef Documentation

◆ Index

using Index = RowIndex
inherited

Definition at line 414 of file lp_data/sparse_vector.h.

Constructor & Destructor Documentation

◆ SparseColumnEntry()

SparseColumnEntry ( const RowIndex *  indices,
const Fractional coefficients,
EntryIndex  i 
)
inlineprotected

Definition at line 36 of file sparse_column.h.

Member Function Documentation

◆ coefficient()

Fractional coefficient ( ) const
inlineinherited

Definition at line 417 of file lp_data/sparse_vector.h.

◆ index()

Index index ( ) const
inlineinherited

Definition at line 416 of file lp_data/sparse_vector.h.

◆ row()

RowIndex row ( ) const
inline

Definition at line 33 of file sparse_column.h.

Member Data Documentation

◆ coefficient_

const Fractional* coefficient_
protectedinherited

Definition at line 443 of file lp_data/sparse_vector.h.

◆ i_

EntryIndex i_
protectedinherited

Definition at line 433 of file lp_data/sparse_vector.h.

◆ index_

const Index* index_
protectedinherited

Definition at line 442 of file lp_data/sparse_vector.h.


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