This class is a reversible growing array. More...
#include <constraint_solveri.h>
Public Member Functions | |
| RevGrowingArray (int64 block_size) | |
| ~RevGrowingArray () | |
| T | At (int64 index) const |
| void | RevInsert (Solver *const solver, int64 index, T value) |
This class is a reversible growing array.
In can grow in both directions, and even accept negative indices. The objects stored have a type T. As it relies on the solver for reversibility, these objects can be up-casted to 'C' when using Solver::SaveValue().
Definition at line 2260 of file constraint_solveri.h.
|
inlineexplicit |
Definition at line 2262 of file constraint_solveri.h.
|
inline |
Definition at line 2267 of file constraint_solveri.h.
|
inline |
Definition at line 2273 of file constraint_solveri.h.
|
inline |
Definition at line 2283 of file constraint_solveri.h.