Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <sparse_column.h>
Public Member Functions | |
RowIndex | row () const |
Returns the row of the current entry. | |
Public Member Functions inherited from operations_research::glop::SparseVectorEntry< RowIndex > | |
Index | index () const |
Fractional | coefficient () const |
Protected Member Functions | |
SparseColumnEntry (const RowIndex *indices, const Fractional *coefficients, EntryIndex i) | |
Protected Member Functions inherited from operations_research::glop::SparseVectorEntry< RowIndex > | |
SparseVectorEntry (const Index *indices, const Fractional *coefficients, EntryIndex i) | |
Additional Inherited Members | |
Public Types inherited from operations_research::glop::SparseVectorEntry< RowIndex > | |
using | Index |
Protected Attributes inherited from operations_research::glop::SparseVectorEntry< RowIndex > | |
EntryIndex | i_ |
The index of the sparse vector entry represented by this object. | |
const Index * | index_ |
const Fractional * | coefficient_ |
Specialization of SparseVectorEntry and SparseColumnIterator for the SparseColumn class. In addition to index(), it also provides row() for better readability on the client side.
Definition at line 32 of file sparse_column.h.
|
inlineprotected |
Definition at line 38 of file sparse_column.h.
|
inline |
Returns the row of the current entry.
Definition at line 35 of file sparse_column.h.