A sparse element storage, which supports deletion.
More...
#include <element_storage.h>
A sparse element storage, which supports deletion.
Definition at line 68 of file element_storage.h.
◆ SparseElementStorage()
operations_research::math_opt::detail::SparseElementStorage::SparseElementStorage |
( |
DenseElementStorage && | dense | ) |
|
|
explicit |
◆ Add()
int64_t operations_research::math_opt::detail::SparseElementStorage::Add |
( |
const absl::string_view | name | ) |
|
|
inline |
◆ AllIds()
std::vector< int64_t > operations_research::math_opt::detail::SparseElementStorage::AllIds |
( |
| ) |
const |
◆ ensure_next_id_at_least()
void operations_research::math_opt::detail::SparseElementStorage::ensure_next_id_at_least |
( |
int64_t | id | ) |
|
|
inline |
◆ Erase()
bool operations_research::math_opt::detail::SparseElementStorage::Erase |
( |
int64_t | id | ) |
|
|
inline |
◆ exists()
bool operations_research::math_opt::detail::SparseElementStorage::exists |
( |
int64_t | id | ) |
const |
|
inline |
◆ GetName()
absl::StatusOr< absl::string_view > operations_research::math_opt::detail::SparseElementStorage::GetName |
( |
int64_t | id | ) |
const |
|
inline |
◆ next_id()
int64_t operations_research::math_opt::detail::SparseElementStorage::next_id |
( |
| ) |
const |
|
inline |
◆ size()
int64_t operations_research::math_opt::detail::SparseElementStorage::size |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: