![]() |
Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
|
Subclass of RevArray<T> which adds numerical operations. More...
#include <constraint_solver.h>
Public Member Functions | |
NumericalRevArray (int size, const T &val) | |
void | Add (Solver *const s, int index, const T &to_add) |
void | Incr (Solver *const s, int index) |
void | Decr (Solver *const s, int index) |
![]() | |
RevArray (int size, const T &val) | |
~RevArray () | |
int64_t | size () const |
const T & | Value (int index) const |
const T & | operator[] (int index) const |
void | SetValue (Solver *const s, int index, const T &val) |
Subclass of RevArray<T> which adds numerical operations.
Definition at line 4162 of file constraint_solver.h.
|
inline |
Definition at line 4164 of file constraint_solver.h.
|
inline |
Definition at line 4166 of file constraint_solver.h.
|
inline |
Definition at line 4172 of file constraint_solver.h.
|
inline |
Definition at line 4170 of file constraint_solver.h.