Marked Ancestor Problems

  • Authors:
  • Stephen Alstrup;Thore Husfeldt;Theis Rauhe

  • Affiliations:
  • -;-;-

  • Venue:
  • FOCS '98 Proceedings of the 39th Annual Symposium on Foundations of Computer Science
  • Year:
  • 1998

Quantified Score

Hi-index 0.02

Visualization

Abstract

Consider a rooted tree whose nodes can be in two states: marked or unmarked. The marked ancestor problem is to maintain a data structure with the following operations: Mark(v) marks node v; unmark(v) removes any marks from node v; findfirst(v) returns the first marked node on the path from v to the root.We show tight upper and lower bounds for the marked ancestor problem. The lower bounds are proved in the cell probe model, the algorithms run on a unit-cost RAM.As easy corollaries we prove (often optimal) lower bounds on a number of problems. These include planar range searching, including the existential or emptiness problem, priority search trees, static tree union--find, and several problems from dynamic computational geometry, including segment intersection, interval maintenance, and ray shooting in the plane. Our upper bounds improve algorithms from various fields, including coloured ancestor problems and maintenance of balanced parentheses.