Definition at line 33 of file sparse_coefficient_map.h.
#include <sparse_coefficient_map.h>
◆ SparseCoefficientMap() [1/2]
| operations_research::math_opt::SparseCoefficientMap::SparseCoefficientMap |
( |
| ) |
|
|
default |
◆ SparseCoefficientMap() [2/2]
| operations_research::math_opt::SparseCoefficientMap::SparseCoefficientMap |
( |
absl::flat_hash_map< VariableId, double > | terms | ) |
|
|
inlineexplicit |
◆ clear()
| void operations_research::math_opt::SparseCoefficientMap::clear |
( |
| ) |
|
|
inline |
◆ erase()
| void operations_research::math_opt::SparseCoefficientMap::erase |
( |
VariableId | id | ) |
|
|
inline |
◆ get()
| double operations_research::math_opt::SparseCoefficientMap::get |
( |
VariableId | id | ) |
const |
|
inline |
◆ Proto()
◆ set()
| bool operations_research::math_opt::SparseCoefficientMap::set |
( |
VariableId | id, |
|
|
double | coeff ) |
|
inline |
◆ terms()
| const absl::flat_hash_map< VariableId, double > & operations_research::math_opt::SparseCoefficientMap::terms |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: