Back to Search Start Over

On computing the diameter of real-world undirected graphs

Authors :
Andrea Marino
Roberto Grossi
Michel Habib
Pilu Crescenzi
Leonardo Lanzi
Department of Systems and Computer Science [Florence]
Università degli Studi di Firenze = University of Florence (UniFI)
Dipartimento di Informatica [Pisa]
University of Pisa - Università di Pisa
Laboratoire d'informatique Algorithmique : Fondements et Applications (LIAFA)
Université Paris Diderot - Paris 7 (UPD7)-Centre National de la Recherche Scientifique (CNRS)
Networks, Graphs and Algorithms (GANG)
Université Paris Diderot - Paris 7 (UPD7)-Centre National de la Recherche Scientifique (CNRS)-Université Paris Diderot - Paris 7 (UPD7)-Centre National de la Recherche Scientifique (CNRS)-Inria Paris-Rocquencourt
Institut National de Recherche en Informatique et en Automatique (Inria)-Institut National de Recherche en Informatique et en Automatique (Inria)
Dipartimento di Sistemi e Informatica (DSI)
Università degli Studi di Firenze = University of Florence [Firenze] (UNIFI)
Source :
Theoretical Computer Science, Theoretical Computer Science, 2013, Graph Algorithms and Applications: in Honor of Professor Giorgio Ausiello, 514, pp.84-95. ⟨10.1016/j.tcs.2012.09.018⟩, Theoretical Computer Science, Elsevier, 2013, Graph Algorithms and Applications: in Honor of Professor Giorgio Ausiello, 514, pp.84-95. ⟨10.1016/j.tcs.2012.09.018⟩
Publication Year :
2013
Publisher :
Elsevier BV, 2013.

Abstract

International audience; We propose a new algorithm for the classical problem of computing the diameter of undirected unweighted graphs, namely, the maximum distance among all the pairs of nodes, where the distance of a pair of nodes is the number of edges contained in the shortest path connecting these two nodes. Although its worst-case complexity is O(nm) time, where n is the number of nodes and m is the number of edges of the graph, we experimentally show that our algorithm works in O(m) time in practice, requiring few breadth-first searches to complete its task on almost 200 real-world graphs.

Details

ISSN :
03043975 and 18792294
Volume :
514
Database :
OpenAIRE
Journal :
Theoretical Computer Science
Accession number :
edsair.doi.dedup.....3490f49d161429895fd1d935a95c7571