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