|
ADS
Algorithms and Data Structures
|
A double ended queue with no modular arithmetic, beyond the book. More...
Files | |
| file | ADS/sequence/ContiguousDeque.h |
| A double ended queue with no modular arithmetic, beyond the book: the variant of the ArrayDeque of Morin's book asked by its exercise 2.8, the \( n \) items in order in one contiguous piece \( A[ h .. h + n - 1 ] \) of a vector of \( c \) places, so that the item of rank \( i \) is \( A[ h + i ] \), the iterators are pointers and data() gives the items to any function that wants an array. | |
Classes | |
| class | ADS::ContiguousDeque< T > |
| a double ended queue whose items are contiguous, rebuilt in the middle of its vector when they reach an end More... | |
A double ended queue with no modular arithmetic, beyond the book.
The definitions, the invariants and the costs of the area are in Theory of sequences and lists.