computational geometry
play

Computational Geometry Lecture 6: Smallest enclosing circles and - PowerPoint PPT Presentation

Introduction Smallest enclosing circle algorithm Randomized incremental construction Smallest enclosing circles and more Computational Geometry Lecture 6: Smallest enclosing circles and more Computational Geometry Lecture 6: Smallest


  1. Introduction Smallest enclosing circle algorithm Randomized incremental construction Smallest enclosing circles and more Computational Geometry Lecture 6: Smallest enclosing circles and more Computational Geometry Lecture 6: Smallest enclosing circles and more

  2. Introduction Facility location Smallest enclosing circle algorithm Properties of the smallest enclosing circle Randomized incremental construction Facility location Given a set of houses and farms in an isolated area. Can we place a helicopter ambulance post so that each house and farm can be reached within 15 minutes? Where should we place an antenna so that a number of locations have maximum reception? Computational Geometry Lecture 6: Smallest enclosing circles and more

  3. Introduction Facility location Smallest enclosing circle algorithm Properties of the smallest enclosing circle Randomized incremental construction Facility location in geometric terms Given a set of points in the plane. Is there any point that is within a certain distance of these points? Where do we place a point that minimizes the maximum distance to a set of points? Computational Geometry Lecture 6: Smallest enclosing circles and more

  4. Introduction Facility location Smallest enclosing circle algorithm Properties of the smallest enclosing circle Randomized incremental construction Facility location in geometric terms Given a set of points in the plane, compute the smallest enclosing circle Computational Geometry Lecture 6: Smallest enclosing circles and more

  5. Introduction Facility location Smallest enclosing circle algorithm Properties of the smallest enclosing circle Randomized incremental construction Smallest enclosing circle Observation: It must pass through some points, or else it cannot be smallest Take any circle that encloses the points, and reduce its radius until it contains a point p Move center towards p while reducing the radius further, until the circle contains another point q Computational Geometry Lecture 6: Smallest enclosing circles and more

  6. Introduction Facility location Smallest enclosing circle algorithm Properties of the smallest enclosing circle Randomized incremental construction Smallest enclosing circle Move center on the bisector of p and q towards their midpoint, until: (i) the circle contains a third point, or (ii) the center reaches the midpoint of p and q Computational Geometry Lecture 6: Smallest enclosing circles and more

  7. Introduction Facility location Smallest enclosing circle algorithm Properties of the smallest enclosing circle Randomized incremental construction Smallest enclosing circle Question: Does the “algorithm” of the previous slide work? Computational Geometry Lecture 6: Smallest enclosing circles and more

  8. Introduction Facility location Smallest enclosing circle algorithm Properties of the smallest enclosing circle Randomized incremental construction Smallest enclosing circle Observe: A smallest enclosing circle has (at least) three points on its boundary, or only two in which case they are diametrally opposite Question: What is the extra property when there are three points on the boundary? Computational Geometry Lecture 6: Smallest enclosing circles and more

  9. Randomized incremental construction Introduction A more restricted problem Smallest enclosing circle algorithm A yet more restricted problem Randomized incremental construction Efficiency analysis Randomized incremental construction Construction by randomized incremental construction incremental construction: Add points one by one and maintain the solution so far randomized: Use a random order to add the points Computational Geometry Lecture 6: Smallest enclosing circles and more

  10. Randomized incremental construction Introduction A more restricted problem Smallest enclosing circle algorithm A yet more restricted problem Randomized incremental construction Efficiency analysis Adding a point Let p 1 ,..., p n be the points in random order Let C i be the smallest enclosing circle for p 1 ,..., p i Suppose we know C i − 1 and we want to add p i If p i is inside C i − 1 , then C i = C i − 1 If p i is outside C i − 1 , then C i will have p i on its boundary Computational Geometry Lecture 6: Smallest enclosing circles and more

  11. Randomized incremental construction Introduction A more restricted problem Smallest enclosing circle algorithm A yet more restricted problem Randomized incremental construction Efficiency analysis Adding a point C i − 1 C i − 1 p i p i Computational Geometry Lecture 6: Smallest enclosing circles and more

  12. Randomized incremental construction Introduction A more restricted problem Smallest enclosing circle algorithm A yet more restricted problem Randomized incremental construction Efficiency analysis Adding a point Question: Suppose we remembered not only C i − 1 , but also the two or three points defining it. It looks like if p i is outside C i − 1 , the new circle C i is defined by p i and some points that defined C i − 1 . Why is this false? Computational Geometry Lecture 6: Smallest enclosing circles and more

  13. Randomized incremental construction Introduction A more restricted problem Smallest enclosing circle algorithm A yet more restricted problem Randomized incremental construction Efficiency analysis Adding a point Computational Geometry Lecture 6: Smallest enclosing circles and more

  14. Randomized incremental construction Introduction A more restricted problem Smallest enclosing circle algorithm A yet more restricted problem Randomized incremental construction Efficiency analysis Adding a point How do we find the smallest enclosing circle of p 1 ..., p i − 1 with p i on the boundary? We study the new(!) geometric problem of computing the smallest enclosing circle with a given point p p on its boundary Computational Geometry Lecture 6: Smallest enclosing circles and more

  15. Randomized incremental construction Introduction A more restricted problem Smallest enclosing circle algorithm A yet more restricted problem Randomized incremental construction Efficiency analysis Smallest enclosing circle with point Given a set P of points and one special point p , determine the smallest enclosing circle of P that must have p on the boundary Question: How do we solve it? p Computational Geometry Lecture 6: Smallest enclosing circles and more

  16. Randomized incremental construction Introduction A more restricted problem Smallest enclosing circle algorithm A yet more restricted problem Randomized incremental construction Efficiency analysis Randomized incremental construction Construction by randomized incremental construction incremental construction: Add points one by one and maintain the solution so far randomized: Use a random order to add the points Computational Geometry Lecture 6: Smallest enclosing circles and more

  17. Randomized incremental construction Introduction A more restricted problem Smallest enclosing circle algorithm A yet more restricted problem Randomized incremental construction Efficiency analysis Adding a point Let p 1 ,..., p i − 1 be the points in random order Let C ′ j be the smallest enclosing circle for p 1 ,..., p j ( j ≤ i − 1 ) and with p on the boundary Suppose we know C ′ j − 1 and we want to add p j If p j is inside C ′ j − 1 , then C ′ j = C ′ j − 1 If p j is outside C ′ j − 1 , then C ′ j will have p j on its boundary (and also p of course!) Computational Geometry Lecture 6: Smallest enclosing circles and more

  18. Randomized incremental construction Introduction A more restricted problem Smallest enclosing circle algorithm A yet more restricted problem Randomized incremental construction Efficiency analysis Adding a point C ′ C ′ j − 1 j − 1 p j p p p j Computational Geometry Lecture 6: Smallest enclosing circles and more

  19. Randomized incremental construction Introduction A more restricted problem Smallest enclosing circle algorithm A yet more restricted problem Randomized incremental construction Efficiency analysis Adding a point How do we find the smallest enclosing circle of p 1 ..., p j − 1 with p and p j on the boundary? We study the new(!) geometric problem of computing the smallest q enclosing circle with two given points p on its boundary Computational Geometry Lecture 6: Smallest enclosing circles and more

  20. Randomized incremental construction Introduction A more restricted problem Smallest enclosing circle algorithm A yet more restricted problem Randomized incremental construction Efficiency analysis Smallest enclosing circle with two points Given a set P of points and two special points p and q , determine the smallest enclosing circle of P that must have p and q on the boundary q Question: How do we solve it? p Computational Geometry Lecture 6: Smallest enclosing circles and more

  21. Randomized incremental construction Introduction A more restricted problem Smallest enclosing circle algorithm A yet more restricted problem Randomized incremental construction Efficiency analysis Two points known p p q q Computational Geometry Lecture 6: Smallest enclosing circles and more

  22. Randomized incremental construction Introduction A more restricted problem Smallest enclosing circle algorithm A yet more restricted problem Randomized incremental construction Efficiency analysis Two points known p p q q Computational Geometry Lecture 6: Smallest enclosing circles and more

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend