An efficient algorithm for link-distance problems

  • Authors:
  • Y. Ke

  • Affiliations:
  • Departments of Computer Science, The Johns Hopkins University, Baltimore, MD

  • Venue:
  • SCG '89 Proceedings of the fifth annual symposium on Computational geometry
  • Year:
  • 1989

Quantified Score

Hi-index 0.01

Visualization

Abstract

The link distance between two points inside a simple polygon P is defined to be the minimum number of edges required to form a polygonal path inside P that connects the points. A link furthest neighbor of a point p &Egr; P is a point of P whose link distance is the maximum from p. The link center of P is the collection of points whose link distances to their link furthest neighbors are minimized. We present an &Ogr;(n log n) time and &Ogr;(n) space algorithm for computing the link center of a simple polygon P, where n is the number of vertices of P. This improves the previous &Ogr;(n2) time and space algorithm. Our algorithm essentially sweeps a chord through the polygon and spends &Ogr;(log n) time at each step. We demonstrate that the output of the algorithm, a sequence of sets of chords, is a powerful tool for solving several other link distance problems.