We consider the problem of maintaining on-line a solution to the All Pairs Shortest Paths Problem in a directed graph G = (V,E) where edges may be dynamically inserted or have their cost decreased. For the case of integer edge costs in a given range [1...C], we introduce a new data structure which is able to answer queries concerning the length of the shortest path between any two vertices in constant time and to trace out the shortest path between any two vertices 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) edge insertions and at most O(Cn2) edge cost decreases is O(Cn3 log(nC)) in the worst case, where n is the total number of vertices in G. For the case of unit edge costs, the total time required to maintain the data structure under a sequence of at most O(n2) insertions of edges becomes O(n3 logn) in the worst case. The same bounds can be achieved for the problem of maintaining on-line longest paths in directed acyclic graphs. All our algorithms improve previously known algorithms and are only a logarithmic factor away from the best possible bounds. © 1991.

Incremental algorithms for minimal length paths / Ausiello, Giorgio; Italiano, GIUSEPPE FRANCESCO; MARCHETTI SPACCAMELA, Alberto; Nanni, Umberto. - In: JOURNAL OF ALGORITHMS. - ISSN 0196-6774. - 12:4(1991), pp. 615-638. [10.1016/0196-6774(91)90036-x]

Incremental algorithms for minimal length paths

AUSIELLO, Giorgio;ITALIANO, GIUSEPPE FRANCESCO;MARCHETTI SPACCAMELA, Alberto;NANNI, Umberto
1991

Abstract

We consider the problem of maintaining on-line a solution to the All Pairs Shortest Paths Problem in a directed graph G = (V,E) where edges may be dynamically inserted or have their cost decreased. For the case of integer edge costs in a given range [1...C], we introduce a new data structure which is able to answer queries concerning the length of the shortest path between any two vertices in constant time and to trace out the shortest path between any two vertices 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) edge insertions and at most O(Cn2) edge cost decreases is O(Cn3 log(nC)) in the worst case, where n is the total number of vertices in G. For the case of unit edge costs, the total time required to maintain the data structure under a sequence of at most O(n2) insertions of edges becomes O(n3 logn) in the worst case. The same bounds can be achieved for the problem of maintaining on-line longest paths in directed acyclic graphs. All our algorithms improve previously known algorithms and are only a logarithmic factor away from the best possible bounds. © 1991.
1991
01 Pubblicazione su rivista::01a Articolo in rivista
Incremental algorithms for minimal length paths / Ausiello, Giorgio; Italiano, GIUSEPPE FRANCESCO; MARCHETTI SPACCAMELA, Alberto; Nanni, Umberto. - In: JOURNAL OF ALGORITHMS. - ISSN 0196-6774. - 12:4(1991), pp. 615-638. [10.1016/0196-6774(91)90036-x]
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/247037
 Attenzione

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

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 114
  • ???jsp.display-item.citation.isi??? 74
social impact