Diamond deque: A simple data structure for priority deques
A simple pointer-free data structure is proposed to implement priority deques. The two heaps (a min-heap and a max-heap) of a twin-heap are stored in one linear array. The simple parent-child relationship of a traditional heap is retained. The min-heap and the max-heap will jointly grow and shrink at one end of the linear array. The proposed data structure is named a diamond deque because of the diamond shape of its Hasse diagram. Priority deque operations on a diamond deque are as efficient as on a twin-heap, a min-max heap, or a deap. Because a diamong deque is highly symmetrical, its interface relations between min-heap and max-heap are simpler. This makes it easier to implement in practice.
- Symmetric min-max heap: a simpler data structure for double-ended priority queue
- A survey on priority queues
- Experiences with the design and implementation of space-efficient deques
- scientific article; zbMATH DE number 2111732 (Why is no real title available?)
- Two new methods for constructing double-ended priority queues from priority queues
- Multidimensional heaps and complementary range searching
This page was built for publication: Diamond deque: A simple data structure for priority deques
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q685528)