z-logo
open-access-imgOpen Access
Succinct ordinal trees with level-ancestor queries
Author(s) -
Richard F. Geary,
Rajeev Raman,
Venkatesh Raman
Publication year - 2006
Publication title -
acm transactions on algorithms
Language(s) - English
Resource type - Book series
SCImago Journal Rank - 1.093
H-Index - 57
eISSN - 1549-6333
pISSN - 1549-6325
ISBN - 0-89871-558-X
DOI - 10.1145/1198513.1198516
Subject(s) - node (physics) , computer science , theoretical computer science , tree (set theory) , set (abstract data type) , data structure , representation (politics) , ancestor , focus (optics) , combinatorics , variety (cybernetics) , xpath , mathematics , discrete mathematics , xml , xml database , artificial intelligence , programming language , physics , structural engineering , optics , history , operating system , archaeology , politics , law , political science , engineering
We consider succinct or space-efficient representations of trees that efficiently support a variety of navigation operations. We focus on static ordinal trees, that is, 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 1989; Munro and Raman 2001; Benoit et al. 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

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here
Accelerating Research

Address

John Eccles House
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom