arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Computer Science · Computer Graphics and Computer-Aided Design

J.S.B.: Touring a sequence of polygons

Moshe Dror, Alon Efrat, Anna Lubiw, Joseph S. B. Mitchell

See on the map

Abstract

Given a sequence of k polygons in the plane, a start point s, and a target point, t, we seek a shortest path that starts at s, visits in order each of the polygons, and ends at t. If the polygons are disjoint and convex, we give an algorithm running in time O(kn log(n/k)), where n is the total num-ber of vertices specifying the polygons. We also extend our results to a case in which the convex polygons are arbitrarily intersecting and the subpath between any two consecutive polygons is constrained to lie within a simply connected re-gion; the algorithm uses O(nk2 log n) time. Our methods are simple and allow shortest path queries from s to a query point t to be answered in time O(k logn + m), where m is the combinatorial path length. We show that for nonconvex polygons this “touring polygons ” problem is NP-hard. The touring polygons problem is a strict generalization of some classic problems in computational geometry, including the safari problem, the zoo-keeper problem, and the watch-man route problem in a simple polygon. Our new results give an order of magnitude improvement in the running times of the safari problem and the watchman route prob-lem: We solve the safari problem in O(n2 logn) time and the watchman route problem (through a fixed point s) in time O(n3 log n), compared with the previous time bounds of O(n3) and O(n4), respectively.

More like this