Lecture Notes in Computer Science, 1997, Volume 1200/1997, 33-46, DOI: 10.1007/BFb0023446

Semi-dynamic shortest paths and breadth-first search in digraphs

Paolo Giulio Franciosa, Daniele Frigioni and Roberto Giaccio

View Related Documents

Abstract

We show how to maintain a shortest path tree of a general directed graph G with unit edge weights and n vertices, during a sequence of edge deletions or a sequence of edge insertions, in O(n) amortized time per operation using linear space. Distance queries can be answered in constant time, while shortest path queries can be answered in time linear in the length of the retrieved path. These results are extended to the case of integer edge weights in [1,C], with a bound of O(Cn) amortized time per operation.
We also show how to maintain a breadth-first search tree of a directed graph G in an incremental or a decremental setting in O(n) amortized time per operation using linear space.
Work partially supported by EC ESPRIT Long Term Research Project ALCOM-IT under contract no. 20244, and by Progetto Finalizzato Trasporti 2 (PFT 2) of the Italian National Research Council (CNR).

Fulltext Preview

Image of the first page of the fulltext document