![]() |
Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
|
#include <scattered_vector.h>
Additional Inherited Members | |
![]() | |
Fractional | operator[] (RowIndex index) const |
Fractional & | operator[] (RowIndex index) |
ScatteredColumnIterator | begin () const |
ScatteredColumnIterator | end () const |
void | Add (RowIndex index, Fractional value) |
void | SortNonZerosIfNeeded () |
bool | ShouldUseDenseIteration (double ratio_for_using_dense_representation) const |
bool | ShouldUseDenseIteration () const |
void | ClearSparseMask () |
Efficiently clears the is_non_zero vector. | |
void | RepopulateSparseMask () |
Update the is_non_zero vector to be consistent with the non_zeros vector. | |
void | ClearNonZerosIfTooDense (double ratio_for_using_dense_representation) |
void | ClearNonZerosIfTooDense () |
size_t | NumNonZerosEstimate () const |
![]() | |
StrictITIVector< RowIndex, Fractional > | values |
bool | non_zeros_are_sorted |
std::vector< RowIndex > | non_zeros |
Bitset64< RowIndex > | is_non_zero |
![]() | |
static constexpr const double | kDefaultRatioForUsingDenseIteration |
Definition at line 197 of file scattered_vector.h.