The Art Gallery Problem

Similar documents
Computational Geometry [csci 3250]

AMS 345/CSE 355 Computational Geometry

Polygon Triangulation

Computational Geometry [csci 3250]

Ma/CS 6b Class 26: Art Galleries and Politicians

Week 2 Polygon Triangulation

Art Gallery Theorems and Algorithms

The Art Gallery Theorem

Algorithms. Daniel G. Aliaga. Computer Science Department Purdue University

Polygon decomposition. Motivation: Art gallery problem

Computational Geometry

Polygon Triangulation. (slides partially by Daniel Vlasic )

Professor: Padraic Bartlett. Lecture 9: Trees and Art Galleries. Week 10 UCSB 2015

Polygon Triangulation. (slides partially by Daniel Vlasic )

Lecture 4: Trees and Art Galleries

The Art Gallery Problem: An Overview and Extension to Chromatic Coloring and Mobile Guards

The Art Gallery Problem

Planar convex hulls (I) Computational Geometry [csci 3250] Laura Toma Bowdoin College

The SUMO Speaker Series for Undergraduates. The Art Gallery Problem

Orthogonal art galleries with holes: a coloring proof of Aggarwal s Theorem

Guard Placement For Wireless Localization

Angles of Polygons. Essential Question What is the sum of the measures of the interior angles of a polygon?

CS6100: Topics in Design and Analysis of Algorithms

3D convex hulls. Computational Geometry [csci 3250] Laura Toma Bowdoin College

Art Gallery, Triangulation, and Voronoi Regions

1/25 Warm Up Find the value of the indicated measure

Lattice Polygon s and Pick s Theorem From Dana Paquin and Tom Davis 1 Warm-Up to Ponder

Any questions about the material so far? About the exercises?

Lecture 3: Art Gallery Problems and Polygon Triangulation

Week 3 Polygon Triangulation

Motivation: Art gallery problem. Polygon decomposition. Art gallery problem: upper bound. Art gallery problem: lower bound

Chapter 10 Polygons and Area

Lesson 7.1. Angles of Polygons

ON THE EMPTY CONVEX PARTITION OF A FINITE SET IN THE PLANE**

Solving Art Gallery Problem with Triangulation and Graph Coloring

How Do Computers Solve Geometric Problems? Sorelle Friedler, University of Maryland - College Park

CS 532: 3D Computer Vision 11 th Set of Notes

MISCELLANEOUS SHAPES

Guards, Galleries, Fortresses, and the Octoplex

Geometry Chapter 8 Test Review

Mathematics Concepts 2 Exam 1 Version 2 22 September 2017

Bicriteria approach to the optimal location of surveillance cameras *

Growing and Shrinking Polygons for Random Testing of Computational Geometry Algorithms

2009 HMMT Team Round. Writing proofs. Misha Lavrov. ARML Practice 3/2/2014

6-1 Properties and Attributes of Polygons

Visibility Analysis for Video Surveillance

A NOTE ON BLOCKING VISIBILITY BETWEEN POINTS

Geometry Unit 2 Test , 3.8,

Projects & Polygon Triangulation

Polygon Triangulation

Mathematics Concepts 2 Exam 1 Version 4 21 September 2018

Math Polygons

Pick s Theorem and Lattice Point Geometry

The Art Gallery Question

5. THE ISOPERIMETRIC PROBLEM

Pick s Theorem! Finding the area of polygons on a square lattice grid.

3D convex hulls. Computational Geometry [csci 3250] Laura Toma Bowdoin College

The Helly Number of the Prime-coordinate Point Set

Lectures 19: The Gauss-Bonnet Theorem I. Table of contents

Discrete Mathematics I So Practice Sheet Solutions 1

Geometry Unit 6 Properties of Quadrilaterals Classifying Polygons Review

Lesson Plan #39. 2) Students will be able to find the sum of the measures of the exterior angles of a triangle.

Geometry/Trigonometry Unit 5: Polygon Notes Period:

What is a tessellation???? Give an example... Daily Do from last class Homework Answers 10 7 These are similar: What does y =? x =?

Computational Geometry: Lecture 5

(a) (b) (c) (d) (e) (f) Figure 3.1: What is a polygon?

Week 7 Convex Hulls in 3D

Objectives. 6-1 Properties and Attributes of Polygons

Angles of Polygons. b. Draw other polygons and find the sums of the measures of their interior angles. Record your results in the table below.

Figure 1: Two polygonal loops

CS 177 Homework 1. Julian Panetta. October 22, We want to show for any polygonal disk consisting of vertex set V, edge set E, and face set F:

Computational Geometry csci3250. Laura Toma. Bowdoin College

Line Arrangements. Applications

On the Minimum Number of Convex Quadrilaterals in Point Sets of Given Numbers of Points

Explore 2 Exploring Interior Angles in Polygons

Warm-Up Exercises. 1. If the measures of two angles of a triangle are 19º and 80º, find the measure of the third angle. ANSWER 81º

Three applications of Euler s formula. Chapter 10

Polygon Angle-Sum Theorem:

Examples: Identify the following as equilateral, equiangular or regular. Using Variables: S = 180(n 2)

8 Quadrilaterals. Before

Midpoint and Distance Formulas

The Graphs of Triangulations of Polygons

Computational Geometry Lecture Delaunay Triangulation

A THREE AND FIVE COLOR THEOREM

Capturing an Evader in a Polygonal Environment with Obstacles

Reverse Polish notation in constructing the algorithm for polygon triangulation

Edge Guards for Polyhedra in Three-Space

On Guarding Orthogonal Polygons with Bounded Treewidth

Linear time 8/3-approx. of r-star guards in simple orthogonal art galleries

Scheduling, Map Coloring, and Graph Coloring

The Dynamic Geometry of Sightseeing: Part 1

274 Curves on Surfaces, Lecture 5

MATH 113 Section 8.2: Two-Dimensional Figures

UNM - PNM STATEWIDE MATHEMATICS CONTEST XLI. February 7, 2009 Second Round Three Hours

The Farthest Point Delaunay Triangulation Minimizes Angles

EXTERNAL VISIBILITY. 1. Definitions and notation. The boundary and interior of

7.2 Start Thinking. 7.2 Warm Up. 7.2 Cumulative Review Warm Up = + 2. ( )

Practical Linear Algebra: A Geometry Toolbox

CS 372: Computational Geometry Lecture 10 Linear Programming in Fixed Dimension

Line Arrangement. Chapter 6

Transcription:

The Art Gallery Problem Imagine an art gallery whose floor plan is a simple polygon, and a guard (a point) inside the gallery. Computational Geometry [csci 3250] The Art Gallery Problem Laura Toma Bowdoin College 1 2 3 The Art Gallery Problem The Art Gallery Problem The Art Gallery Problem Imagine an art gallery whose floor plan is a simple polygon, and a guard (a point) inside the gallery. What does the guard see? Imagine an art gallery whose floor plan is a simple polygon, and a guard (a point) inside the gallery. What does the guard see? Imagine an art gallery whose floor plan is a simple polygon, and a guard (a point) inside the gallery. What does the guard see? We say that two points a, b are visible if segment ab stays inside P (touching boundary is ok). We say that two points a, b are visible if segment ab stays inside P (touching boundary is ok). 4 5 6

We say that a set of guards covers polygon P if every point in P is visible to at least one guard. We say that a set of guards covers polygon P if every point in P is visible to at least one guard. We say that a set of guards covers polygon P if every point in P is visible to at least one guard. Examples: Examples: Examples: Does the point guard the triangle? Can all triangles be guarded with one point? Does the point guard the quadrilateral? 7 8 9 We say that a set of guards covers polygon P if every point in P is visible to at least one guard. Examples: Questions: 1. Given a polygon P of size n, what is the smallest number of guards (and their locations) to cover P? Questions: 1. Given a polygon P of size n, what is the smallest number of guards (and their locations) to cover P? Can all quadrilaterals be guarded with one point? 10 11 12

Klee s problem Notation Let Pn: polygon of n vertices Let g(p) = the smallest number of guards to cover P Let G(n) = max { g(pn) all Pn}. Questions: 1. Given a polygon P of size n, what is the smallest number of guards (and their locations) to cover P? NP-Complete Questions: 1. Given a polygon P of size n, what is the smallest number of guards (and their locations) to cover P? NP-Complete 2. Klee s problem: Consider all polygons of n vertices, and the smallest number of guards to cover each of them. What is the worst-case? G(n) is the smallest number that always works for any n-gon. It is sometimes necessary and always sufficient to guard a polygon of n vertices. G(n) is necessary: there exists a Pn that requires G(n) guards G(n) is sufficient: any Pn can be guarded with G(n) guards Klee s problem: find G(n) 13 14 15 Klee s problem: find G(n) Our goal (i.e. Klee s goal) is to find G(n). n=3 n=4 Trivial bounds G(n) >= 1 : obviously, you need at least one guard. G(n) <= n : place one guard in each vertex Any triangle needs at least one guard. One guard is always sufficient. G(3) = 1 Any quadrilateral needs at least one guard. One guard is always sufficient. G(4) = 1 16 17 18

n=5 n=5 n=6 G(5) =? G(6) =? Can all 5-gons be guarded by one point? 19 G(5) = 1 20 A 6-gon that can t be guarded by one point? 21 n=6 G(n) =? Come up with a Pn that requires as many guards as possible. G(n) =? Come up with a Pn that requires as many guards as possible. G(6) = 2 22 23 24

G(n) =? Come up with a Pn that requires as many guards as possible. n/3 necessary It was shown that n/3 is also sufficient. That is, Any Pn can be guarded with at most n/3 guards. (Complex) proof by induction Subsequently, simple and beautiful proof due to Steve Fisk, who was Bowdoin Math faculty. Proof in The Book. 25 26 27. 2. A triangulated simple polygon can be 3-colored. 3. Observe that placing the guards at all the vertices assigned to one color guarantees the polygon is covered. 4. There must exist a color that s used at most n/3 times. Pick that color and place guards at the vertices of that color. Claim: Any simple polygon can be triangulated. 28 29 30

Polygon triangulation Polygon triangulation Given a simple polygon P, a diagonal is a segment between 2 nonadjacent vertices that lies entirely within the interior of the polygon. Claim: Any simple polygon can be triangulated. Proof idea: induction using the existence of a diagonal. Later. 31 32 33 34 35 36

37 38 39 40 41 42

43 44 45 46 47 48

Placing guards at vertices of one color covers P. 49 50 51 Placing guards at vertices of one color covers P. Placing guards at vertices of one color covers P. Pick least frequent color! At most n/3 vertices of that color. The proofs 52 53 54

1. Any polygon can be triangulated 2. Any triangulation can be 3-colored 3. Observe that placing the guards at all the vertices assigned to one color guarantees the polygon is covered. 4. There must exist a color that s used at most n/3 times. Pick that color and place guards at the vertices of that color. Claim: The set of red vertices covers the polygon. The set of blue vertices covers the polygon. The set of green vertices covers the polygon. There are n vertices colored with one of 3 colors. Claim: There must exist a color that s used at most n/3 times. 55 56 57 Polygon triangulation Polygon triangulation Theorem: Any triangulation can be 3-colored. Theorem: Any simple polygon has at least one convex vertex. Theorem: Any simple polygon with n>3 vertices contains (at least) a diagonal. 58 59 60

Theorem: Any polygon can be triangulated 61