A Kinetic Priority Queue is an abstract kinetic data structure. It is a variant of a priority queue designed to maintain the maximum (or minimum) priority element (key-value pair) when the priority of every element is changing as a continuous function of time. Kinetic priority queues have been used as components of several kinetic data structures, as well as to solve some important non-kinetic problems such as the k-set problem and the connected red blue segments intersection problem.
The operations supported are:
There are several variants of kinetic priority queues, which support the same basic operations but have different performance guarantees. Some of the most common implementations are kinetic heaps which are simple to implement but don't have tight theoretical performance bounds, and their randomized variants - kinetic heaters and kinetic hangers - which are easier to analyze. There is also a heap-like structure based on the dynamic convex hull data structure which achieves better performance for affine motion of the priorities, but doesn't support curved trajectories. The kinetic tournament is another commonly used implementation. It achieves, deterministically, the same performance bounds as the heater or hanger, however it is less local and responsive than the heap-based data-structures.
Lines | O(nlog2n) | O(nlog2n) | O(nlogn) | |||||||
Line segments |
n) | O(m\alpha(n)log2n) | O(mlognloglogn) | |||||||
-intersecting curves | O(n2logn) | O(λ\delta(n)logn) | n/a |
Here,
\alpha(x)
\delta
\delta
λ\delta(n)
n
\delta-
n
m
Kinetic priority queues are used as part of other kinetic data structures/algorithms such as kinetic closest pair, kinetic max-cut or kinetic clustering.
They can also be used to solve problems such as broadcast scheduling or the connected red blue segments intersection problem.