Fully Dynamic All Pairs All Shortest Paths
Abstract
We consider the all pairs all shortest paths (APASP) problem, which maintains all of the multiple shortest paths for every vertex pair in a directed graph with a positive real weight on each edge. We present two fully dynamic algorithms for this problem in which an update supports either weight increases or weight decreases on a subset of edges incident to a vertex. Our first algorithm runs in amortized time per update, where , and bounds the number of edges that lie on shortest paths through any single vertex. Our APASP algorithm leads to the same amortized bound for the fully dynamic computation of betweenness centrality (BC), which is a parameter widely used in the analysis of large complex networks. Our method is a generalization and a variant of the fully dynamic algorithm of Demetrescu and Italiano [DI04] for unique shortest path, and it builds on our recent decremental APASP [NPR14]. Our second (faster) algorithm reduces the amortized cost per operation by a logarithmic factor, and uses new data structures and techniques that are extensions of methods in a fully dynamic algorithm by Thorup.
Cite
@article{arxiv.1412.3852,
title = {Fully Dynamic All Pairs All Shortest Paths},
author = {Matteo Pontecorvi and Vijaya Ramachandran},
journal= {arXiv preprint arXiv:1412.3852},
year = {2022}
}
Comments
In addition to few updates to the original document (v3), in this new manuscript we have added a faster version of our algorithm (previously available on ArXiv at arXiv:1506.05783) that reduces the amortized cost per operation by a logarithmic factor