English

Computing Lengths of Non-Crossing Shortest Paths in Planar Graphs

Data Structures and Algorithms 2023-05-05 v3

Abstract

Given a plane undirected graph GG with non-negative edge weights and a set of kk terminal pairs on the external face, it is shown in Takahashi et al. (Algorithmica, 16, 1996, pp. 339-357) that the union UU of kk non-crossing shortest paths joining the kk terminal pairs (if they exist) can be computed in O(nlogn)O(n\log n) time, where nn is the number of vertices of GG. In the restricted case in which the union UU of the shortest paths is a forest, it is also shown that their lengths can be computed in the same time bound. We show in this paper that it is always possible to compute the lengths of kk non-crossing shortest paths joining the kk terminal pairs in linear time, once the shortest paths union UU has been computed, also in the case UU contains cycles. Moreover, each shortest path π\pi can be listed in O(max{,logk})O(\max\{\ell, \ell \log\frac{k}{\ell} \}), where \ell is the number of edges in π\pi. As a consequence, the problem of computing non-crossing shortest paths and their lengths in a plane undirected weighted graph can be solved in O(nlogk)O(n\log k) time in the general case.

Keywords

Cite

@article{arxiv.2011.04047,
  title  = {Computing Lengths of Non-Crossing Shortest Paths in Planar Graphs},
  author = {Lorenzo Balzotti and Paolo G. Franciosa},
  journal= {arXiv preprint arXiv:2011.04047},
  year   = {2023}
}

Comments

15 pages, 11 figures

R2 v1 2026-06-23T19:59:41.163Z