Skip to main content
Log in

How to Use Spanning Trees to Navigate in Graphs

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract

In this paper, we investigate three strategies of how to use a spanning tree T of a graph G to navigate in G, i.e., to move from a current vertex x towards a destination vertex y via a path that is close to optimal. In each strategy, each vertex v has full knowledge of its neighborhood N G [v] in G (or, k-neighborhood D k (v,G), where k is a small integer) and uses a small piece of global information from spanning tree T (e.g., distance or ancestry information in T), available locally at v, to navigate in G. We investigate advantages and limitations of these strategies on particular families of graphs such as graphs with locally connected spanning trees, graphs with bounded length of largest induced cycle, graphs with bounded tree-length, graphs with bounded hyperbolicity. For most of these families of graphs, the ancestry information from a Breadth-First-Search-tree guarantees short enough routing paths. In many cases, the obtained results are optimal up to a constant factor.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13

Similar content being viewed by others

References

  1. Abraham, I., Balakrishnan, M., Kuhn, F., Malkhi, D., Ramasubramanian, V., Talwar, K.: Reconstructing approximate tree metrics. In: Proceedings of the Twenty-Sixth Annual ACM Symposium on Principles of Distributed Computing (PODC 2007), Portland, Oregon, USA August 12–15, 2007 pp. 43–52. ACM, New York (2007)

    Chapter  Google Scholar 

  2. Adamic, L.A., Lukose, R.M., Huberman, B.A.: Local Search in Unstructured Networks. Willey, New York (2002)

    Google Scholar 

  3. Adamic, L.A., Lucose, R.M., Puniyani, A.R., Huberman, B.A.: Search in power-law networks. Phys. Rev. E 64(046135), 1–8 (2001)

    Google Scholar 

  4. Alonso, J.M., Brady, T., Cooper, D., Ferlini, V., Lustig, M., Mihalik, M., Shapiro, M., Short, H.: Notes on word hyperbolic groups. In: Ghys, E., Haefliger, A., Verjovsky, A. (eds.) Group Theory from a Geometrical Viewpoint, ICTP, Trieste 1990, pp. 3–63. World Scientific, Singapore (1991)

    Google Scholar 

  5. Bose, P., Morin, P., Stojmenovic, I., Urrutia, J.: Routing with guaranteed delivery in ad hoc wireless networks. In: Proceedings of the 3rd International Workshop on Discrete algorithms and Methods for Mobile Computing and Communications, pp. 48–55. ACM Press, New York (1999)

    Google Scholar 

  6. Brandstädt, A., Chepoi, V.D., Dragan, F.F.: The algorithmic use of hypertree structure and maximum neighbourhood orderings. Discrete Appl. Math. 82, 43–77 (1998)

    Article  MathSciNet  MATH  Google Scholar 

  7. Brandstädt, A., Dragan, F.F., Chepoi, V.D., Voloshin, V.I.: Dually chordal graphs. SIAM J. Discrete Math. 11, 437–455 (1998)

    Article  MathSciNet  MATH  Google Scholar 

  8. Brandstädt, A., Le Bang, V., Spinrad, J.P.: In: Graph Classes: A Survey. SIAM Monographs on Discrete Mathematics and Applications. SIAM, Philadelphia (1999)

    Chapter  Google Scholar 

  9. Bridson, M., Haefliger, A.: Metric Spaces of Non-Positive Curvature. Springer, Berlin (1999)

    Book  MATH  Google Scholar 

  10. Chepoi, V., Dragan, F.F., Estellon, B., Habib, M., Vaxès, Y.: Diameters, centers, and approximating trees of δ-hyperbolic geodesic spaces and graphs. In: Proceedings of the 24th Annual ACM Symposium on Computational Geometry, June 9–11 (2008)

  11. Chepoi, V., Dragan, F.F., Estellon, B., Habib, M., Vaxès, Y., Xiang, Y.: Additive spanners and distance and routing labeling schemes for δ-Hyperbolic graphs. Algorithmica 62, 713–732 (2012)

    Article  MathSciNet  MATH  Google Scholar 

  12. Corneil, D.G., Dragan, F.F., Köhler, E.: On the power of BFS to determine a graph’s diameter. Networks 42, 209–222 (2003)

    Article  MathSciNet  MATH  Google Scholar 

  13. Corneil, D.G., Dragan, F.F., Köhler, E., Xiang, Y.: Lower bounds for collective additive tree spanners. In preparation

  14. Diestel, R.: Graph Theory, 2nd edn. Graduate Texts in Mathematics, vol. 173. Springer, Berlin (2000)

    Google Scholar 

  15. Dourisboure, Y., Gavoille, C.: Tree-decompositions with bags of small diameter. Discrete Math. 307, 2008–2029 (2007)

    Article  MathSciNet  MATH  Google Scholar 

  16. Dragan, F.F.: Estimating all pairs shortest paths in restricted graph families: A unified approach. J. Algorithms 57, 1–21 (2005)

    Article  MathSciNet  MATH  Google Scholar 

  17. Dragan, F.F., Matamala, M.: Navigating in a graph by aid of its spanning tree metric. SIAM J. Discrete Math. 25, 306–332 (2011)

    Article  MathSciNet  MATH  Google Scholar 

  18. Elkin, M.: A faster distributed protocol for constructing a minimum spanning tree. J. Comput. Syst. Sci. 72, 1282–1308 (2006)

    Article  MathSciNet  MATH  Google Scholar 

  19. Fonseca, R., Ratnasamy, S., Zhao, J., Ee, C.T., Culler, D., Shenker, S., Stoica, I.: Beacon vector routing: scalable point-to-point routing in wireless sensornets. In: Proceedings of the Second USENIX/ACM Symposium on Networked Systems Design and Implementation (NSDI 2005) (2005)

    Google Scholar 

  20. Fraigniaud, P.: Small worlds as navigable augmented networks: model, analysis, and validation. In: Proceedings of the 15th Annual European Symposium, ESA 2007, Eilat, Israel, October 8–10, 2007. Lecture Notes in Computer Science, vol. 4698, pp. 2–11. Springer, Berlin (2007). 2007

    Google Scholar 

  21. Fraigniaud, P., Korman, A., Lebhar, E.: Local MST computation with short advice. Theory Comput. Syst. 47, 920–933 (2010)

    Article  MathSciNet  MATH  Google Scholar 

  22. Garg, V.K., Agarwal, A.: Distributed maintenance of a spanning tree using labeled tree encoding. In: Processing of Euro-Par 2005. Lecture Notes in Computer Science, vol. 3648, pp. 606–616 (2005)

    Chapter  Google Scholar 

  23. Gartner, F.C.: A survey of self-stabilizing spanning-tree construction algorithms. Technical report ic/2003/38, Swiss Federal Institute of Technology (EPFL) (2003)

  24. Gavoille, C.: A survey on interval routing schemes. Theor. Comput. Sci. 245, 217–253 (1999)

    Article  MathSciNet  Google Scholar 

  25. Gavoille, C.: Routing in distributed networks: overview and open problems. ACM SIGACT News-Distribute Comput. Column 32 (2001)

  26. Gavoille, C., Katz, M., Katz, N.A., Paul, C., Peleg, D.: In: Approximate distance labeling schemes, 9th Annual European Symposium on Algorithms, ESA. Lecture Notes in Computer Science, vol. 2161, pp. 476–488. Springer, Berlin (2001)

    Google Scholar 

  27. Gavoille, C., Peleg, D., Pérennès, S., Raz, R.: Distance labeling in graphs. J. Algorithms 53, 85–112 (2004)

    Article  MathSciNet  MATH  Google Scholar 

  28. Ghys, E., de la Harpe, P. (eds.): Les Groupes Hyperboliques d’après M. Gromov. Progress in Mathematics, vol. 83. Birkhäuser, Basel (1990)

    MATH  Google Scholar 

  29. Giordano, S., Stojmenovic, I.: Position based routing algorithms for ad hoc networks: a taxonomy. In: Cheng, X., Huang, X., Du, D. (eds.) Ad Hoc Wireless Networking, pp. 103–136. Kluwer, Amsterdam (2004)

    Chapter  Google Scholar 

  30. Golumbic, M.C.: Algorithmic Graph Theory and Perfect Graphs. Academic Press, New York (1980)

    MATH  Google Scholar 

  31. Gromov, M.: Hyperbolic groups. In: Gersten, S.M. (ed.) Essays in group theory. MSRI Series, vol. 8, pp. 75–263 (1987)

    Chapter  Google Scholar 

  32. Henzinger, M.R., King, V.: Maintaining minimum spanning trees in dynamic graphs. In: Proceedings of 24th International Colloquium on Automata, Languages and Programming (ICALP’97), Bologna, Italy, 7–11, July 1997. Lecture Notes in Computer Science, vol. 1256, pp. 594–604. Springer, Berlin (1997)

    Chapter  Google Scholar 

  33. Holm, J., de Lichtenberg, K., Thorup, M.: Poly-logarithmic deterministic fully-dynamic algorithms for connectivity, minimum spanning tree, 2-edge, and biconnectivity. J. ACM 48, 723–760 (2001)

    Article  MathSciNet  MATH  Google Scholar 

  34. Jacquet, P., Viennot, L.: Remote spanners: what to know beyond neighbors. In: 23rd IEEE International Parallel and Distributed Processing Symposium (IPDPS 2009), pp. 1–15 (2009)

    Chapter  Google Scholar 

  35. Karp, B., Kung, H.T.: GPSR: greedy perimeter stateless routing for wireless networks. In: Proceedings of the 6th ACM/IEEE MobiCom, pp. 243–254. ACM, New York (2000)

    Google Scholar 

  36. Kleinberg, J.M.: The small-world phenomenon: an algorithm perspective. In: Proceedings of the Thirty-Second Annual ACM Symposium on Theory of Computing (STOC 2000), May 21–23 (2000)

  37. Kleinberg, R.: Geographic routing using hyperbolic space. In: Proceedings of the 26th IEEE International Conference on Computer Communications (INFOCOM 2007), Anchorage, AK pp. 1902–1909. IEEE, New York (2007)

    Chapter  Google Scholar 

  38. Kuhn, F., Wattenhofer, R., Zhang, Y., Zollinger, A.: Geometric ad-hoc routing: of theory and practice. In: Proceedings of the 22nd Annual Symposium on Principles of Distributed Computing, pp. 63–72. ACM, New York (2003)

    Google Scholar 

  39. Liben-Nowell, D., Novak, J., Kumar, R., Raghavan, P., Tomkins, A.: Geographic routing in social networks. Proc. Natl. Acad. Sci. USA 102, 11623–11628 (2005)

    Article  Google Scholar 

  40. Linial, N., London, E., Rabinovich, Y.: The geometry of graphs and some of its algorithmic applications. Combinatorica 15, 215–245 (1995)

    Article  MathSciNet  MATH  Google Scholar 

  41. Peleg, D.: Proximity-Preserving labeling schemes and their applications. J. Graph Theory 33, 167–176 (2000)

    Article  MathSciNet  MATH  Google Scholar 

  42. Peleg, D.: Distributed Computing: A Locality-Sensitive Approach. SIAM Monographs on Discrete Math. Appl. SIAM, Philadelphia (2000)

    Book  MATH  Google Scholar 

  43. Rao, A., Papadimitriou, C., Shenker, S., Stoica, I.: Geographical routing without location information. In: Proceedings of the 9th Annual International Conference on Mobile Computing and Networking (MobiCom 2003), pp. 96–108 (2003)

    Chapter  Google Scholar 

  44. Robertson, N., Seymour, P.D.: Graph minors. II. Algorithmic aspects of tree-width. J. Algorithms 7, 309–322 (1986)

    Article  MathSciNet  MATH  Google Scholar 

  45. Rose, D., Tarjan, R.E., Lueker, G.: Algorithmic aspects on vertex elimination on graphs. SIAM J. Comput. 5, 266–283 (1976)

    Article  MathSciNet  MATH  Google Scholar 

  46. Santoro, N., Khatib, R.: Labelling and implicit routing in networks. Comput. J. 28, 5–8 (1985)

    Article  MathSciNet  MATH  Google Scholar 

  47. Shavitt, Y., Tankel, T.: On internet embedding in hyperbolic spaces for overlay construction and distance estimation. In: Proceedings of the 23rd Annual Joint Conference of the IEEE Computer and Communications Societies (INFOCOM 2004), Hong Kong, China, March 7–11, 2004, pp. 7–11. IEEE, New York (2004)

    Google Scholar 

  48. Thorup, M., Zwick, U.: Compact routing schemes. In: Proceedings of the 13th Annual ACM Symposium on Parallel Algorithms and Architectures (SPAA 2001), Heraklion, Crete Island, Greece, July 4–6, 2001, pp. 1–10. ACM, New York (2001)

    Google Scholar 

Download references

Acknowledgements

We would like to thank the reviewer for many useful comments.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Feodor F. Dragan.

Additional information

Part of these results is presented at MFCS 2009 Conference, August 24–28, 2009, Novy Smokovec, High Tatras, Slovak Republic.

Y. Xiang was supported in part by the NSF under Grant #1019343 to the Computing Research Association for the CIFellows Project.

Appendix A: Experimental Results

Appendix A: Experimental Results

In this appendix, we empirically compare the performance of TDGR, IGR and IGRF, and their corresponding k-localized versions, on Unit Disk Graphs (UDGs), which often model the wireless ad hoc networks. We use three kinds of spanning trees, breadth-first-search tree (BFST, for short), minimum-spanning tree (MST, for short), and depth-first-search tree (DFST, for short) for TDGR, IGR, and IGRF. Since the IGR scheme is the same as the IGRF scheme if the spanning tree is BFST, we only need to report on one of them. Therefore, the routing scheme pairs (“strategy type”–“tree type”), we report on, are BFST-IGR, BFST-TDGR, MST-IGR, MST-IGRF, MST-TDGR, DFST-IGR, DFST-IGRF, and DFST-TDGR. All methods are implemented in C++.

To generate a Unit Disk Graph, we first fix an area S, a radius R, and the number of vertices N. Then, in S we randomly generate N vertices/points. Two vertices/points are connected by an edge if and only if their Euclidean distance is at most R.

In the experiments, we care about the maximum multiplicative-stretch factor and average multiplicative-stretch factor of each routing scheme using different spanning trees. The multiplicative-stretch factor of two vertices u and v is defined as \(\frac{g_{G,T}(u,v)}{d_{G}(u,v)}\), which is a good indication of how close the routing path is to the shortest path. Here, g G,T (u,v) is the length of the route produced by an appropriate strategy from u to v on G using tree T, and d G (u,v) is the distance in G between u and v. The maximum stretch factor of a graph G=(V,E) is defined as \(\max_{u,v\in V}\{\frac{g_{G,T}(u,v)}{d_{G}(u,v)}\}\), and the average stretch factor is defined as \(\frac{1}{n^{2}}\sum_{u,v\in V}\frac{g_{G,T}(u,v)}{d_{G}(u,v)}\).

1.1 A.1 Performance Under Various Densities

In this set of experiments, we report on the performance of these routing schemes on randomly generated UDGs with different densities, i.e., |E|/|V|. However, it is difficult to “randomly” generate a UDG with a fixed density. Instead, we vary densities by choosing the radius R to be 150, 170, 190, 210, 230, 250, 270 and 290, with |V| fixed to be 100. For each radius R, we randomly generate 10 UDGs. The average density of 10 UDGs corresponding to each R is listed in Table 3. In the following figures, each value is an average result on the 10 randomly generated UDGs.

Table 3 Average densities for different radiuses

The maximum multiplicative-stretch factors achieved by routing strategies under different radiuses are shown in Fig. 14. We see that DFST-IGRF and MST-IGRF have the worst maximum multiplicative-stretch factors and their performances are not stable when the radius changes. Other routing schemes have quite low maximum multiplicative-stretch factors which decrease gradually when the radius increases. Among them, BFST-IGR, BFST-TDGR, MST-IGR, and MST-TDGR have the lowest maximum multiplicative-stretch factors.

Fig. 14
figure 14

Maximum multiplicative-stretch factors by varying densities (Color figure online)

Figure 15 shows average multiplicative-stretch factors achieved by routing strategies under different radiuses. Again, DFST-IGRF and MST-IGRF have the worst performances and BFST-IGR, BFST-TDGR, MST-IGR, and MST-TDGR have the best performances.

Fig. 15
figure 15

Average multiplicative-stretch factors by varying densities (Color figure online)

1.2 A.2 Performance Under Various Localities

In this appendix, we show how the k-localized version of these routing strategies performs. The experimental settings are similar to those from Appendix A.1 except that |V| is fixed at 120 and the radius is fixed at 130. We randomly generate 10 UDGs. The average diameter of these UDGs is 18 (ranging from 16 to 20). For each UDG, we range the locality k from 1 to 8 to see how each routing strategy performs. Each value in the following figures is an average result on the 10 randomly generated UDGs.

Figure 16 shows the maximum multiplicative-stretch factors achieved by each routing scheme with different localities, and Fig. 17 shows the average multiplicative-stretch factors achieved by each routing scheme with different localities. In both figures, we observe that the multiplicative-stretch factor of each k-localized routing scheme converges to 1 when locality increases from 1 to 8. Increase in locality allows to obtain better routing paths, however, it also increases the computational and communication costs. A good tradeoff between stretch factor and locality is needed.

Fig. 16
figure 16

Maximum multiplicative-stretch factors by varying localities (Color figure online)

Fig. 17
figure 17

Average multiplicative-stretch factors by varying localities (Color figure online)

Finally, when locality is more than 4, except for DFST-IGRF and MST-IGRF, all the other routing schemes have quite small maximum and average multiplicative-stretch factors. This is consistent with the observations from the previous subsection.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Dragan, F.F., Xiang, Y. How to Use Spanning Trees to Navigate in Graphs. Algorithmica 66, 479–511 (2013). https://doi.org/10.1007/s00453-012-9647-1

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00453-012-9647-1

Keywords

Navigation