C++ Reference
C++ Reference: Routing
Rev< T >
Detailed Description
template<class T>
class operations_research::Rev< T >
class operations_research::Rev< T >
This class adds reversibility to a POD type.
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 3735 of file constraint_solver.h.
Public Member Functions | |
Rev (const T &val) | |
const T & | Value () const |
void | SetValue (Solver *const s, const T &val) |
Constructor & Destructor Documentation
◆ Rev()
|
inlineexplicit |
Definition at line 3737 of file constraint_solver.h.
Member Function Documentation
◆ SetValue()
|
inline |
Definition at line 3741 of file constraint_solver.h.
◆ Value()
|
inline |
Definition at line 3739 of file constraint_solver.h.
The documentation for this class was generated from the following file: