Incremental convex hulls BEN LEVY| DISCRETE ALGORITHMIC GEOMETRY

Slides:



Advertisements
Similar presentations
Review Binary Search Trees Operations on Binary Search Tree
Advertisements

Convex drawing chapter 5 Ingeborg Groeneweg. Summery What is convex drawing What is convex drawing Some definitions Some definitions Testing convexity.
Augmenting Data Structures Advanced Algorithms & Data Structures Lecture Theme 07 – Part I Prof. Dr. Th. Ottmann Summer Semester 2006.
Dynamic Planar Convex Hull Operations in Near- Logarithmic Amortized Time TIMOTHY M. CHAN.
2/14/13CMPS 3120 Computational Geometry1 CMPS 3120: Computational Geometry Spring 2013 Planar Subdivisions and Point Location Carola Wenk Based on: Computational.
Convex hulls Gift wrapping, d > 2 Problem definition CONVEX HULL, D > 2 INSTANCE. Set S = { p 1, p 2, … p N } of points in d-space (E d ). QUESTION. Construct.
COSC 6114 Prof. Andy Mirzaian. TOICS  General Facts on Polytopes  Algorithms  Gift Wrapping  Beneath Beyond  Divide-&-Conquer  Randomized Incremental.
C o m p u t i n g C O N V E X H U L L S by Kok Lim Low 10 Nov 1998 COMP Presentation.
By Groysman Maxim. Let S be a set of sites in the plane. Each point in the plane is influenced by each point of S. We would like to decompose the plane.
Convex Hulls in 3-space Jason C. Yang.
CHAPTER 5: CONVEX POLYTOPES Anastasiya Yeremenko 1.
Perfect Matching for Biconnected Cubic Graphs in O(nlog 2 n) Time Krzysztof Diks & Piotr Stańczyk.
17. Computational Geometry Chapter 7 Voronoi Diagrams.
Delaunay Triangulation Computational Geometry, WS 2006/07 Lecture 11 Prof. Dr. Thomas Ottmann Algorithmen & Datenstrukturen, Institut für Informatik Fakultät.
By Dor Lahav. Overview Straight Skeletons Convex Polygons Constrained Voronoi diagrams and Delauney triangulations.
Geometric Reasoning About Mechanical Assembly Randall H. Wilson and Jean-Claude Latombe Andreas Edlund Romain Thibaux.
1.4 Exercises (cont.) Definiton: A set S of points is said to be affinely (convex) independent if no point of S is an affine combination of the others.
1 On Dynamic Shortest Paths Problems Liam Roditty Uri Zwick Tel Aviv University ESA 2004.
UMass Lowell Computer Science Advanced Algorithms Computational Geometry Prof. Karen Daniels Spring, 2007 Chapter 4: 3D Convex Hulls Friday, 2/9/07.
Lecture 10 : Delaunay Triangulation Computational Geometry Prof. Dr. Th. Ottmann 1 Overview Motivation. Triangulation of Planar Point Sets. Definition.
Algorithm 1. (Convex Hull) - Pseudo code - Input. A set of points in the plane. Output. A list containing the vertices of Conv ( P). 1. Sort the points.
Point Location Computational Geometry, WS 2007/08 Lecture 5 Prof. Dr. Thomas Ottmann Algorithmen & Datenstrukturen, Institut für Informatik Fakultät für.
Algorithm3. (3-dim) Assumptions Points are ordered in a sequence increasingly with respect to the x coordinate. Points having the same x coordinate are.
Lecture 6: Point Location Computational Geometry Prof. Dr. Th. Ottmann 1 Point Location 1.Trapezoidal decomposition. 2.A search structure. 3.Randomized,
UMass Lowell Computer Science Advanced Algorithms Computational Geometry Prof. Karen Daniels Spring, 2004 Chapter 4: 3D Convex Hulls Monday, 2/23/04.
Graph Theory Ch.5. Coloring of Graphs 1 Chapter 5 Coloring of Graphs.
Delaunay Triangulations Presented by Glenn Eguchi Computational Geometry October 11, 2001.
A brief and sketchy intro to 3D Convex Hulls Rodrigo Silveira GEOC 2010/11 - Q2.
UNC Chapel Hill M. C. Lin Point Location Reading: Chapter 6 of the Textbook Driving Applications –Knowing Where You Are in GIS Related Applications –Triangulation.
“On an Algorithm of Zemlyachenko for Subtree Isomorphism” Yefim Dinitz, Alon Itai, Michael Rodeh (1998) Presented by: Masha Igra, Merav Bukra.
Line Arrangement Chapter 6. Line Arrangement Problem: Given a set L of n lines in the plane, compute their arrangement which is a planar subdivision.
Nyhoff, ADTs, Data Structures and Problem Solving with C++, Second Edition, © 2005 Pearson Education, Inc. All rights reserved Graphs.
C o m p u t i n g C O N V E X H U L L S. Presentation Outline 2D Convex Hulls –Definitions and Properties –Approaches: Brute Force Gift Wrapping QuickHull.
Graphs. Definitions A graph is two sets. A graph is two sets. –A set of nodes or vertices V –A set of edges E Edges connect nodes. Edges connect nodes.
Open Problem: Dynamic Planar Nearest Neighbors CSCE 620 Problem 63 from the Open Problems Project
Planar Graphs Graph Coloring
1 / 41 Convex Hulls in 3-space Jason C. Yang. 2 / 41 Problem Statement Given P: set of n points in 3-space Return: –Convex hull of P: CH (P) –Smallest.
MAT 2720 Discrete Mathematics Section 8.2 Paths and Cycles
Riccardo Fellegara University of Genova Genova, Italy
Graphs Upon completion you will be able to:
UNC Chapel Hill M. C. Lin Delaunay Triangulations Reading: Chapter 9 of the Textbook Driving Applications –Height Interpolation –Constrained Triangulation.
CSE 421 Algorithms Richard Anderson Winter 2009 Lecture 5.
UMass Lowell Computer Science Advanced Algorithms Computational Geometry Prof. Karen Daniels Spring, 2010 O’Rourke Chapter 6 with some material.
Design and Analysis of Algorithms Introduction to graphs, representations of a graph Haidong Xue Summer 2012, at GSU.
CSE 421 Algorithms Richard Anderson Autumn 2015 Lecture 5.
Data Structures and Algorithm Analysis Graph Algorithms Lecturer: Jing Liu Homepage:
Power domination in block graphs Guangjun Xu Liying Kang Erfang Shan Min Zhao.
1 Chapter 4 Geometry of Linear Programming  There are strong relationships between the geometrical and algebraic features of LP problems  Convenient.
Randomized Incremental Algorithm for Delaunay Triangulation (DT) CS Gates 219 October 19, 3:00 – 4:20 Richard Zhang (for Leo G.) Disclaimer: All.
CMPS 3130/6130 Computational Geometry Spring 2017
Graph theory Definitions Trees, cycles, directed graphs.
Matrix Representation of Graph
CS120 Graphs.
The Art Gallery Problem
The Art Gallery Problem
Tree Construction (BFS, DFS, MST) Chapter 5
Depth Estimation via Sampling
Lecture 15: Graph Theory II
Quadtrees 1.
Graphs Chapter 11 Objectives Upon completion you will be able to:
Lectures on Graph Algorithms: searching, testing and sorting
Improved dynamic reachability algorithms for directed graphs
Richard Anderson Autumn 2016 Lecture 5
Randomized Algorithms
Discrete Mathematics Lecture 13_14: Graph Theory and Tree
CSE 6408 Advanced Algorithms.
Alan Kuhnle*, Victoria G. Crawford, and My T. Thai
Overlay of Two Subdivisions
Richard Anderson Winter 2019 Lecture 5
Agenda Review Lecture Content: Shortest Path Algorithm
Presentation transcript:

Incremental convex hulls BEN LEVY| DISCRETE ALGORITHMIC GEOMETRY

Lecture contents  Convex-hulls  Basic definitions  Data-structure representation  Lower bounds  Geometric preliminaries  Offline algorithm  Semi-dynamic algorithm  Fully-dynamic algorithm

Basic definitions - affine-hull

Basic definitions – convex-hull

Basic definitions – Polytope

Representation of polytopes  A polytope is generally represented by incidence graph of its faces.  A node is stored for each face.  An arc for each pair of incident faces.  Faces are incident if their dimensions differ by one and if one is contained in the other.  In Figure 8.1 we see four points that generates an affine space of dimension three.

Representation of polytopes  A j-skeleton of a polytope is the subgraph of the incidence of dimension at most j.  Examples: The 1-skeleton of a polytope is simply made up of the vertices and edges of that polytope.  The 0-skeleton of a polytope is simply made up of the vertices of that polytope.  Two (d-1)-faces of a polytope are said to be adjacent if they are incident to a common (d-2)-face.  Thus, incidence graph encodes the adjacency graph.

Lower bounds

Geometric preliminaries

 Observation : red faces are those who are visible from P (dashed). blue faces are those who are not visible from P (shaded). purple faces are tangent to P (bolded).

Geometric preliminaries  Observation : red faces are those who are visible from P. blue faces are those who are not visible from P purple faces are tangent to P.

Geometric preliminaries

C H2 H1 P G

Geometric preliminaries C H2 H1 P G

Geometric preliminaries

 Lemma Let C be a polytope and P a point in general position. If C has n vertices and does not contain P, then the set of the proper faces of C that are purple with respect to P is isomorphic, for the incidence relationship, to the set of faces of a (d-1)-polytope whose number of vertices is at most n.  For example, for a 3-polytope, the number of new faces created are isomorphic to the set of purple faces.

Deterministic algorithm

Deterministic algorithm – incremental step

Deterministic algorithm – Cost  Phase 1- proportional in time to the number of facets created at the previous step.  Total cost of phase 1 over all the steps is thus dominated by the total number of facets created.  Cost of phase 2,3,4 is proportional to the: number of red or purple faces + number of faces incident to red face + number of faces incident to purple faces.  Total cost of phases 2,3,4 is proportional to number of changes undergone by the incidence graph.

Deterministic algorithm – Cost

Online convex-hull  A similar problem, but the points inserted are randomized.  To find a red facet, we use the influence graph and not lexicographic order of the inserted points.

Online convex-hull

Online convex-hull - The Influence Graph  Leafs of the influence graph are regions without conflicts.  All incident nodes with a node B are contained in node B.  BAD is region free from conflicts, while BAC is region with conflict with vertex D.  CBA is region free from conflicts.

Online convex-hull - The Influence Graph  The algorithm- Initial step:  We build incidence graph of d-simplex formed by the first d+1 points.  We build influence graph with a node for each of the regions that in bijection to the d-2 faces of this simplex (vertices in our example) See below figure.

Online convex-hull - The Influence Graph  The algorithm- Location step:  Detects all “red” regions.  Visit recursively all nodes in conflict with P, starting from the root.

Online convex-hull - The Influence Graph  The algorithm- Update step:  If there is a conflicting leaf which is free of conflict on S, it is in bijection with some d-2 purple face of conv(S), vertices in 2D case, and this face is contained in a red facet. For example, in the last figure, P is in bijection with vertex A and D and both of them contained in a d-1 polytope (AD edge), facet in our case.

Online convex-hull - The Influence Graph

Dynamic convex-hull  Similar to the on-line algorithm, but now we want to allow deletion of points, much more complex task. A fully dynamic algorithm must keep some information for all the points in the current set, be they vertices of the current convex-hull or not.  For points information we use augmented influence graph as discussed in chapter 6.

Dynamic convex-hull  Augmented influence graph:  The algorithm maintains a graph whose nodes correspond to regions defined over the current set of points.  After each deletion, we rebuild the graph into the state it would have been in, had the deleted point never been inserted.  The graph depends only on the insertion order of the points in the current set.

Dynamic convex-hull

 Dynamic convex-hull – Insertion step  Insertion the n-th point into the convex hull is carried out exactly as in the on-line algorithm in section 8.5 with a single difference.  While we are locating the object in the influence graph, each detected conflict is added to the conflict lists.

Dynamic convex-hull

 Dynamic convex-hull – Deletion step - Example  After deleting point D:

Dynamic convex-hull