|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Jérémy Barbay , Meng He , J. Ian Munro , S. Srinivasa Rao, Succinct indexes for strings, binary relations and multi-labeled trees, Proceedings of the eighteenth annual ACM-SIAM symposium on Discrete algorithms, p.680-689, January 07-09, 2007, New Orleans, Louisiana
|
|
|
|
|
|
|
|
|
|
|