Generated on: Thu Mar 29 07:46:58 PDT 2012 for custom file set | ||
|
||
// doxy/ or-tools/ src/ constraint_solver/ |
#include <constraint_solver.h>
Public Member Functions | |
RevArray (int size, const T &val) | |
~RevArray () | |
const T & | Value (int index) const |
const T & | operator[] (int index) const |
void | SetValue (Solver *const s, int index, const T &val) |
It Contains the stamp optimization. i.e. the SaveValue call is done only once per node of the search tree. Please note that actual stamps always starts at 1, thus an initial value of 0 will always trigger the first SaveValue.
Definition at line 3628 of file constraint_solver.h.
operations_research::RevArray< T >::RevArray | ( | int | size, | |
const T & | val | |||
) | [inline] |
Definition at line 3630 of file constraint_solver.h.
operations_research::RevArray< T >::~RevArray | ( | ) | [inline] |
Definition at line 3638 of file constraint_solver.h.
const T& operations_research::RevArray< T >::Value | ( | int | index | ) | const [inline] |
Definition at line 3640 of file constraint_solver.h.
const T& operations_research::RevArray< T >::operator[] | ( | int | index | ) | const [inline] |
Definition at line 3643 of file constraint_solver.h.
void operations_research::RevArray< T >::SetValue | ( | Solver *const | s, | |
int | index, | |||
const T & | val | |||
) | [inline] |
Definition at line 3646 of file constraint_solver.h.