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

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

0.00 Avg rating0 Votes
Article ID: iaor20022490
Country: United States
Volume: 31
Issue: 4
Start Page Number: 249
End Page Number: 258
Publication Date: Jul 1998
Journal: Networks
Authors: , , ,
Abstract:

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.

Reviews

Required fields are marked *. Your email address will not be published.