A rearrangement step with potential uses in priority queues
Abstract
Link-based data structures, such as linked lists and binary search trees, have many well-known rearrangement steps allowing for efficient implementations of insertion, deletion, and other operations. We describe a rearrangement primitive designed for link-based, heap-ordered priority queues in the comparison model, such as those similar to Fibonacci heaps or binomial heaps. In its most basic form, the primitive rearranges a collection of heap-ordered perfect binary trees. Doing so offers a data structure control on the number of trees involved in such a collection, in particular keeping this number logarithmic in the number of elements. The rearrangement step is free from an amortized complexity standpoint (using an appropriate potential function).
- Publication:
-
arXiv e-prints
- Pub Date:
- March 2012
- DOI:
- 10.48550/arXiv.1203.0259
- arXiv:
- arXiv:1203.0259
- Bibcode:
- 2012arXiv1203.0259A
- Keywords:
-
- Computer Science - Data Structures and Algorithms;
- 68P05;
- E.1
- E-Print:
- 3 pages, 1 figure