Skip to main content

Tradeoff Between Label Space and Auxiliary Space for Representation of Equivalence Classes

  • Conference paper
  • First Online:
Algorithms and Computation (ISAAC 2014)

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

Included in the following conference series:

Abstract

Given a set of \(n\) elements that are partitioned into equivalence classes, we study the problem of assigning unique labels to these elements in order to support the query that asks whether the elements corresponding to two given labels belong to the same equivalence class. This problem has been studied by Katz et al [11], Alstrup et al  [1], and Lewenstein et al [12]. Lewenstein et al [12] showed that if the labels were to be assigned from the set \(\{1,...,n\}\), a data structure of size \(\Theta (\sqrt{n})\) bits is necessary and sufficient to represent the equivalence classes. They also showed that with no auxiliary data structure, a label space of size \(\sum _{i=1}^{n}\lfloor \frac{n}{i}\rfloor \) is necessary and sufficient. Our main result is that if we allow a label space of size \(cn\) for any constant \(c > 1\), a data structure of size \(\Theta (\log n)\) bits is necessary and sufficient. We also show that the equivalence query in such a data structure can be answered in \(\Theta (1)\) time. We believe that our work can trigger further work on tradeoffs between label space and auxiliary data structure space for other labeling problems.

This work was sponsored by the NSERC of Canada and the Canada Research Chairs Program.

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 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
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. Alstrup, S., Bille, P., Rauhe, T.: Labeling schemes for small distances in trees. In: Proceedings of the Fourteenth Annual ACM-SIAM Symposium on Discrete Algorithms, Baltimore, Maryland, USA, January 12–14, pp. 689–698 (2003)

    Google Scholar 

  2. Barbay, J., Castelli Aleardi, L., He, M., Munro, J.I.: Succinct representation of labeled graphs. In: Tokuyama, T. (ed.) ISAAC 2007. LNCS, vol. 4835, pp. 316–328. Springer, Heidelberg (2007)

    Chapter  Google Scholar 

  3. 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 

  4. Brodnik, A., Munro, J.I.: Membership in constant time and almost-minimum space. SIAM Journal on Computing 28(5), 1627–1640 (1999)

    Article  MATH  MathSciNet  Google Scholar 

  5. Farzan, A., Munro, J.I.: Succinct representations of arbitrary graphs. In: Halperin, D., Mehlhorn, K. (eds.) ESA 2008. LNCS, vol. 5193, pp. 393–404. Springer, Heidelberg (2008)

    Chapter  Google Scholar 

  6. Farzan, A., Munro, J.I.: A uniform paradigm to succinctly encode various families of trees. Algorithmica 68(1), 16–40 (2014)

    Article  MATH  MathSciNet  Google Scholar 

  7. Geary, R.F., Raman, R., Raman, V.: Succinct ordinal trees with level-ancestor queries. In: Proceedings of the Fifteenth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2004, New Orleans, Louisiana, USA, January 11–14, pp. 1–10 (2004)

    Google Scholar 

  8. Grossi, R., Orlandi, A., Raman, R., Rao, S.S.: More haste, less waste: Lowering the redundancy in fully indexable dictionaries. In: Proceedings of the 26th International Symposium on Theoretical Aspects of Computer Science, STACS 2009, Freiburg, Germany, February 26–28, pp. 517–528 (2009)

    Google Scholar 

  9. Hardy, G.H., Ramanujan, S.: Asymptotic formulae in combinatory analysis. Proceedings of the London Mathematical Society 2(1), 75–115 (1918)

    Article  MathSciNet  Google Scholar 

  10. Kannan, S., Naor, M., Rudich, S.: Implicat representation of graphs. SIAM Journal on Discrete Mathematics 5(4), 596–603 (1992)

    Article  MATH  MathSciNet  Google Scholar 

  11. Katz, M., Katz, N.A., Korman, A., Peleg, D.: Labeling schemes for flow and connectivity. SIAM Journal on Computing 34(1), 23–40 (2004)

    Article  MATH  MathSciNet  Google Scholar 

  12. Lewenstein, M., Munro, J.I., Raman, V.: Succinct data structures for representing equivalence classes. In: Cai, L., Cheng, S.-W., Lam, T.-W. (eds.) Algorithms and Computation. LNCS, vol. 8283, pp. 502–512. Springer, Heidelberg (2013)

    Chapter  Google Scholar 

  13. Munro, J.I.: Tables. In: Foundations of Software Technology and Theoretical Computer Science, pp. 37–42. Springer (1996)

    Google Scholar 

  14. Munro, J.I., Nicholson, P.K.: Succinct posets. In: Epstein, L., Ferragina, P. (eds.) ESA 2012. LNCS, vol. 7501, pp. 743–754. Springer, Heidelberg (2012)

    Chapter  Google Scholar 

  15. Munro, J.I., Raman, V.: Succinct representation of balanced parentheses, static trees and planar graphs. In: 38th Annual Symposium on Foundations of Computer Science, FOCS 1997, Miami Beach, Florida, USA, October 19–22, pp. 118–126 (1997)

    Google Scholar 

  16. Raman, R., Raman, V., Satti, S.R.: Succinct indexable dictionaries with applications to encoding k-ary trees, prefix sums and multisets. ACM Transactions on Algorithms (TALG) 3(4), 43 (2007)

    Article  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Hicham El-Zein .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer International Publishing Switzerland

About this paper

Cite this paper

El-Zein, H., Munro, J.I., Raman, V. (2014). Tradeoff Between Label Space and Auxiliary Space for Representation of Equivalence Classes. In: Ahn, HK., Shin, CS. (eds) Algorithms and Computation. ISAAC 2014. Lecture Notes in Computer Science(), vol 8889. Springer, Cham. https://doi.org/10.1007/978-3-319-13075-0_43

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-13075-0_43

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-13074-3

  • Online ISBN: 978-3-319-13075-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics