![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
Same as a vector<T> or hash_map<int, T> where the index are in [0, size), but optimized for the case where only a few entries are touched before the vector need to be reset to zero and used again.
Definition at line 162 of file presolve_util.h.
#include <presolve_util.h>
Classes | |
| class | View |
| Taking a view allow to cache the never changing addresses. More... | |
Public Member Functions | |
| View | ClearedView (int size) |
| This reserve the size for using indices in [0, size). | |
|
inline |
This reserve the size for using indices in [0, size).
Definition at line 194 of file presolve_util.h.