Google OR-Tools: operations_research::NumericalRevArray< T > Class Template Reference

Subclass of RevArray<T> which adds numerical operations. More...

template<class T>
class operations_research::NumericalRevArray< T >

Subclass of RevArray<T> which adds numerical operations.

Definition at line 4174 of file constraint_solver.h.

#include <constraint_solver.h>

operations_research::RevArray< T >

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)

◆ Add()

◆ Decr()

◆ Incr()


The documentation for this class was generated from the following file: