The diameter of an unweighted graph is the maximum pairwise distance among its connected vertices. It is one of the main measures in real-world graphs and complex networks. The double sweep is a simple method to find a lower bound for the diameter. It chooses a random vertex and performs two breadth-first searches (BFSes), returning the maximum length among the shortest paths thus found. We propose an algorithm called fringe, which uses few BFSes to find a matching upper bound for almost all the graphs in our dataset of 44 real-world graphs. In the few graphs it cannot, we perform an exhaustive search of the diameter using a cluster of machines for a total of 40 cores. In all cases, the diameter is surprisingly equal to the lower bound found after very few executions of the double sweep method. The lesson learned is that the latter can be used to find the diameter of real-world graphs in many more cases than expected, and our fringe algorithm can quickly validate this finding for most of them.

Finding the Diameter in Real-World Graphs - Experimentally Turning a Lower Bound into an Upper Bound / P. Crescenzi; R. Grossi; C. Imbrenda; L. Lanzi; A. Marino. - ELETTRONICO. - (2010), pp. 302-313. (Intervento presentato al convegno Algorithms - ESA 2010, 18th Annual European Symposium tenutosi a Liverpool UK nel September 6-8, 2010) [10.1007/978-3-642-15775-2_26].

Finding the Diameter in Real-World Graphs - Experimentally Turning a Lower Bound into an Upper Bound

CRESCENZI, PIERLUIGI;LANZI, LEONARDO;MARINO, ANDREA
2010

Abstract

The diameter of an unweighted graph is the maximum pairwise distance among its connected vertices. It is one of the main measures in real-world graphs and complex networks. The double sweep is a simple method to find a lower bound for the diameter. It chooses a random vertex and performs two breadth-first searches (BFSes), returning the maximum length among the shortest paths thus found. We propose an algorithm called fringe, which uses few BFSes to find a matching upper bound for almost all the graphs in our dataset of 44 real-world graphs. In the few graphs it cannot, we perform an exhaustive search of the diameter using a cluster of machines for a total of 40 cores. In all cases, the diameter is surprisingly equal to the lower bound found after very few executions of the double sweep method. The lesson learned is that the latter can be used to find the diameter of real-world graphs in many more cases than expected, and our fringe algorithm can quickly validate this finding for most of them.
2010
Algorithms – ESA 2010
Algorithms - ESA 2010, 18th Annual European Symposium
Liverpool UK
September 6-8, 2010
P. Crescenzi; R. Grossi; C. Imbrenda; L. Lanzi; A. Marino
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in FLORE sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificatore per citare o creare un link a questa risorsa: https://hdl.handle.net/2158/557086
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 19
  • ???jsp.display-item.citation.isi??? 11
social impact