![]() |
OR-Tools
9.6
|
Definition at line 33 of file sparse_coefficient_map.h.
Public Member Functions | |
| SparseCoefficientMap ()=default | |
| SparseCoefficientMap (absl::flat_hash_map< VariableId, double > terms) | |
| double | get (const VariableId id) const |
| bool | set (const VariableId id, const double coeff) |
| const absl::flat_hash_map< VariableId, double > & | terms () const |
| void | clear () |
| void | erase (VariableId id) |
| SparseDoubleVectorProto | Proto () const |
|
default |
|
inlineexplicit |
Definition at line 65 of file sparse_coefficient_map.h.
|
inline |
Definition at line 94 of file sparse_coefficient_map.h.
|
inline |
Definition at line 96 of file sparse_coefficient_map.h.
|
inline |
Definition at line 71 of file sparse_coefficient_map.h.
| SparseDoubleVectorProto Proto | ( | ) | const |
Definition at line 24 of file sparse_coefficient_map.cc.
|
inline |
Definition at line 79 of file sparse_coefficient_map.h.
|
inline |
Definition at line 46 of file sparse_coefficient_map.h.