OR-Tools  8.2
ScatteredVectorEntry< IndexType >

Detailed Description

template<typename IndexType>
class operations_research::glop::ScatteredVectorEntry< IndexType >

Definition at line 33 of file scattered_vector.h.

Public Types

using Index = IndexType
 

Public Member Functions

Index index () const
 
Fractional coefficient () const
 

Protected Member Functions

 ScatteredVectorEntry (const Index *indices, const Fractional *coefficients, EntryIndex i)
 

Protected Attributes

EntryIndex i_
 
const Indexindex_
 
const Fractionalcoefficient_
 

Member Typedef Documentation

◆ Index

using Index = IndexType

Definition at line 35 of file scattered_vector.h.

Constructor & Destructor Documentation

◆ ScatteredVectorEntry()

ScatteredVectorEntry ( const Index indices,
const Fractional coefficients,
EntryIndex  i 
)
inlineprotected

Definition at line 43 of file scattered_vector.h.

Member Function Documentation

◆ coefficient()

Fractional coefficient ( ) const
inline

Definition at line 38 of file scattered_vector.h.

◆ index()

Index index ( ) const
inline

Definition at line 37 of file scattered_vector.h.

Member Data Documentation

◆ coefficient_

const Fractional* coefficient_
protected

Definition at line 49 of file scattered_vector.h.

◆ i_

EntryIndex i_
protected

Definition at line 47 of file scattered_vector.h.

◆ index_

const Index* index_
protected

Definition at line 48 of file scattered_vector.h.


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