We consider the problem of maintaining a solution to the All Pairs Shortest Paths Problem in a directed graph G = (V, E) where edges may be dynamically inserted. In case of unit edge costs, we introduce a new data structure which is able to answer queries concerning the length of the shortest path (i.e., a path with minimal number of edges) from one vertex to another in constant time, and to trace out the shortest path from one vertex to another in time linear in the number of edges reported. The total time required to maintain the data structure under a sequence of at most O(n2) insertions of edges is O(n3log n)lin the worst case, where n is the total number of vertices in G. Our data structure can be extended to provide incremental algorithms for maintaining maximal length paths or shortest paths when the edge costs are integers in a fixed range. All the given algorithms improve the best previously known bounds for the same problems and are a factor of log n away from the best possible bounds.

Incremental algorithms for minimal length paths / Ausiello, Giorgio; Italiano, Giuseppe F.; Spaccamela, Alberto Marchetti; Nanni, Umberto. - (1990), pp. 12-21. (Intervento presentato al convegno 1st Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 1990 tenutosi a San Francisco, CA, USA).

Incremental algorithms for minimal length paths

Ausiello, Giorgio;Italiano, Giuseppe F.;Spaccamela, Alberto Marchetti;Nanni, Umberto
1990

Abstract

We consider the problem of maintaining a solution to the All Pairs Shortest Paths Problem in a directed graph G = (V, E) where edges may be dynamically inserted. In case of unit edge costs, we introduce a new data structure which is able to answer queries concerning the length of the shortest path (i.e., a path with minimal number of edges) from one vertex to another in constant time, and to trace out the shortest path from one vertex to another in time linear in the number of edges reported. The total time required to maintain the data structure under a sequence of at most O(n2) insertions of edges is O(n3log n)lin the worst case, where n is the total number of vertices in G. Our data structure can be extended to provide incremental algorithms for maintaining maximal length paths or shortest paths when the edge costs are integers in a fixed range. All the given algorithms improve the best previously known bounds for the same problems and are a factor of log n away from the best possible bounds.
1990
1st Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 1990
Software; Mathematics (all)
04 Pubblicazione in atti di convegno::04b Atto di convegno in volume
Incremental algorithms for minimal length paths / Ausiello, Giorgio; Italiano, Giuseppe F.; Spaccamela, Alberto Marchetti; Nanni, Umberto. - (1990), pp. 12-21. (Intervento presentato al convegno 1st Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 1990 tenutosi a San Francisco, CA, USA).
File allegati a questo prodotto
Non ci sono file associati a questo prodotto.

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

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11573/1205034
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 27
  • ???jsp.display-item.citation.isi??? 19
social impact