Efficient Computation of Visibility Polygons

Total Page:16

File Type:pdf, Size:1020Kb

Efficient Computation of Visibility Polygons EuroCG 2014, Ein-Gedi, Israel, March 3{5, 2014 Efficient Computation of Visibility Polygons Francisc Bungiu∗ Michael Hemmery John Hershbergerz Kan Huangx Alexander Kr¨ollery Abstract a subroutine in algorithms for other problems, most prominently in the context of the Art Gallery Prob- Determining visibility in planar polygons and ar- lem [16]. In experimental work on this problem [15] rangements is an important subroutine for many al- we have identified visibility computations as having a gorithms in computational geometry. In this paper, substantial impact on overall computation times, even we report on new implementations, and correspond- though it is a low-order polynomial-time subroutine in ing experimental evaluations, for two established and an algorithm solving an NP-hard problem. Therefore one novel algorithm for computing visibility polygons. it is of enormous interest to have efficient implemen- These algorithms will be released to the public shortly, tations of visibility polygon algorithms available. as a new package for the Computational Geometry CGAL, the Computational Geometry Algorithms Algorithms Library (CGAL). Library [5], contains a large number of algorithms and data structures, but unfortunately not for the 1 Introduction computation of visibility polygons. We present im- plementations for three algorithms, which form the Visibility is a basic concept in computational geome- basis for an upcoming new CGAL package for visi- try. For a polygon P R2, we say that a point p P bility. Two of these are efficient implementations for ⊂ 2 is visible from q P if the line segment pq P . The standard O(n)- and O(n log n)-time algorithms from 2 ⊆ points that are visible from q form the visibility re- the literature. In addition, we describe a novel algo- gion (q). Usually (if no degeneracies occur) (q) is a rithm with preprocessing, called triangular expansion, V V polygon; hence it is often called the visibility polygon. based on an intriguingly simple idea using a triangu- If there are multiple vertices collinear with q, then lation of the underlying polygon. Even though this (q) may take the form of a polygon with attached algorithm has a worst-case query runtime of O(n2), it V one-dimensional antennae (see Figure 1). is extremely fast in practice. In experiments we have Computing (q), given a query point q, is a well- found it to outperform the other implementations by V known problem with a number of established algo- about two orders of magnitude on large and practi- rithms; see the book by Ghosh [9]. Besides being cally relevant inputs. The implementations follow the of interest on its own, it also frequently appears as exact computation paradigm and handle all degener- ∗Institute of Information Security at ETH Z¨urich, Switzer- ate cases, whether or not to include antennae in the land. [email protected] output is configurable. yDepartment of Computer Science, TU Braunschweig, Ger- Our contribution is therefore threefold: We present many. [email protected],[email protected] a new algorithm for computing visibility polygons. zMentor Graphics Corp., Wilsonville, OR, USA. john [email protected] We report on an experimental evaluation, demon- xDepartment of Applied Mathematics & Statistics, New strating the efficiency of the implementations, and re- York, USA. [email protected] vealing superior speed of the novel algorithm. The publication of the code is scheduled for CGAL re- lease 4.5 (October 2014). 2 Related Work For a detailed coverage of visibility algorithms in two dimensions, see the book [9]. We denote by n the number of vertices of the input polygon P , by h the number of its holes, and by k the complexity of the visibility region (q) of the query point q. V The problem of computing (q) was first addressed for simple polygons in [7]. TheV first correct O(n) time algorithm was given by Joe and Simpson [14]. For a polygon with holes, O(n log n) time algorithms were Figure 1: Visibility polygon (q) with antenna bc. proposed by Suri et al. [17] and Asano et al. [3]. An V This is an extended abstract of a presentation given at EuroCG 2014. It has been made public for the benefit of the community and should be considered a preprint rather than a formally reviewed paper. Thus, this work is expected to appear in a conference with formal proceedings and/or in a journal. 30th European Workshop on Computational Geometry, 2014 optimal O(n + h log h) algorithm was later given by states are entered when vivi+1 turns behind a previ- Heffernan and Mitchell [11]. ous edge. Then the algorithm scans the subsequent Ghodsi et al. [10] reduced the query time for simple edges until the boundary reappears from behind the polygons to O(log n + k), at the expense of prepro- last visible edge. In order to deal with cases in which cessing requiring O(n3) time and space. In [4] Bose the polygon winds more than 360◦, a winding counter et al. showed that this time can also be achieved for is used during this edge processing. points outside of P with an O(n3 log n) preprocessing time. Aronov et al. [1] reduced the preprocessing time 3.2 Algorithm of Asano [2] and space to O(n2 log n) and O(n2) respectively with 2 the query time being increased to O(log n + k). The algorithm by Asano [2] runs in O(n log n) time Allowing preprocessing for polygons with holes, and O(n) space. It follows the classical plane sweep Asano et al. [3] presented an algorithm with O(n) paradigm with the difference that the event line L is a query time that requires O(n2) preprocessing time ray that originates from and rotates around the query and space. Vegter [18] gave an output sensitive algo- point q. Thus, initially all vertices of the input poly- rithm whose query time is O(k log(n=k)), where pre- gon (event points) are sorted according to their polar processing takes O(n2 log n) time and O(n2) space. angles with respect to the query point q. Segments Zarei and Ghodsi [19] gave another output sensitive that intersect the ray L are stored in a balanced bi- algorithm whose query time is O(1+min(h; k) log n+ nary tree T based on their order of intersections with k) with O(n3 log n) preprocessing time and O(n3) L. As the sweep proceeds, T is updated and a new space. Recent work by Inkulu and Kapoor [12] ex- vertex of V (q) is generated each time the smallest el- tends the approaches of [1] and [19] by incorporating ement (segment closest to q) in T changes. a trade-off between preprocessing and query time. The algorithm can be implemented using basic al- Surprisingly, it seems that there are no exact and gorithms and data structures such as std::sort (for complete implementations of these algorithms at all. ordering event points) and std::map (ordering seg- The only available software is GEOMPACK [13] but ments on the ray). However, it is crucial that the it does not use exact arithmetic and only implements underlying comparison operations are efficient. We the algorithm for simple polygons of Joe and Simp- omit details of the angular comparison for vertices son [14]. and sketch the ordering along L. For an efficient compari- b1 son of two segments s1 and 3 Implemented Algorithms b2 s2 along the ray L, it is s2 The following algorithms are implemented in C++, and important to avoid explicit s1 are part of an upcoming CGAL package for visibility. (and expensive) construc- a2 tion of intersection points with L. In fact, L can stay 3.1 Algorithm of Joe and Simpson [14] completely abstract. As- a1 The visibility polygon algorithm by Joe and Simp- suming that s1 and s2 have q son [14] runs in O(n) time and space. It performs a no common endpoint, the sequential scan of the boundary of P , a simple poly- order can be determined using at most five orientation gon (without holes), and uses a stack s of boundary predicates. Consider the figure to the right: the seg- points s0; s1; : : : ; st such that at any time, the stack ment s1 is further away since q, a2 and b2 are on the represents the visibility polygon with respect to the same side of s1 (three calls). In case this is not con- already scanned part of P 's boundary. clusive, two additional calls for q and a1 with respect When the current edge vivi+1 is in process, three to s2 are sufficient. possible operations can be performed: new bound- ary points are added to the stack, obsolete boundary 3.3 New Algorithm: Triangular Expansion points are deleted from the stack, or subsequent edges on the polygon's boundary are scanned until a certain We introduce a new algorithm that, to the best of condition is met. The later is performed when the our knowledge, has not been discussed in the litera- edge enters a so-called \hidden-window," where the ture. Its worst case complexity is O(n2) but it is very points are not visible from the viewpoint q. efficient in practice as it is, in some sense, output sen- The implementation uses states to process the sitive. boundary of the polygon P and manipulate the stack In an initial preprocessing phase the polygon is tri- s such that, in the end, it contains the vertices defin- angulated. For polygons with holes this is possible in ing the visibility polygon's boundary. The main state O(n log n) time [8] and in O(n) time for simple poly- handles the case when the current edge vivi+1 takes a gons [6].
Recommended publications
  • A Visibility-Based Approach to Computing Non-Deterministic
    Article The International Journal of Robotics Research 1–16 A visibility-based approach to computing Ó The Author(s) 2021 Article reuse guidelines: non-deterministic bouncing strategies sagepub.com/journals-permissions DOI: 10.1177/0278364921992788 journals.sagepub.com/home/ijr Alexandra Q Nilles1 , Yingying Ren1, Israel Becerra2,3 and Steven M LaValle1,4 Abstract Inspired by motion patterns of some commercially available mobile robots, we investigate the power of robots that move forward in straight lines until colliding with an environment boundary, at which point they can rotate in place and move forward again; we visualize this as the robot ‘‘bouncing’’ off boundaries. We define bounce rules governing how the robot should reorient after reaching a boundary, such as reorienting relative to its heading prior to collision, or relative to the normal of the boundary. We then generate plans as sequences of rules, using the bounce visibility graph generated from a polygonal environment definition, while assuming we have unavoidable non-determinism in our actuation. Our planner can be queried to determine the feasibility of tasks such as reaching goal sets and patrolling (repeatedly visiting a sequence of goals). If the task is found feasible, the planner provides a sequence of non-deterministic interaction rules, which also provide information on how precisely the robot must execute the plan to succeed. We also show how to com- pute stable cyclic trajectories and use these to limit uncertainty in the robot’s position. Keywords Underactuated robots, dynamics, motion control, motion planning 1. Introduction approach is powerful and well-suited to dynamic environ- ments, but also resource-intensive in terms of energy, Mobile robots have rolled smoothly into our everyday computation, and storage space.
    [Show full text]
  • On Visibility Problems in the Plane – Solving Minimum Vertex Guard Problems by Successive Approximations ?
    On Visibility Problems in the Plane – Solving Minimum Vertex Guard Problems by Successive Approximations ? Ana Paula Tomas´ 1, Antonio´ Leslie Bajuelos2 and Fabio´ Marques3 1 DCC-FC & LIACC, University of Porto, Portugal [email protected] 2 Dept. of Mathematics & CEOC - Center for Research in Optimization and Control, University of Aveiro, Portugal [email protected] 3 School of Technology and Management, University of Aveiro, Portugal [email protected] Abstract. We address the problem of stationing guards in vertices of a simple polygon in such a way that the whole polygon is guarded and the number of guards is minimum. It is known that this is an NP-hard Art Gallery Problem with relevant practical applications. In this paper we present an approximation method that solves the problem by successive approximations, which we intro- duced in [21]. We report on some results of its experimental evaluation and des- cribe two algorithms for characterizing visibility from a point, that we designed for its implementation. 1 Introduction The classical Art Gallery problem for a polygon P is to find a minimum set of points G in P such that every point of P is visible from some point of G. We address MINIMUM VERTEX GUARD in which the set of guards G is a subset of the vertices of P and each guard has 2π range unlimited visibility. This is an NP-hard combinatorial problem both for arbitrary and orthogonal polygons [13, 17]. Orthogonal (i.e. rectilinear) polygons are interesting for they may be seen as abstractions of art galleries, for instance.
    [Show full text]
  • Parallel Geometric Algorithms. Fenglien Lee Louisiana State University and Agricultural & Mechanical College
    Louisiana State University LSU Digital Commons LSU Historical Dissertations and Theses Graduate School 1992 Parallel Geometric Algorithms. Fenglien Lee Louisiana State University and Agricultural & Mechanical College Follow this and additional works at: https://digitalcommons.lsu.edu/gradschool_disstheses Recommended Citation Lee, Fenglien, "Parallel Geometric Algorithms." (1992). LSU Historical Dissertations and Theses. 5391. https://digitalcommons.lsu.edu/gradschool_disstheses/5391 This Dissertation is brought to you for free and open access by the Graduate School at LSU Digital Commons. It has been accepted for inclusion in LSU Historical Dissertations and Theses by an authorized administrator of LSU Digital Commons. For more information, please contact [email protected]. INFORMATION TO USERS This manuscript has been reproduced from the microfilm master. UMI films the text directly from the original or copy submitted. Thus, some thesis and dissertation copies are in typewriter face, while others may be from any type of computer printer. The quality of this reproduction is dependent upon the quality of the copy submitted. Broken or indistinct print, colored or poor quality illustrations and photographs, print bleedthrough, substandard margins, and improper alignment can adversely affect reproduction. In the unlikely event that the author did not send UMI a complete manuscript and there are missing pages, these will be noted. Also, if unauthorized copyright material had to be removed, a note will indicate the deletion. Oversize materials (e.g., maps, drawings, charts) are reproduced by sectioning the original, beginning at the upper left-hand corner and continuing from left to right in equal sections with small overlaps. Each original is also photographed in one exposure and is included in reduced form at the back of the book.
    [Show full text]
  • A Time-Space Trade-Off for Computing the K-Visibility Region of a Point In
    A Time-Space Trade-off for Computing the k-Visibility Region of a Point in a Polygon∗ Yeganeh Bahooy Bahareh Banyassadyz Prosenjit K. Bosex Stephane Durochery Wolfgang Mulzerz Abstract Let P be a simple polygon with n vertices, and let q 2 P be a point in P . Let k 2 f0; : : : ; n − 1g. A point p 2 P is k-visible from q if and only if the line segment pq crosses the boundary of P at most k times. The k-visibility region of q in P is the set of all points that are k-visible from q. We study the problem of computing the k-visibility region in the limited workspace model, where the input resides in a random-access read-only memory of O(n) words, each with Ω(log n) bits. The algorithm can read and write O(s) additional words of workspace, where s 2 N is a parameter of the model. The output is written to a write-only stream. Given a simple polygon P with n vertices and a point q 2 P , we present an algorithm that reports the k-visibility region of q in P in O(cn=s + c log s + minfdk=sen; n log logs ng) expected time using O(s) words of workspace. Here, c 2 f1; : : : ; ng is the number of critical vertices of P for q where the k-visibility region of q may change. We generalize this result for polygons with holes and for sets of non-crossing line segments. Keywords: Limited workspace model, k-visibility region, Time-space trade-off 1 Introduction Memory constraints on mobile devices and distributed sensors have led to an increasing focus on algorithms that use their memory efficiently.
    [Show full text]
  • Optimizing Terrestrial Laser Scanning Measurement Set-Up
    OPTIMIZING TERRESTRIAL LASER SCANNING MEASUREMENT SET-UP Sylvie Soudarissanane and Roderik Lindenbergh Remote Sensing Department (RS)) Delft University of Technology Kluyverweg 1, 2629 HS Delft, The Netherlands (S.S.Soudarissanane, R.C.Lindenbergh)@tudelft.nl http://www.lr.tudelft.nl/rs Commission WG V/3 KEY WORDS: Laser scanning, point cloud, error, noise level, accuracy, optimal stand-point ABSTRACT: One of the main applications of the terrestrial laser scanner is the visualization, modeling and monitoring of man-made structures like buildings. Especially surveying applications require on one hand a quickly obtainable, high resolution point cloud but also need observations with a known and well described quality. To obtain a 3D point cloud, the scene is scanned from different positions around the considered object. The scanning geometry plays an important role in the quality of the resulting point cloud. The ideal set-up for scanning a surface of an object is to position the laser scanner in such a way that the laser beam is near perpendicular to the surface. Due to scanning conditions, such an ideal set-up is in practice not possible. The different incidence angles and ranges of the laser beam on the surface result in 3D points of varying quality. The stand-point of the scanner that gives the best accuracy is generally not known. Using an optimal stand-point of the laser scanner on a scene will improve the quality of individual point measurements and results in a more uniform registered point cloud. The design of an optimum measurement setup is defined such that the optimum stand-points are identified to fulfill predefined quality requirements and to ensure a complete spatial coverage.
    [Show full text]
  • Visibility Polygon Traversal Algorithm
    Visibility polygon traversal algorithm Izaki, Åsmund 1 Derix, Christian 1 Keywords: visibility in polygon with holes; query-based algorithm; spatial analysis Abstract The determination of visibility relations within polygonal environments has applications in many different fields; In the current context it is primarily investigated as a basis for spatial architectural analysis, and as a design driver for architectural design from a user and occupant perspective, but it is equally applicable to a wide range of engineering problems and it’s a well- established topic in computational geometry. We introduce a new query-based algorithm for traversing over the visible convex regions of a polygon with holes from any point inside the polygon or from any of its vertices, where each query runs in O(f’ h’ + log n) for a polygon with n vertices, f’ visible convex partitions, and h’ visible holes, with a preprocessing stage that runs in O(n log* n) with O(n) space. The log n component of the query only applies to internal points. The visibility polygon traversal algorithm is applicable to a varied set of visibility problems, including the construction of visibility polygons (isovists), and visibility graphs of polygon vertices and/or points inside the polygon. The algorithmic findings are linked to spatial architectural analysis by representing the regions of architectural or urban plans that are permeable or visually open as polygons with holes. Two applications of the algorithm are presented, which have enabled more responsive and dynamic user interactions with architectural plans. These consist of an interactive isovist tool and a tool for calculating shortest paths, flows and distances within a multi-storey layout.
    [Show full text]
  • 30 POLYGONS Joseph O’Rourke, Subhash Suri, and Csaba D
    30 POLYGONS Joseph O'Rourke, Subhash Suri, and Csaba D. T´oth INTRODUCTION Polygons are one of the fundamental building blocks in geometric modeling, and they are used to represent a wide variety of shapes and figures in computer graph- ics, vision, pattern recognition, robotics, and other computational fields. By a polygon we mean a region of the plane enclosed by a simple cycle of straight line segments; a simple cycle means that nonadjacent segments do not intersect and two adjacent segments intersect only at their common endpoint. This chapter de- scribes a collection of results on polygons with both combinatorial and algorithmic flavors. After classifying polygons in the opening section, Section 30.2 looks at sim- ple polygonizations, Section 30.3 covers polygon decomposition, and Section 30.4 polygon intersection. Sections 30.5 addresses polygon containment problems and Section 30.6 touches upon a few miscellaneous problems and results. 30.1 POLYGON CLASSIFICATION Polygons can be classified in several different ways depending on their domain of application. In chip-masking applications, for instance, the most commonly used polygons have their sides parallel to the coordinate axes. GLOSSARY Simple polygon: A closed region of the plane enclosed by a simple cycle of straight line segments. Convex polygon: The line segment joining any two points of the polygon lies within the polygon. Monotone polygon: Any line orthogonal to the direction of monotonicity inter- sects the polygon in a single connected piece. Star-shaped polygon: The entire polygon is visible from some point inside the polygon. Orthogonal polygon: A polygon with sides parallel to the (orthogonal) coordi- nate axes.
    [Show full text]
  • Robot Online Algorithms in Computational Geometry: Searching and Exploration in the Plane
    Robot Online Algorithms in Computational Geometry: Searching and Exploration in the Plane Subir Kumar Ghosh1 Department of Computer Science School of Mathematical Sciences Ramakrishna Mission Vivekananda University Belur Math, Howrah 711202, West Bengal, India [email protected] 1Ex-Professor, School of Technology & Computer Science, Tata Institute of Fundamental Research, Mumbai 400005, India 2. Efficiency of online algorithms. 3. Searching for a target on a line. 4. Searching for a target in an unknown region. 5. Continuous and discrete visibility. 6. Searching for a target in an unknown street. 7. Searching for a target in an unknown star-shaped polygon. 8. Exploring an unknown polygon: Continuous visibility. 9. Exploring an unknown polygon: Discrete visibility. 10. Exploring an unknown polygon: Bounded visibility. 11. Mapping polygons using mobile agents. Overview of the Lecture 1. O↵-line and online algorithms. 3. Searching for a target on a line. 4. Searching for a target in an unknown region. 5. Continuous and discrete visibility. 6. Searching for a target in an unknown street. 7. Searching for a target in an unknown star-shaped polygon. 8. Exploring an unknown polygon: Continuous visibility. 9. Exploring an unknown polygon: Discrete visibility. 10. Exploring an unknown polygon: Bounded visibility. 11. Mapping polygons using mobile agents. Overview of the Lecture 1. O↵-line and online algorithms. 2. Efficiency of online algorithms. 4. Searching for a target in an unknown region. 5. Continuous and discrete visibility. 6. Searching for a target in an unknown street. 7. Searching for a target in an unknown star-shaped polygon. 8. Exploring an unknown polygon: Continuous visibility.
    [Show full text]
  • Online Algorithms with Discrete Visibility
    Online Algorithms with Discrete Visibility Exploring Unknown Polygonal Environments he context of this work is the exploration of algorithms that could compute visibility polygons are time unknown polygonal environments with obstacles. consuming. The computing limitations suggest that it may Both the outer boundary and the boundaries of not be practically feasible to continuously compute the visi- obstacles are piecewise linear. The bound- bility polygon along the robot’s trajectory. Sec- aries can be nonconvex. The exploration ond, for good visibility, the robot’s camera will Tproblem can be motivated by the following typically be mounted on a mast. Such devi- application. Imagine that a robot has to ces vibrate during the robot’s movement, explore the interior of a collapsed build- and, hence, for good precision (which ing, which has crumbled due to an is required to compute an accurate earthquake, to search for human sur- visibility polygon) the camera must vivors. It is clearly impossible to have be stationary at each view. There- a knowledge of the building’s inte- fore, it seems feasible to compute rior geometry prior to the explo- visibility polygons only at a ration. Thus, the robot must be discrete number of points. Hence, able to see, with its onboard in this article, we assume that the vision sensors, all points in the visibility polygon is computed at building’s interior while follow- a discrete number of points. ing its exploration path. In this Although the earlier discus- way, no potential survivors will sion suggests that a robot can be missed by the exploring only compute visibility polygons robot.
    [Show full text]
  • Generating Kernel Aware Polygons
    UNLV Theses, Dissertations, Professional Papers, and Capstones May 2019 Generating Kernel Aware Polygons Bibek Subedi Follow this and additional works at: https://digitalscholarship.unlv.edu/thesesdissertations Part of the Computer Sciences Commons Repository Citation Subedi, Bibek, "Generating Kernel Aware Polygons" (2019). UNLV Theses, Dissertations, Professional Papers, and Capstones. 3684. http://dx.doi.org/10.34917/15778552 This Thesis is protected by copyright and/or related rights. It has been brought to you by Digital Scholarship@UNLV with permission from the rights-holder(s). You are free to use this Thesis in any way that is permitted by the copyright and related rights legislation that applies to your use. For other uses you need to obtain permission from the rights-holder(s) directly, unless additional rights are indicated by a Creative Commons license in the record and/ or on the work itself. This Thesis has been accepted for inclusion in UNLV Theses, Dissertations, Professional Papers, and Capstones by an authorized administrator of Digital Scholarship@UNLV. For more information, please contact [email protected]. GENERATING KERNEL AWARE POLYGONS By Bibek Subedi Bachelor of Engineering in Computer Engineering Tribhuvan University 2013 A thesis submitted in partial fulfillment of the requirements for the Master of Science in Computer Science Department of Computer Science Howard R. Hughes College of Engineering The Graduate College University of Nevada, Las Vegas May 2019 © Bibek Subedi, 2019 All Rights Reserved Thesis Approval The Graduate College The University of Nevada, Las Vegas April 18, 2019 This thesis prepared by Bibek Subedi entitled Generating Kernel Aware Polygons is approved in partial fulfillment of the requirements for the degree of Master of Science in Computer Science Department of Computer Science Laxmi Gewali, Ph.D.
    [Show full text]
  • Computational Problems in Strong Visibility
    Computational Problems in Strong Visibility Eugene Fink Derick Wood School of Computer Science Department of Computer Science Carnegie Mellon University Hong Kong Univ. of Science and Technology Pittsburgh, PA 15213, USA Clear Water Bay, Kowloon, Hong Kong [email protected] [email protected] http://www.cs.cmu.edu/∼eugene http://www.cs.ust.hk/∼dwood ABSTRACT Strong visibility is a generalization of standard visibility, defined with respect to a fixed set of line orien- tations. We investigate computational properties of this generalized visibility, as well as the related notion of strong convexity. In particular, we describe algorithms for the following tasks: 1. Testing the strong visibility of two points in a polygon and the strong convexity of a polygon. 2. Finding the strong convex hull of a point set and that of a simple polygon. 3. Constructing the strong kernel of a polygon. 4. Identifying the set of points that are strongly visible from a given point. Keywords: computational geometry, generalized visibility and convexity, restricted orientations. 1 INTRODUCTION The study of nontraditional notions of visibility is a fruitful branch of computational geometry, which has found applications in VLSI design, computer graphics, motion planning, and other areas. Researchers have investigated multiple variations and generalizations of standard visibility and convexity.1,2,6,11{13,15,18 Rawlins has introduced the notions of strong visibility and convexity as a part of his research on restricted- orientation geometry.15 These notions are defined with respect to a fixed set of line orientations. They are stronger than standard visibility and convexity, hence the name.
    [Show full text]
  • Faculty of Science Solving the Art Gallery Problem in Iterations
    Faculty of Science Dept. of Information and Computing Sciences Solving the Art Gallery Problem in Iterations Author: Simon Hengeveld 5500117 First supervisor: dr. T. Miltzow Second examiner: Prof. dr. M.J. van Kreveld Acknowledgements Firstly, I would like to thank my supervisor Tillmann Miltzow for introducing me to this interesting project. As the project was close to him, he was very interested in and positive about my progression. This alleviated the usual stress that comes with a master's thesis, making the process a lot less tedious and much more enjoyable. Additionally, I am grateful to my second examiner Mark van Kreveld for his valuable feedback and knowledge of the thesis process. I would also like to thank my housemate and friend Christopher Bouma for letting me use his computer to run several experiments. Furthermore, I am thankful to my parents for always being available to offer good advice concerning difficult choices. Finally, special thanks go to my girlfriend Sofia Rosero Abad for bearing with me through the last stressful weeks and helping me make the graphs and figures look attractive. Abstract The Art Gallery problem is a famous problem in the field of Computational Geometry. The variant of the problem discussed in this thesis is defined as follows: given a polygon (possibly with holes) P , the goal is to find the smallest set of point guards G ⊂ P such that every point p 2 P is at least seen by one of the guards g 2 G. A guard sees a point within P if the segment between the guard and the point is contained in P .
    [Show full text]