FSU Seal - 1851

COT 5405
Advanced Algorithms
Chris Lacher
Notes 5: Sequential ADTs and Data Structures

ADTs and Data Structures


Our Basic Tools

Abstract Container Types
ContainerP|AIteratorDistinguishing Operations
VectorPRandomAccessPushBack, PopBack, SetSize, Indexed BracketOperator
ListPBiDirectionalPushFront, PopFront, PushBack, PopBack, Insert, Remove
DequePRandomAccessPushFront, PopFront, PushBack, PopBack, Indexed BracketOperator
StackP Push, Pop, Top
QueueP Push, Pop, Front
PriorityQueueA Push, Pop, Front
OUSetABiDirectionalOrdered UniSet: Insert, Remove, Includes
OMSetABiDirectionalOrdered MultiSet: Insert, Remove, Includes
UUSetABiDirectionalUnordered UniSet: Insert, Remove, Includes
UMSetABiDirectionalUnordered MultiSet: Insert, Remove, Includes
AssociativeArrayABiDirectionalUnordered Associative Bracket Operator

For each operation: behavior specification, runtime constraint, runspace constraint

For each container: reason(s) to select it over the other choices


Sequential Containers


Vector


List


Deque


Bidirectional Iterators


Random Access Iterators


VectorIterator


ListIterator


DequeIterator


Sequential Containers Summary