Skip to main content

A New Approach to Measuring Distances in Dense Graphs

  • Conference paper
  • First Online:
Machine Learning, Optimization, and Data Science (LOD 2018)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 11331))

  • 2054 Accesses

Abstract

The problem of computing distances and shortest paths between vertices in graphs is one of the fundamental issues in graph theory. It is of great importance in many different applications, for example, transportation, and social network analysis. However, efficient shortest distance algorithms are still desired in many disciplines. Basically, the majority of dense graphs have ties between the shortest distances. Therefore, we consider a different approach and introduce a new measure to solve all-pairs shortest paths for undirected and unweighted graphs. This measures the shortest distance between any two vertices by considering the length and the number of all possible paths between them. The main aim of this new approach is to break the ties between equal shortest paths SP, which can be obtained by the Breadth-first search algorithm (BFS), and distinguish meaningfully between these equal distances. Moreover, using the new measure in clustering produces higher quality results compared with SP. In our study, we apply two different clustering techniques: hierarchical clustering and K-means clustering, with four different graph models, and for a various number of clusters. We compare the results using a modularity function to check the quality of our clustering results.

Supported by Saudi Arabian Cultural Bureau in London.

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 39.99
Price excludes VAT (USA)
  • Available as EPUB and 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

References

  1. Aggarwal, C.C., Reddy, C.K.: Data Clustering: Algorithm and Applications. Taylor and Francis Group, London (2014)

    Book  Google Scholar 

  2. Bonner, R.: On some clustering techniques. IBM J. Res. Dev. 8, 22–32 (1964)

    Article  Google Scholar 

  3. Clauset, A., Newman, M.E.J., Moore, C.: Finding community structure in very large networks. Phys. Rev. E 70, 6 (2004)

    Article  Google Scholar 

  4. Csardi, G., Nepusz, T.: The igraph software package for complex network research. InterJournal Complex Syst. (2006). http://igraph.org

  5. Everitt, S., Landau, B.S., Leese, M., Stahl, D.: Cluster Analysis, 5th edn. Wiley, London (2011)

    Book  Google Scholar 

  6. Fortunato, S.: Community detection in graphs. Phys. Rep. 486(3), 75–174 (2010)

    Article  MathSciNet  Google Scholar 

  7. Jain, A.K.: Data clustering: 50 years beyond K-means. Pattern Recognit. 31(8), 651–666 (2010)

    Article  Google Scholar 

  8. Leskovec, J., Krevl, A.: SNAP datasets: Stanford large network dataset collection. (2014). http://snap.stanford.edu/data/index.html

  9. Madkour, A., Aref, G., Rehman, F., Abdur Rahman, M., Basalamah, S.: A survey of shortest-path algorithm. CoRR abs/1705.02044 (2017). http://arxiv.org/abs/1705.02044

  10. Newman, M.E.J.: Modularity and community structure in networks. Proc. Natl. Acad. Sci. USA 103(23), 8577–8582 (2006)

    Article  Google Scholar 

  11. Song, S., Zhao, J.: Survey of graph clustering algorithms using amazon reviews (2014). http://snap.stanford.edu/class/cs224w-2014/projects2014

  12. Reddy, K.R.U.K.: A survey of the all-pairs shortest paths problem and its variants in graphs. Acta Universitatis Sapientiae, Informatica 8(1), 16–40 (2016). https://doi.org/10.1515/ausi-2016-0002

    Article  MathSciNet  MATH  Google Scholar 

  13. Zwick, U.: Exact and approximate distances in graphs — A survey. In: auf der Heide, F.M. (ed.) ESA 2001. LNCS, vol. 2161, pp. 33–48. Springer, Heidelberg (2001). https://doi.org/10.1007/3-540-44676-1_3

    Chapter  Google Scholar 

  14. Blondel, V.D., Guillaume, J., Lambiotte, R., Lefebvre, E.: Fast unfolding of communities in large networks. J. Stat. Mech.: Theory Exp. 2008(10), P10008 (2008)

    Article  Google Scholar 

Download references

Acknowledgments

The first author of this manuscript is grateful to the Saudi Arabian Cultural Bureau in London for financial support.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Fatimah A. Almulhim .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Almulhim, F.A., Thwaites, P.A., Taylor, C.C. (2019). A New Approach to Measuring Distances in Dense Graphs. In: Nicosia, G., Pardalos, P., Giuffrida, G., Umeton, R., Sciacca, V. (eds) Machine Learning, Optimization, and Data Science. LOD 2018. Lecture Notes in Computer Science(), vol 11331. Springer, Cham. https://doi.org/10.1007/978-3-030-13709-0_17

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-13709-0_17

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-13708-3

  • Online ISBN: 978-3-030-13709-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics