O(1) QUERY TIME ALGORITHM FOR ALL PAIRS SHORTEST DISTANCES ON INTERVAL GRAPHS
1999 ◽
Vol 10
(04)
◽
pp. 465-472
◽
Keyword(s):
We present an algorithm for the All Pairs Shortest Distance problem on an interval graph on n vertices: after O(n) preprocessing time, the algorithm can deliver a response to a distance query in O(1) time. The method used here is simpler than the method of Chen et al. [4], which has the same preprocessing and query time. It is assumed that an interval model for the graph is given, and ends of intervals are already sorted by coordinate. The preprocessing algorithm can be executed in the EREW PRAM model in O( log n) time, using n/ log n processors. These algorithms (sequential and parallel) may be extended to circular arc graphs, with the same time and processor bounds.
2008 ◽
pp. 355-366
◽
1993 ◽
Vol 03
(03)
◽
pp. 323-330
◽
1999 ◽
Vol 10
(01)
◽
pp. 19-31
◽
Keyword(s):
Keyword(s):
Keyword(s):
2013 ◽
Vol Vol. 15 no. 1
(Discrete Algorithms)
◽
2017 ◽
Vol 51
(1)
◽
pp. 12-15
Keyword(s):