In this paper, we will propose a new algorithm that computes the radius and the diameter of a graph G = (V,E), by finding bounds through heuristics and improving them until exact values can be guaranteed. Although the worst-case running time is O(|V|⋅|E|), we will experimentally show that, in the case of real-world networks, it performs much better, finding the correct radius and diameter value after 10–100 BFSes instead of |V| BFSes (independent of the value of |V|), and thus having running time O(|E|). Apart from efficiency, compared to other similar methods, the one proposed in this paper has three other advantages. It is more robust (even in the worst cases, the number of BFSes performed is not very high), it is able to simultaneously compute radius and diameter (halving the total running time whenever both values are needed), and it works both on directed and undirected graphs with very few modifications. As an application example, we use our new algorithm in order to determine the solvability over time of the “six degrees of Kevin Bacon” game.

On the Solvability of the Six Degrees of Kevin Bacon Game / M. Borassi;P. Crescenzi;M. Habib;W. Kosters;A. Marino;F. Takes. - STAMPA. - 8496:(2014), pp. 52-63. (Intervento presentato al convegno 7th International Conference on Fun with Algorithms) [10.1007/978-3-319-07890-8_5].

On the Solvability of the Six Degrees of Kevin Bacon Game

CRESCENZI, PIERLUIGI;MARINO, ANDREA;
2014

Abstract

In this paper, we will propose a new algorithm that computes the radius and the diameter of a graph G = (V,E), by finding bounds through heuristics and improving them until exact values can be guaranteed. Although the worst-case running time is O(|V|⋅|E|), we will experimentally show that, in the case of real-world networks, it performs much better, finding the correct radius and diameter value after 10–100 BFSes instead of |V| BFSes (independent of the value of |V|), and thus having running time O(|E|). Apart from efficiency, compared to other similar methods, the one proposed in this paper has three other advantages. It is more robust (even in the worst cases, the number of BFSes performed is not very high), it is able to simultaneously compute radius and diameter (halving the total running time whenever both values are needed), and it works both on directed and undirected graphs with very few modifications. As an application example, we use our new algorithm in order to determine the solvability over time of the “six degrees of Kevin Bacon” game.
2014
Lecture Notes in Computer ScienceFun with Algorithms
7th International Conference on Fun with Algorithms
M. Borassi;P. Crescenzi;M. Habib;W. Kosters;A. Marino;F. Takes
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/879375
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 14
  • ???jsp.display-item.citation.isi??? 8
social impact