2002 · 70 citations · 10 references
ComputingComputer ScienceAlgorithmsData StructuresInformation RetrievalQuery ProcessingSearching AlgorithmsStructured Query LanguageXml DatabasesBinary TreesConstant-time AlgorithmsTree AlgorithmsTree SearchTree-oriented Query ProcessingXml Indexing
We present a labeling scheme for rooted trees that supports ancestor queries. Given a tree, the scheme assigns to each node a label which is a binary string. Given the labels of any two nodes u and v, it can in constant time be determined whether u is ancestor to v alone from these labels. For trees of size n our scheme assigns labels of size bounded by log n + O( p log n) bits to each node. This improves a recent result of Abiteboul, Kaplan and Milo at SODA'01, where a labeling scheme with labels of size 3=2 log n+ O(log log n) was presented. The problem is among other things motivated in connection with ecient representation of information for XML-based search engines for the internet.
10
Depth-First Search and Linear Graph Algorithms
Robert E. Tarjan · SIAM Journal on Computing · 1972 · 6K citations
Mikkel Thorup, Uri Zwick · 2001 · 521 citations
Variable-Length Binary Encodings
E. N. Gilbert, E. F. Moore · Bell System Technical Journal · 1959 · 359 citations
Implicat Representation of Graphs
Sampath Kannan, Moni Naor, Steven Rudich · SIAM Journal on Discrete Mathematics · 1992 · 211 citations
Compact labeling schemes for ancestor queries
Serge Abiteboul, Haim Kaplan, Tova Milo · Symposium on Discrete Algorithms · 2001 · 156 citations