|
ADS
Algorithms and Data Structures
|
The tiered vector of Goodrich and Kloss, beyond the book. More...
Files | |
| file | ADS/sequence/TieredVector.h |
| The tiered vector of Goodrich and Kloss, beyond the book: a sequence with access by index in \( O( 1 ) \) time, as a vector, and insertion and removal at any index in \( O( \sqrt{n} ) \) time, where a vector [see ArraySequence.h] moves \( O( n ) \) items. | |
Classes | |
| class | ADS::TieredVector< T, A > |
| a sequence with access in \( O( 1 ) \) and insertion and removal anywhere in \( O( \sqrt{n} ) \), in circular blocks of \( b \) items More... | |
The tiered vector of Goodrich and Kloss, beyond the book.
The definitions, the invariants and the costs of the area are in Theory of sequences and lists.