๐”– Bobbio Scriptorium
โœฆ   LIBER   โœฆ

Solving the all-pair shortest path query problem on interval and circular-arc graphs

โœ Scribed by Chen, Danny Z.; Lee, D. T.; Sridhar, R.; Sekharan, Chandra N.


Publisher
John Wiley and Sons
Year
1998
Tongue
English
Weight
118 KB
Volume
31
Category
Article
ISSN
0028-3045

No coin nor oath required. For personal study only.

โœฆ Synopsis


In this paper, we study the following all-pair shortest path query problem: Given the interval model of an unweighted interval graph of n vertices, build a data structure such that each query on the shortest path (or its length) between any pair of vertices of the graph can be processed efficiently (both sequentially and in parallel). We show that, after sorting the input intervals by their endpoints, a data structure can be constructed sequentially in O(n) time and O(n) space; using this data structure, each query on the length of the shortest path between any two intervals can be answered in O(1) time, and each query on the actual shortest path can be answered in O(k) time, where k is the number of intervals on that path. Furthermore, this data structure can be constructed optimally in parallel, in O(log n) time using O(n/log n) CREW PRAM processors; each query on the actual shortest path can be answered in O(1) time using k processors. Our techniques can be extended to solving the all-pair shortest path query problem on circular-arc graphs, both sequentially and in parallel, in the same complexity bounds. As an immediate consequence of our results, we improve by a factor of n the space complexity of the previously best-known sequential all-pair shortest path algorithm for unweighted interval graphs.


๐Ÿ“œ SIMILAR VOLUMES


A simpleO(n2) algorithm for the all-pair
โœ Mirchandani, Prakash ๐Ÿ“‚ Article ๐Ÿ“… 1996 ๐Ÿ› John Wiley and Sons ๐ŸŒ English โš– 288 KB ๐Ÿ‘ 2 views

Let G denote an interval graph with n vertices and unit weight edges. In this paper, we present a simple O(n') algorithm for solving the all-pairs shortest path problem on graph G . A recent algorithm for this problem has the same time-complexity but is fairly complicated to describe. However, our a