![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
When we have two or more dimensions, we need to store the nondefaults for each dimension to support slicing.
Definition at line 142 of file attr_storage.h.
#include <attr_storage.h>
Public Types | |
| using | Key = AttrKey<n, Symmetry> |
Public Member Functions | |
| void | AddRowsAndColumns (const Key key) |
| void | ClearRowsAndColumns (Key key) |
| Requires key is currently stored with a non-default value. | |
| void | Clear () |
| template<int i> | |
| std::vector< Key > | Slice (const int64_t key_elem) const |
| template<int i> | |
| int64_t | GetSliceSize (const int64_t key_elem) const |
| using operations_research::math_opt::detail::SlicingSupport< n, Symmetry, typename >::Key = AttrKey<n, Symmetry> |
Definition at line 144 of file attr_storage.h.
|
inline |
NOLINTNEXTLINE(clang-diagnostic-pre-c++20-compat)
Definition at line 146 of file attr_storage.h.
|
inline |
Definition at line 169 of file attr_storage.h.
|
inline |
Requires key is currently stored with a non-default value.
NOLINTNEXTLINE(clang-diagnostic-pre-c++20-compat)
Definition at line 156 of file attr_storage.h.
|
inline |
Definition at line 198 of file attr_storage.h.
|
inline |
NOLINTNEXTLINE(clang-diagnostic-pre-c++20-compat)
NOLINTNEXTLINE(clang-diagnostic-pre-c++20-compat)
Definition at line 176 of file attr_storage.h.