Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <zvector.h>
Public Member Functions | |
ZVector () | |
ZVector (int64_t min_index, int64_t max_index) | |
int64_t | min_index () const |
int64_t | max_index () const |
T | Value (int64_t index) const |
Returns the value stored at index. | |
T & | operator[] (int64_t index) |
Shortcut for returning the value stored at index. | |
T | operator[] (int64_t index) const |
void | Set (int64_t index, T value) |
Sets to value the content of the array at index. | |
bool | Reserve (int64_t new_min_index, int64_t new_max_index) |
void | SetAll (T value) |
Sets all the elements in the array to value. | |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |