Skip to main content

A Uniform Approach Towards Succinct Representation of Trees

  • Conference paper
Algorithm Theory – SWAT 2008 (SWAT 2008)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 5124))

Included in the following conference series:

Abstract

We propose a uniform approach for succinct representation of various families of trees. The method is based on two recursive decomposition of trees into subtrees. Recursive decomposition of a structure into substructures is a common technique in succinct data structures and has been shown fruitful in succinct representation of ordinal trees [7,10] and dynamic binary trees [16,21]. We take an approach that simplifies the existing representation of ordinal trees while allowing the full set of navigational operations. The approach applied to cardinal (i.e. k-ary) trees yields a space-optimal succinct representation allowing cardinal-type operations (e.g. determining child labeled i) as well as the full set of ordinal-type operations (e.g. reporting the number of siblings to the left of a node). Existing space-optimal succinct representations had not been able to support both types of operations [2,19].

We demonstrate how the approach can be applied to obtain a space-optimal succinct representation for the family of free trees where the order of children is insignificant. Furthermore, we show that our approach can be used to obtain entropy-based succinct representations. We show that our approach matches the degree-distribution entropy suggested by Jansson et al. [13]. We discuss that our approach can be made adaptive to various other entropy measures.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 99.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 129.00
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Barbay, J., He, M., Munro, J.I., Rao, S.S.: Succinct indexes for strings, binary relations and multi-labeled trees. In: Proceedings of the 18th ACM-SIAM Symposium on Discrete Algorithms (SODA), pp. 680–689. ACM-SIAM, New York (2007)

    Google Scholar 

  2. Benoit, D., Demaine, E.D., Munro, J.I., Raman, R., Raman, V., Rao, S.S.: Representing trees of higher degree. Algorithmica 43(4), 275–292 (2005)

    Article  MATH  MathSciNet  Google Scholar 

  3. Bernhart, F.R.: Catalan, motzkin, and riordan numbers. Discrete Mathematics 204, 72–112 (1999)

    Article  MathSciNet  Google Scholar 

  4. Clark, D.R.: Compact pat trees. PhD thesis, Waterloo, Ontario. Canada (1998)

    Google Scholar 

  5. Clark, D.R., Munro, J.I.: Efficient suffix trees on secondary storage (extended abstract). In: SODA, pp. 383–391 (1996)

    Google Scholar 

  6. Etherington, I.M.H.: Non-associate powers and a functional equation. The Mathematical Gazette 21(242), 36–39 (1937)

    Article  MATH  Google Scholar 

  7. Geary, R.F., Raman, R., Raman, V.: Succinct ordinal trees with level-ancestor queries. ACM Transactions on Algorithms 2(4), 510–534 (2006)

    Article  MathSciNet  Google Scholar 

  8. Graham, R.L., Knuth, D.E., Patashnik, O.: Concrete Mathematics: A Foundation for Computer Science. Addison-Wesley Longman Publishing Co. Inc. Boston (1994)

    MATH  Google Scholar 

  9. Harary, F., Palmer, E.M.: Graphical Enuemration. Academic Press, New York (1973)

    Google Scholar 

  10. He, M., Munro, J.I., Rao, S.S.: Succinct ordinal trees based on tree covering. In: Arge, L., Cachin, C., Jurdziński, T., Tarlecki, A. (eds.) ICALP 2007. LNCS, vol. 4596, pp. 509–520. Springer, Heidelberg (2007)

    Chapter  Google Scholar 

  11. Jacobson, G.: Space-efficient static trees and graphs. In: Foundations of Computer Science. 30th Annual Symposium on (30 October-1 November 1989), pp. 549–554 (1989)

    Google Scholar 

  12. Jacobson, G.J. Succinct static data structures. PhD thesis, Pittsburgh, PA, USA (1988)

    Google Scholar 

  13. Jansson, J., Sadakane, K., Sung, W.-K.: Ultra-succinct representation of ordered trees. In: Bansal, N., Pruhs, K., Stein, C. (eds.) SODA, pp. 575–584. SIAM, Philadelphia (2007)

    Google Scholar 

  14. Knuth, D.E.: The Art of Computer Programming, 3rd edn. vol. 1. Addison-Wesley, Reading (1997)

    Google Scholar 

  15. Munro, J.I., Raman, V.: Succinct representation of balanced parentheses, static trees and planar graphs. In: IEEE Symposium on Foundations of Computer Science, pp. 118–126 (1997)

    Google Scholar 

  16. Munro, J.I., Raman, V., Storm, A.J.: Representing dynamic binary trees succinctly. In: SODA, pp. 529–536 (2001)

    Google Scholar 

  17. Odlyzko, A.M.: Some new methods and results in tree enumeration, (May 04, 1984)

    Google Scholar 

  18. Otter, R.: The number of trees. The Annals of Mathematics, 2nd Ser. 49(3), 583–599 (1948)

    MathSciNet  Google Scholar 

  19. Raman, R., Raman, V., Rao, S.S.: Succinct indexable dictionaries with applications to encoding k-ary trees and multisets. In: SODA, pp. 233–242 (2002)

    Google Scholar 

  20. Rote, G.: Binary trees having a given number of nodes with 0,1, and 2 children. Séminaire Lotharingien de Combinatoire 38 (1997)

    Google Scholar 

  21. Storm, A.J. Representing dynamic binary trees succinctly. Master’s thesis, School of Computer Science, University of Waterloo, Waterloo, Ontario, Canada (2000)

    Google Scholar 

  22. Wedderburn, J.H.M.: The Functional Equation g(x 2) = 2ax + [g(x)]2. The Annals of Mathematics, 2nd Ser. 24(2), 121–140 (1922)

    Article  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Joachim Gudmundsson

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Farzan, A., Munro, J.I. (2008). A Uniform Approach Towards Succinct Representation of Trees. In: Gudmundsson, J. (eds) Algorithm Theory – SWAT 2008. SWAT 2008. Lecture Notes in Computer Science, vol 5124. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-69903-3_17

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-69903-3_17

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-69900-2

  • Online ISBN: 978-3-540-69903-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics