Voronoi Diagrams in n· 2 O(√lglg n ) Time Timothy M. ChanMihai Pătraşcu STOC’07.

Slides:



Advertisements
Similar presentations
Order-k Voronoi Diagram in the Plane
Advertisements

Guy EvenZvi LotkerDana Ron Tel Aviv University Conflict-free colorings of unit disks, squares, & hexagons.
Alpha Shapes. Used for Shape Modelling Creates shapes out of point sets Gives a hierarchy of shapes. Has been used for detecting pockets in proteins.
CSE 4101/5101 Prof. Andy Mirzaian. References: Lecture Note 8 [LN8]LN8 [CLRS] chapter 33 Lecture Note 8 [LN8]LN8 [CLRS] chapter 33 Applications:  Proximity.
Part 2: Digital convexity and digital segments p q Goddess of fortune smiles again.
MATH 224 – Discrete Mathematics
Nearest Neighbor Search in High Dimensions Seminar in Algorithms and Geometry Mica Arie-Nachimson and Daniel Glasner April 2009.
Comments We consider in this topic a large class of related problems that deal with proximity of points in the plane. We will: 1.Define some proximity.
Efficient access to TIN Regular square grid TIN Efficient access to TIN Let q := (x, y) be a point. We want to estimate an elevation at a point q: 1. should.
Tight Bounds for Dynamic Convex Hull Queries (Again) Erik DemaineMihai Pătraşcu.
2/14/13CMPS 3120 Computational Geometry1 CMPS 3120: Computational Geometry Spring 2013 Planar Subdivisions and Point Location Carola Wenk Based on: Computational.
 Distance Problems: › Post Office Problem › Nearest Neighbors and Closest Pair › Largest Empty and Smallest Enclosing Circle  Sub graphs of Delaunay.
The Divide-and-Conquer Strategy
Tools from Computational Geometry Bernard Chazelle Princeton University Bernard Chazelle Princeton University Tutorial FOCS 2005.
Ruslana Mys Delaunay Triangulation Delaunay Triangulation (DT)  Introduction  Delaunay-Voronoi based method  Algorithms to compute the convex hull 
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.
Advanced Topics in Algorithms and Data Structures Lecture 7.1, page 1 An overview of lecture 7 An optimal parallel algorithm for the 2D convex hull problem,
Convex Hull Problem Presented By Erion Lin. Outline Convex Hull Problem Voronoi Diagram Fermat Point.
DEpthLAUNAY1 DEpthLAUNAY Manuel Abellanas Alfredo de las Vegas Facultad de Informática - UPM.
1st Meeting Industrial Geometry Computational Geometry ---- Some Basic Structures 1st IG-Meeting.
Week 14 - Monday.  What did we talk about last time?  Bounding volume/bounding volume intersections.
Query Processing in Databases Dr. M. Gavrilova.  Introduction  I/O algorithms for large databases  Complex geometric operations in graphical querying.
2. Voronoi Diagram 2.1 Definiton Given a finite set S of points in the plane , each point X of  defines a subset S X of S consisting of the points of.
Computational Geometry and Spatial Data Mining
1cs542g-term Notes. 2 Meshing goals  Robust: doesn’t fail on reasonable geometry  Efficient: as few triangles as possible Easy to refine later.
Asst. Prof. Yusuf Sahillioğlu
UMass Lowell Computer Science Advanced Algorithms Computational Geometry Prof. Karen Daniels Spring, 2007 Chapter 5: Voronoi Diagrams Wednesday,
Introduction to Computational Geometry Computational Geometry, WS 2007/08 Lecture 1 – Part II Prof. Dr. Thomas Ottmann Algorithmen & Datenstrukturen, Institut.
Lection 1: Introduction Computational Geometry Prof.Dr.Th.Ottmann 1 History: Proof-based, algorithmic, axiomatic geometry, computational geometry today.
Mark Waitser Computational Geometry Seminar December Iterated Snap Rounding.
Point Location Computational Geometry, WS 2007/08 Lecture 5 Prof. Dr. Thomas Ottmann Algorithmen & Datenstrukturen, Institut für Informatik Fakultät für.
I/O-Algorithms Lars Arge University of Aarhus March 7, 2005.
Lecture 6: Point Location Computational Geometry Prof. Dr. Th. Ottmann 1 Point Location 1.Trapezoidal decomposition. 2.A search structure. 3.Randomized,
LP formulation of Economic Dispatch
Volume distortion for subsets of R n James R. Lee Institute for Advanced Study & University of Washington Symposium on Computational Geometry, 2006; Sedona,
Well Separated Pair Decomposition 16 GigaYears and 3.3 Million Light Years Playing.
Delaunay Triangulations Presented by Glenn Eguchi Computational Geometry October 11, 2001.
Lab 3 How’d it go?.
Voronoi diagrams and applications Prof. Ramin Zabih
Computational Geometry (35/33) Line Segments and cross-product Segment intersection and Sweep Line Convex Hull and Graham’s Scan, Jarvis’s march Divide-and-Conquer.
5 -1 Chapter 5 The Divide-and-Conquer Strategy A simple example finding the maximum of a set S of n numbers.
Computational Geometry Course Summary (First Half) Spring 2008 Pay special attention to: algorithm details (able to explain correctness and carry out a.
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.
The Lower Bounds of Problems
Open Problem: Dynamic Planar Nearest Neighbors CSCE 620 Problem 63 from the Open Problems Project
Efficient Algorithms for Some Variants of the Farthest String Problem Chih Huai Cheng, Ching Chiang Huang, Shu Yu Hu, Kun-Mao Chao.
Geometric Problems in High Dimensions: Sketching Piotr Indyk.
Institute of Information Science Academia Sinica 1 1 Introduction to Geomtric Computing D. T. Lee Institute of Information Science Academia Sinica October.
10/19/04© University of Wisconsin, CS559 Fall 2004 Last Time Clipping –Why we care –Sutherland-Hodgman –Cohen-Sutherland –Intuition for Liang-Barsky Homework.
L8 - Delaunay triangulation L8 – Delaunay triangulation NGEN06(TEK230) – Algorithms in Geographical Information Systems.
Computational Geometry Piyush Kumar (Lecture 1: Introduction) Welcome to CIS5930.
IntroductionReduction to Arrangements of Hyperplanes We keep the canonical triangulation (bottom, left corner triangulation) of each convex cell of the.
1 Point Location Strategies Idit Haran
CENG 789 – Digital Geometry Processing 03- Point Sets Asst. Prof. Yusuf Sahillioğlu Computer Eng. Dept,, Turkey.
Convex hulls in 3D Maciej Kot. Finding convex hull Given a set of points, find a convex hull that contains all of them and is minimal.
Polygon Triangulation
VORONOI DIAGRAMS BY KATHARINE TISCHER Coordinating Seminar Spring 2013.
Computational Geometry Piyush Kumar (Lecture 1: Introduction) Welcome to CIS5930.
Limits of Data Structures
Query Processing in Databases Dr. M. Gavrilova
Computational Geometry
Localizing the Delaunay Triangulation and its Parallel Implementation
Randomized Algorithms CS648
Lecture 7: Dynamic sampling Dimension Reduction
Craig Schroeder October 26, 2004
Divide and Conquer / Closest Pair of Points Yin Tat Lee
Lecture 16: Earth-Mover Distance
Computational Geometry Capter:1-2.1
Algorithm design (computational geometry)
President’s Day Lecture: Advanced Nearest Neighbor Search
Presentation transcript:

Voronoi Diagrams in n· 2 O(√lglg n ) Time Timothy M. ChanMihai Pătraşcu STOC’07

Things I hope you heard about: 2D Voronoi diagrams 3-d convex hull Delaunay triangulation Euclidean MST largest empty circle offline nearest neighbor segment intersection trapezoidal decomposition triangulating polygons with holes Θ(n lg n)

But just in case you didn’t… Everything reducible to one problem NB: reductions not obvious, but known “Sorting in 2 Dimensions” Given a vertical slab with: m segments cutting across n points in slab Output: points sorted w.r.t. segments O(n lg m) : * compare all points to middle segment * recurse (up, down)

Things I hope you heard about: 1D numbers inside computers are not real i.e. numbers have bounded precision hashing tries radix sort popular ideas that make a difference When ? Theory for something that works: “Sorting is not Θ(n lg n) ” O( n· √ lglg n) randomized O( n· lglg n) deterministic

Why consider 2D? Easy answer: [Willard, SODA’92], others it is not Θ(n lg n) on my computer (or yours) practice uses finite precision (k-d trees, gridding etc) –can we have theoretical guarantees? –can we improve practice based on theoretical ideas? mathematics: –information, communication, algorithms – about geometry! –differences from 1D fascinating Theory Matters®

(Our) Previous Work [Chan FOCS’06 ] [Pătraşcu FOCS’06 ] considered online searching (point location) => first sublogarithmic result for algorithms, it gave: O ( n · min { lg n / lglg n, √ w/ lg w }) w = precision, in bits Here, consider offline problem directly (“2D sorting”) => n· 2 O (√lglg n ) << n lg n e.g. < n lg  n beat O(n lg n) for any precision significant improvement for small precision significant improvement independent of precision

Review of Previous Technique pick B segments and sketch them recurse => O( lg B n) cost per point Throw away bad segments, sketch the rest. segments closer than 1/2 w/B on left or right Only far segments => precision w/B enough Can sketch B segments  B -ary search fails when universe is reduced reduction by 2 w/B either left or right precision w => at most 2 B universe reductions Optimize O( log B n + B) => O(lg n / lglg n) ? X 

Idea 1: Pack Points “With precision w/B, can pack B segments per word” Reimplement old O(n lg m) algorithm: “ compare all points to middle segment; recurse” compare B packed points to a segment in O(1) time=> cost 1/B per point ~~ each point compared to O( lg m) segments segments too close: => recompute sketches, cost O(1) per point ~~ each point resketched B times points * * + B+( lg m)/B *n*n Optimize => O(n √lg m)

Idea 2: Repack Points Before: reduce precision by √lg m solve reduced problem directly recurse between close segments New idea: reduce precision by 10 recurse in reduced problem recurse between close segments Recursive calls work with original (unpacked) points Recursive calls work with packed points Repack more tightly Information manipulation bottleneck (also in 1D): working with packed points ~~ external memory external memory permutation is ω(n/B) “having things in the right order” is not free Tools from integer sorting + Careful balancing n· 2 O(√lglg n )

Idea 3: Different Packing Before: “universe reduction” = either on left or right side Low-precision grid looks like: projective map  not word parallelizable with standard operations Now: “universe reduction” = both on left and right side So “universe” looks like: affine map word parallelizable, standard operations Minor trouble: rounding to low-precision no longer works Can be fixed with some geometry…

Open Problems all reductions to 2D sorting randomized => still no o(n lg n) deterministic better bounds? can randomization help? red-blue intersection counting -- only one with no o(n lg n)

T H E E N D