Title :
Marked ancestor problems
Author :
Alstrup, Stephen ; Husfeldt, Thore ; Rauhe, Theis
Author_Institution :
Dept. of Comput. Sci., Copenhagen Univ., Denmark
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; firstmarked(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
Keywords :
computational complexity; computational geometry; trees (mathematics); balanced parentheses; cell probe model; coloured ancestor problems; data structure; dynamic computational geometry; interval maintenance; lower bounds; marked ancestor problems; planar range searching; ray shooting; rooted tree; segment intersection; upper bounds; Computational geometry; DNA; Data structures; Probes; Read only memory; Upper bound;
Conference_Titel :
Foundations of Computer Science, 1998. Proceedings. 39th Annual Symposium on
Conference_Location :
Palo Alto, CA
Print_ISBN :
0-8186-9172-7
DOI :
10.1109/SFCS.1998.743504