Google OR-Tools v9.11
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) |
Public Member Functions inherited from operations_research::RevArray< T > | |
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 4092 of file constraint_solver.h.
|
inline |
Definition at line 4094 of file constraint_solver.h.
|
inline |
Definition at line 4096 of file constraint_solver.h.
|
inline |
Definition at line 4102 of file constraint_solver.h.
|
inline |
Definition at line 4100 of file constraint_solver.h.