## Abstract

We present efficient algorithms for shortest-path and minimum-link-path queries between two convex polygons inside a simple polygon P, which acts as an obstacle to be avoided. Let n be the number of vertices of P, and h the total number of vertices of the query polygons. We show that shortest-path queries can be performed optimally in time O(logh+log n) (plus O(κ) time for reporting the κ edges of the path) using a data structure with O(κ) space and preprocessing time, and that minimum-link-path queries can be performed in optimal time O(logh+f log n) (plus O(κ) to report the κ links), with O(n^{3}) space and preprocessing time. We also extend our results to the dynamic case, and give a unified data structure that supports both queries for convex polygons in the same region of a connected planar subdivision S. The update operations consist of insertions and deletions of edges and vertices. Let n be the current number of vertices in S. The data structure uses O(n) space, supports updates in O(log^{2} n) time, and performs shortest-path and minimum-link-path queries in times O(log h+log^{2}n) (plus O (κ) to report the κ edges of the path) and O(log h + κlog^{2} n), respectively. Performing shortest-path queries is a variation of the well-studied separation problem, which has not been efficiently solved before in the presence of obstacles. Also, it was not previously known how to perform minimum-link-path queries in a dynamic environment, even for two-point queries.

Original language | English (US) |
---|---|

Pages (from-to) | 85-121 |

Number of pages | 37 |

Journal | International Journal of Computational Geometry and Applications |

Volume | 7 |

Issue number | 1-2 |

DOIs | |

State | Published - 1997 |

## Keywords

- Analysis of algorithms
- Computational geometry
- Minimum-link path
- Shortest path
- Static and dynamic data structures

## ASJC Scopus subject areas

- Theoretical Computer Science
- Geometry and Topology
- Computational Theory and Mathematics
- Computational Mathematics
- Applied Mathematics