FSU Seal - 1851

COT 5405
Advanced Algorithms
Chris Lacher
Notes 6: Associative ADTs: Set, Map, Table, AssociativeArray

Associative ADTs


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


Set and MultiSet


Uni v Multi


Sorted v Unsorted (Hashed)


Table, Map, AssociativeArray


Associative Containers Summary