Skip to main content

Labeling Schemes for Tree Representation

  • Conference paper
Distributed Computing – IWDC 2005 (IWDC 2005)

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

Included in the following conference series:

  • 612 Accesses

Abstract

This paper deals with compact label-based representations for trees. Consider an n-node undirected connected graph G with a predefined numbering on the ports of each node. The all-ports tree labeling \({\mathcal L}_{all}\) gives each node v of G a label containing the port numbers of all the tree edges incident to v. The upward tree labeling \({\mathcal L}_{up}\) labels each node v by the number of the port leading from v to its parent in the tree. Our measure of interest is the worst case and total length of the labels used by the scheme, denoted M up (T) and S up (T) for \({\mathcal L}_{up}\) and M all (T) and S all (T) for \({\mathcal L}_{all}\). The problem studied in this paper is the following: Given a graph G and a predefined port labeling for it, with the ports of each node v numbered by 0,...,deg(v) – 1, select a rooted spanning tree for G minimizing (one of) these measures. We show that the problem is polynomial for M up (T), S up (T) and S all (T) but NP-hard for M all (T) (even for 3-regular planar graphs). We show that for every graph G and port numbering there exists a spanning tree T for which S up (T) = O(n log log n). We give a tight bound of O(n) in the cases of complete graphs with arbitrary labeling and arbitrary graphs with symmetric port assignments. We conclude by discussing some applications for our tree representation schemes.

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

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. Attiya, H., Welch, J.: Distributed Computing: Fundamentals, Simulations and Advanced Topics. McGraw-Hill, New York (1998)

    Google Scholar 

  2. Chu, Y., Liu, T.: On the shortest arborescence of a directed graph. Science Sinica 14, 1396–1400 (1965)

    MATH  Google Scholar 

  3. Cohen, R., Fraigniaud, P., Ilcinkas, D., Korman, A., Peleg, D.: Label-Guided Graph Exploration by a Finite Automaton. In: Caires, L., Italiano, G.F., Monteiro, L., Palamidessi, C., Yung, M. (eds.) ICALP 2005. LNCS, vol. 3580, pp. 335–346. Springer, Heidelberg (2005)

    Chapter  Google Scholar 

  4. Cormen, T.H., Leiserson, C.E., Rivest, R.L.: Introduction to Algorithms. MIT Press/McGraw-Hill (1990)

    Google Scholar 

  5. Czumaj, A., Strothmann, W.-B.: Bounded-degree spanning tree. In: Burkard, R.E., Woeginger, G.J. (eds.) ESA 1997. LNCS, vol. 1284, pp. 104–117. Springer, Heidelberg (1997)

    Chapter  Google Scholar 

  6. Diks, K., Fraigniaud, P., Kranakis, E., Pelc, A.: Tree Exploration with Little Memory. In: Proc. 13th Ann. ACM-SIAM Symp. on Discrete Algorithms (SODA), pp. 588–597 (2002)

    Google Scholar 

  7. Edmonds, J.: Optimum branchings. J. Research of the National Bureau of Standards 71B, 233–240 (1967)

    MathSciNet  Google Scholar 

  8. Elias, P.: Universal Codeword Sets and Representations of the Integers. IEEE Trans. Inform. Theory 21(2), 194–203 (1975)

    Article  MATH  MathSciNet  Google Scholar 

  9. Fürer, M., Raghavachari, B.: Approximating the minimum degree spanning tree within one from the optimal degree. In: Proc. 3rd Ann. ACM-SIAM Symp. on Discrete Algorithms (SODA), pp. 317–324 (1992)

    Google Scholar 

  10. Garey, M., Johnson, D., Tarjan, R.: The planar Hamiltonian circuit is NP-complete. SIAM Journal on Computing 5(4), 704–714 (1976)

    Article  MATH  MathSciNet  Google Scholar 

  11. Lynch, N.: Distributed Algorithms. Morgan Kaufmann, San Francisco (1995)

    Google Scholar 

  12. Peleg, D.: Distributed Computing: A Locality-Sensitive Approach. SIAM, Philadelphia (2000)

    Book  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Cohen, R., Fraigniaud, P., Ilcinkas, D., Korman, A., Peleg, D. (2005). Labeling Schemes for Tree Representation. In: Pal, A., Kshemkalyani, A.D., Kumar, R., Gupta, A. (eds) Distributed Computing – IWDC 2005. IWDC 2005. Lecture Notes in Computer Science, vol 3741. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11603771_2

Download citation

  • DOI: https://doi.org/10.1007/11603771_2

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-30959-8

  • Online ISBN: 978-3-540-32428-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics