SHORTEST PATHS IN DIGRAPHS OF SMALL TREEWIDTH - PART II - OPTIMAL PARALLEL ALGORITHMS

Citation
S. Chaudhuri et Cd. Zaroliagis, SHORTEST PATHS IN DIGRAPHS OF SMALL TREEWIDTH - PART II - OPTIMAL PARALLEL ALGORITHMS, Theoretical computer science, 203(2), 1998, pp. 205-223
Citations number
17
Categorie Soggetti
Computer Science Theory & Methods","Computer Science Theory & Methods
ISSN journal
03043975
Volume
203
Issue
2
Year of publication
1998
Pages
205 - 223
Database
ISI
SICI code
0304-3975(1998)203:2<205:SPIDOS>2.0.ZU;2-C
Abstract
We consider the problem of preprocessing an n-vertex digraph with real edge weights so that subsequent queries for the shortest path or dist ance between any two vertices can be efficiently answered. We give par allel algorithms for the EREW PRAM model of computation that depend on the treewidth of the input graph. When the treewidth is a constant, o ur algorithms can answer distance queries in O(alpha(n)) time using a single processor, after a preprocessing of O(log(2)n) time and O(n) wo rk, where alpha(n) is the inverse of Ackermann's function. The class o f constant treewidth graphs contains outerplanar graphs and series-par allel graphs, among others. To the best of our knowledge, these are th e first parallel algorithms which achieve these bounds for any class o f graphs except trees. We also give a dynamic algorithm which, after a change in an edge weight, updates our data structures in O(log n) tim e using O(n(beta)) work, for any constant 0<beta<1 Moreover, we give a n algorithm of independent interest: computing a shortest path tree, o r finding a negative cycle in O(log(2)n) time using O(n) work. (C) 199 8-Elsevier Science B.V. All rights reserved.