ACM Home Page
Please provide us with feedback. Feedback
Digital Library logoTake a look at the new version of this page: [ beta version ]. Tell us what you think.
Succinct ordinal trees with level-ancestor queries
Full text PdfPdf (402 KB)
Source Symposium on Discrete Algorithms archive
Proceedings of the fifteenth annual ACM-SIAM symposium on Discrete algorithms table of contents
New Orleans, Louisiana
SESSION: Session 1A table of contents
Pages: 1 - 10  
Year of Publication: 2004
ISBN:0-89871-558-X
Authors
Richard F. Geary  University of Leicester, Leicester, UK
Rajeev Raman  University of Leicester, Leicester, UK
Venkatesh Raman  Institute of Mathematical Sciences, Chennai, India
Sponsor
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
Publisher
Society for Industrial and Applied Mathematics  Philadelphia, PA, USA
Bibliometrics
Downloads (6 Weeks): 0,   Downloads (12 Months): 25,   Citation Count: 11
Additional Information:

abstract   references   cited by   collaborative colleagues  

Tools and Actions: Review this Article  

ABSTRACT

We consider suc cinct or space-efficient representations of trees that efficiently support a variety of navigation operations. We focus on static ordinal trees, i.e., arbitrary static rooted trees where the children of each node are ordered. The set of operations is essentially the union of the sets of operations supported by previous succinct representations (Jacobson, Proc. 30th FOCS, 549--554, 1989; Munro and Raman, SIAM J. Comput. 31 (2001), 762--776; and Benoit et. al Proc. 6th WADS, LNCS 1663, 169--180, 1999), to which we add the level-ancestor operation.Our representation takes 2n + o(n) bits to represent an n-node tree, which is within o(n) bits of the information-theoretic minimum, and supports all operations in O(1) time on the RAM model. These operations also provide a mapping from the n nodes of the tree onto the integers {1,...,n}. In addition to the existing motivations for studying such data structures, we are motivated by the problem of representing XML documents compactly so that XPath queries can be supported efficiently.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
 
2
 
3
 
4
D. A. Benoit, E. D. Demaine, J. I. Munro, R. Raman, V. Raman and S. S. Rao. Representing trees of higher degree. TR 2001/46, Dept. of Maths & CS, University of Leicester, 2001.
 
5
 
6
B. Chazelle. Computing on a free tree via complexity-preserving mappings. A lgorithmica 2 (1987), pp. 337--361.
 
7
 
8
J. Clark and S. DeRose. XML Path Language (XPath) Version 1.0. W3C Recommendation 16 November 1999. http://www.w3.org/TR/xpath. W3C Consortium, 1999.
 
9
P. F. Dietz. Finding level-ancestors in dynamic trees. In Proc. 2nd WADS, LNCS 519, pp. 32--40, 1991.
 
10
 
11
A. Le Hors, P. Le Hégaret, L. Wood, G. Nicol, J. Robie, M. Champion, S. Byrne. Document Object Model (DOM) Level 2 Core Specification Version 1.0. W3C Recommendation 13 November, 2000. http://www.w3.org/TR/DOM-Level-2-Core. W3C Consortium, 2000.
 
12
G. Jacobson. Space-efficient static trees and graphs. In Proc. 30th FOCS, pp. 549--554, 1989.
 
13
 
14
 
15
J. I. Munro and S. S. Rao. Succinct representations of functions. Manuscript, 2003.
 
16

CITED BY  11
Collaborative Colleagues:
Richard F. Geary: colleagues
Rajeev Raman: colleagues
Venkatesh Raman: colleagues