template<class IndexType, class T>
class operations_research::RevVector< IndexType, T >
A basic reversible vector implementation.
Definition at line 89 of file rev.h.
template<class IndexType , class T >
Initially a reversible class starts at level zero. Increasing the level saves the state of the current old level. Decreasing the level restores the state to what it was at this level and all higher levels are forgotten. Everything done at level zero cannot be backtracked over.
The level is assumed to be non-negative.
Implements operations_research::ReversibleInterface.
Definition at line 113 of file rev.h.