Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to main content

Short and Simple Labels for Small Distances and Other Functions

  • Conference paper
  • First Online:
Algorithms and Data Structures (WADS 2001)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2125))

Included in the following conference series:

Abstract

We present a labeling scheme for rooted trees which allows to compute, from the label ofv alone, unique identifiers for the ancestors of v that are at distance at most d from v. For any constant d our labeling scheme produce labels of length logn + O(√log n), and for d ∈ O(√log n) the labels are still of length O(logn).

In particular, given the labels of two nodes u and v we can determine from the labels alone whether u is the parent of v or vice versa, whether u and v are siblings, and whether u and v are at distance at most d from each other.

The need for such labeling scheme arises in several application areas, including in particular communication networks and search engines for large collections of Web XML files. In the latter application XML files are viewed as trees, and typical queries ask for XML files containing a particular set of nodes with specific ancestor, parent, or sibling relationships among them.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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.

Similar content being viewed by others

References

  1. S. Abiteboul, P. Buneman, and D. Suciu. Data on the Web: From Relations to Semistructured Data and XML. Morgan-Kaufmann, 340 Pine Street, Sixth Floor San Francisco, CA 94104, October 1999.

    Google Scholar 

  2. S. Abiteboul, H. Kaplan, and T. Milo. Compact labeling schemes for ancestor queries. In Proc. 12th Symp. Discrete Algorithms (SODA’01), January 2001.

    Google Scholar 

  3. Stephen Alstrup and Theis Rauhe, January 2001. Private communication at SODA’01.

    Google Scholar 

  4. D. Butler. Souped-up search engines. Nature, 405:112–115, May 2000.

    Google Scholar 

  5. A. Deutsch, M. Fernandez, D. Florescu, A. Levy, and D. Suciu. A query language for xml. In International World Wide Web Conference, 1999.

    Google Scholar 

  6. Cyril Gavoille, David Peleg, Stephane Perennes, and Ran Raz. Distance labeling in graphs. In Proc. 12th Symp. Discrete Algorithms (SODA’01), January 2001.

    Google Scholar 

  7. T. C. Hu and C. Tucker. Optimum computer search trees. SIAM J. Appl. Math., 21:514–532, 1971.

    Article  MATH  MathSciNet  Google Scholar 

  8. M. Katz, N. Katz, and D. Peleg. Distance labeling schemes for well-separated graph classes. In S. Tison H. Reichel, editor, STACS’00, volume 1170 of Lecture Notes in Computer Science, pages 370–381. Springer Verlag, 2000.

    Google Scholar 

  9. David Peleg. Proximity-preserving labeling schemes and their applications. In Graph-Theoretic Concepts in Computer Science, 25th International Workshop, WG’99, volume 1665 of Lecture Notes in Computer Science, pages 30–41. Springer Verlag, 1999.

    Chapter  Google Scholar 

  10. S. Rudich S. Kannan, M. Naor. Implicit representation of graphs. In Proceedings of the Twentieth Annual ACM Symposium on Theory of Computing (STOC’88), pages 334–343, 1988.

    Google Scholar 

  11. N. Santoro and R. Khatib. Labeling and implicit routing in networds. The Computer J., 28:5–8, 1985.

    Article  MATH  MathSciNet  Google Scholar 

  12. M. Thorup and U. Zwick. Compact routing schemes. In To appear in the Proceedings of the Thirteenth ACM Symposium on Parallel Algorithms and Architectures (SPAA), 2001.

    Google Scholar 

  13. W3C. Extensible markup language (xml) 1.0. http://www.w3.org/TR/REC-xml.

  14. W3C. Extensible stylesheet language (xsl). http://www.w3.org/Style/XSL/.

  15. W3C. The w3c query languages workshop, dec 1998, boston, massachussets. http://www.w3.org/TandS/QL/QL98/cfp.html.

  16. Xyleme. A dynamic data warehouse for the xml data of the web. http://www.xyleme.com.

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2001 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Kaplan, H., Milo, T. (2001). Short and Simple Labels for Small Distances and Other Functions. In: Dehne, F., Sack, JR., Tamassia, R. (eds) Algorithms and Data Structures. WADS 2001. Lecture Notes in Computer Science, vol 2125. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-44634-6_23

Download citation

  • DOI: https://doi.org/10.1007/3-540-44634-6_23

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-42423-9

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

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics