Jump to content

User:Ringwith/Kinetic Tournament

From Wikipedia, the free encyclopedia

A Kinetic Tournament is a kinetic data structure, obtained by the kinetization of a heap. It maintains a set of (continuously) moving points as a tree that satisfies the following heap property - if is a child node of , then - at all times , where refers to the value stored in node at time . A kinetic heap data structure is a type of kinetic priority queue and is typically used to maintain the upper envelope of a collection of functions in a plane (i.e. the largest value in the heap at any given time).

Implementation and operations

[edit]

A regular heap can be kinetized by augmenting with a certificate for every pair of nodes such that is a child node of . If the value stored at a node is a function of time, then this certificate is only valid while . Thus, the failure of this certificate must be scheduled in the event queue at a time such that .

Dealing with certificate failures

[edit]

When a certificate fails, the data structure must swap and , and update the other certificates that each of them was present in.

For example, if (call its child nodes ) was a child node of (call its child nodes and its parent node ), and the certificate fails, then the data structure must swap and , then replace the old certificates (and the corresponding scheduled events) with new certificates .

Thus, assuming non-degeneracy of the events (no two events happen at the same time), only a constant number of events need to be de-scheduled and re-scheduled even in the worst case.

Operations

[edit]

A kinetic heap supports the following operations:

  • - create an empty kinetic heap
  • (or ) - return the (or for a ) value stored in the heap at the current virtual time
  • - insert a key into the kinetic heap at the current virtual time , whose value changes as a continuous function of time
  • - delete a key at the current virtual time

Variants

[edit]

This article deals primarily with "simple" kinetic heaps as described above, but other variants have been developed for specialized applications, such as:

Other kinetic priority queues which require linear space and achieve similar performance bounds are:

Performance

[edit]

Kinetic heaps perform well according to the four metrics (responsiveness, locality, efficiency and compactness) of kinetic data structure quality defined in Basch etc.

Responsiveness

[edit]

A kinetic heap is responsive, since each certificate failure causes the concerned keys to be swapped and leads to only five certificates being replaced in the worst case.

Locality

[edit]

Each node is present in one certificate each along with its parent node and two child nodes (if present), meaning that each node can be involved in a total of three scheduled events in the worst case, thus kinetic heaps are local.

Compactness

[edit]

Each edge in the heap corresponds to exactly one scheduled event, therefore the number of scheduled events is exactly where is the number of nodes in the kinetic heap. Thus, kinetic heaps are compact.

Efficiency

[edit]

The efficiency of a kinetic heap in the general case is largely unknown. However, in the special case of affine motion () of the values, kinetic heaps are known to be very efficient.

Affine motion, no insertions or deletions

[edit]

In this special case, the maximum number of events processed by a kinetic heap can be shown to be exactly the number of edges in the transitive closure of the tree structure of the heap, which is for a tree of height .

Affine motion, with insertions and deletions

[edit]

If insertions and deletions are made on a kinetic heap that starts empty, the maximum number of events processed is . However, this bound is not believed to be tight, and the only known lower bound is .

Applications

[edit]

Kinetic heaps have been used as part of many algorithms such as dynamic planar convex hull, clustering moving points and continuous nearest neighbor queries, as well as for applications such as broadcast scheduling.

References

[edit]

http://graphics.stanford.edu/projects/lgl/papers/g-KDS_DS-Handbook-04/g-KDS_DS-Handbook-04.pdf http://www.uniriotec.br/~fonseca/kh.pdf http://www.uniriotec.br/~fonseca/hanger.pdf http://dl.acm.org/citation.cfm?id=314435 http://dl.acm.org/citation.cfm?id=263089 http://citeseer.ist.psu.edu/viewdoc/download?doi=10.1.1.41.2301&rep=rep1&type=pdf

[edit]