## Journal Articles

#### Title

Geometric Path Problems with Violations

Research Article

Algorithmica

#### Abstract

In this paper, we study variants of the classical geometric shortest path problem inside a simple polygon, where we allow a part of the path to go outside the polygon. Let P be a simple polygon consisting of n vertices and let s, t be a pair of points in P. Let int(P) represent the interior of P and let P¯ represent the exterior of P, i.e. int(P)=P\∂(P) and P¯=R2\int(P). For an integer k≥ 0 , we define a k-violation path from s to t to be a path connecting s and t such that its intersection with P¯ consists of at most k segments. There is no restriction in terms of the number of segments of the path within P. The objective is to compute a path of minimum Euclidean length among all possible (≤ k) -violation paths from s to t. In this paper, we study this problem for k= 1 and propose an algorithm that computes the shortest one-violation path in O(n3) time. We show that for rectilinear polygons, the minimum length rectilinear one-violation path can be computed in O(nlog n) time. We extend the concept of one-violation path to a one-stretch violation path. In this case, the path between s and t is composed of (a) a path in P from s to a vertex u of P, (b) a path in P¯ between u and a vertex v of P, and (c) a path in P between v and t. We show that a minimum length one-stretch violation path can be computed in O(nlog nlog log n) time. Next, we introduce one- and two-violation monotone rectilinear path problems among a set of n disjoint axis-parallel rectangular objects. Let s, t be two points in R2 that are not in the interior of any of the objects. In the case of one-violation monotone path problem, the desired rectilinear path from s to t consists of horizontal edges that are directed towards the right and vertical edges that are directed upwards, except for at most one edge. Similarly, in the case of a two-violation monotone path problem, all horizontal edges are directed towards the right except at most one and all vertical edges are directed upwards except at most one. Our algorithms for both of these problems run in O(nlog n) time.

448

471

#### DOI

10.1007/s00453-016-0263-3

2-1-2018

COinS