Skip to main content
QUICK REVIEW

[Paper Review] A Linear-time Algorithm for Orthogonal Watchman Route Problem with Minimum Bends

Hamid Hoorfar, Alireza Bagheri|arXiv (Cornell University)|Aug 4, 2017
Computational Geometry and Mesh GenerationComputer Science7 citations
TL;DR

This paper presents the first linear-time algorithm for the orthogonal watchman route problem with minimum bends in monotone and path polygons. By decomposing the polygon via vertical decomposition, trimming reflex rectangles, and strategically selecting horizontal alignment segments to minimize bends, the algorithm computes the shortest orthogonal watchman route in O(n) time and space, achieving optimal efficiency for this variant of the problem.

ABSTRACT

Given an orthogonal polygon $ P $ with $ n $ vertices, the goal of the watchman route problem is finding a path $ S $ of the minimum length in $ P $ such that every point of the polygon $ P $ is visible from at least one of the point of $ S $. In the other words, in the watchman route problem we must compute a shortest watchman route inside a simple polygon of $ n $ vertices such that all the points interior to the polygon and on its boundary are visible to at least one point on the route. If route and polygon be orthogonal, it is called orthogonal watchman route problem. One of the targets of this problem is finding the orthogonal path with the minimum number of bends as possible. We present a linear-time algorithm for the orthogonal watchman route problem, in which the given polygon is monotone. Our algorithm can be used also for the problem on simple orthogonal polygons $ P $ for which the dual graph induced by the vertical decomposition of $ P $ is a path, which is called path polygon.

Motivation & Objective

  • To solve the floating watchman route problem in orthogonal polygons with the goal of minimizing route bends.
  • To develop a linear-time algorithm for monotone orthogonal polygons, where the dual graph of vertical decomposition is a path.
  • To extend the solution to path polygons—orthogonal polygons whose vertical decomposition dual graph is a path—achieving optimal O(n) time complexity.
  • To provide a practical, efficient solution for robotic surveillance in environments with orthogonal motion constraints.

Proposed method

  • Applying vertical decomposition to partition the orthogonal polygon into rectangles, forming a path-like dual graph.
  • Identifying reflex rectangles in path polygons and removing them to decompose the polygon into monotone sub-polygons.
  • Performing a balanced decomposition on each monotone sub-polygon to enable efficient route construction.
  • Selecting optimal horizontal alignment segments (y-coordinates) for each rectangle to minimize bends, based on local maxima and minima of edge heights.
  • Connecting the resulting routes between sub-polygons via vertical segments to form a single closed orthogonal watchman route.
  • Executing the algorithm in three sequential phases: decomposition, trimming, and alignment selection, each running in O(n) time.

Experimental results

Research questions

  • RQ1Can the orthogonal watchman route problem with minimum bends be solved in linear time for monotone orthogonal polygons?
  • RQ2How can the structure of path polygons—defined by a path-like dual graph of vertical decomposition—be exploited to achieve linear-time complexity?
  • RQ3What strategy ensures the selection of alignment segments that minimize the number of bends in the resulting watchman route?
  • RQ4Is it possible to generalize a linear-time solution from monotone to broader classes of orthogonal polygons, such as path polygons?

Key findings

  • The proposed algorithm achieves O(n) time and space complexity, which is optimal as every vertex must be examined at least once.
  • The algorithm successfully computes the shortest orthogonal watchman route with the minimum number of bends for monotone orthogonal polygons.
  • The solution is generalized to path polygons by decomposing them into monotone sub-polygons through reflex rectangle removal.
  • The route construction relies on selecting alignment segments based on local maxima and minima of horizontal edges, ensuring minimal bends.
  • The final watchman route is formed by connecting sub-routes via vertical segments, preserving optimality and orthogonality.
  • The algorithm is the first to achieve linear-time complexity for the floating orthogonal watchman route problem with minimum bends.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.