Open Problem: Dynamic Planar Nearest Neighbors CSCE 620 Problem 63 from the Open Problems Project

Slides:



Advertisements
Similar presentations
Spatial Information Systems (SIS) COMP Terrain modeling and geometric problems (part 2)
Advertisements

Nearest Neighbor Search
Dynamic Graph Algorithms - I
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.
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.
Voronoi Diagrams in n· 2 O(√lglg n ) Time Timothy M. ChanMihai Pătraşcu STOC’07.
Searching on Multi-Dimensional Data
Convex Hull obstacle start end Convex Hull Convex Hull
Near-Linear Approximation Algorithms for Geometric Hitting Sets Pankaj Agarwal Esther Ezra Micha Sharir Duke Duke Tel-Aviv University University University.
S. J. Shyu Chap. 1 Introduction 1 The Design and Analysis of Algorithms Chapter 1 Introduction S. J. Shyu.
1 Voronoi Diagrams. 2 Voronoi Diagram Input: A set of points locations (sites) in the plane.Input: A set of points locations (sites) in the plane. Output:
Tools from Computational Geometry Bernard Chazelle Princeton University Bernard Chazelle Princeton University Tutorial FOCS 2005.
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.
The Voronoi diagram of convex objects in the plane Menelaos Karavelas & Mariette Yvinec Dagsthul Workshop, march 2003.
Chapter 7 Data Structure Transformations Basheer Qolomany.
Intersections. Intersection Problem 3 Intersection Detection: Given two geometric objects, do they intersect? Intersection detection (test) is frequently.
Computational Geometry Piyush Kumar (Lecture 3: Convexity and Convex hulls) Welcome to CIS5930.
Computational Geometry -- Voronoi Diagram
17. Computational Geometry Chapter 7 Voronoi Diagrams.
Discrete geometry Lecture 2 1 © Alexander & Michael Bronstein
6/2/ :35 AMIncremental Convex Hull1 q w u e zt.
1 Lecture 8: Voronoi Diagram Computational Geometry Prof. Dr. Th. Ottmann Voronoi Diagrams Definition Characteristics Size and Storage Construction Use.
Approximate Range Searching in the Absolute Error Model Guilherme D. da Fonseca CAPES BEX Advisor: David M. Mount.
Tradeoffs in Approximate Range Searching Made Simpler Sunil Arya Hong Kong University of Science and Technology Guilherme D. da Fonseca Universidade Federal.
On the Union of Cylinders in Esther Ezra Duke University On the Union of Cylinders in  3 Esther Ezra Duke University.
Persistent Data Structures Computational Geometry, WS 2007/08 Lecture 12 Prof. Dr. Thomas Ottmann Khaireel A. Mohamed Algorithmen & Datenstrukturen, Institut.
Lars Arge1, Mark de Berg2, Herman Haverkort3 and Ke Yi1
I/O-Algorithms Lars Arge Aarhus University March 5, 2008.
This material in not in your text (except as exercises) Sequence Comparisons –Problems in molecular biology involve finding the minimum number of edit.
Point Location Computational Geometry, WS 2007/08 Lecture 5 Prof. Dr. Thomas Ottmann Algorithmen & Datenstrukturen, Institut für Informatik Fakultät für.
UNC Chapel Hill M. C. Lin Overview of Last Lecture About Final Course Project –presentation, demo, write-up More geometric data structures –Binary Space.
1 Geometric index structures April 15, 2004 Based on GUW Chapter , [Arge01] Sections 1, 2.1 (persistent B- trees), 3-4 (static versions.
Almost tight bound for the union of fat tetrahedra in R 3 Esther Ezra Micha Sharir Duke University Tel-Aviv University.
Lecture 6: Point Location Computational Geometry Prof. Dr. Th. Ottmann 1 Point Location 1.Trapezoidal decomposition. 2.A search structure. 3.Randomized,
A Navigation Mesh for Dynamic Environments Wouter G. van Toll, Atlas F. Cook IV, Roland Geraerts CASA 2012.
1 Geometric Intersection Determining if there are intersections between graphical objects Finding all intersecting pairs Brute Force Algorithm Plane Sweep.
Chapter 19 - basic definitions - order statistics ( findkth( ) ) - balanced binary search trees - Java implementations Binary Search Trees 1CSCI 3333 Data.
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.
Basics Set systems: (X,F) where F is a collection of subsets of X. e.g. (R 2, set of half-planes) µ: a probability measure on X e.g. area/volume is a.
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.
Nearest Neighbor Searching Under Uncertainty
14/13/15 CMPS 3130/6130 Computational Geometry Spring 2015 Windowing Carola Wenk CMPS 3130/6130 Computational Geometry.
On the union of cylinders in 3-space Esther Ezra Duke University.
1 Streaming Algorithms for Geometric Problems Piotr Indyk MIT.
Sorting Fun1 Chapter 4: Sorting     29  9.
Computing the Volume of the Union of Cubes in R 3 Pankaj K. Agarwal Haim Kaplan Micha Sharir.
CSIS7101 – Advanced Database Technologies Spatio-Temporal Data (Part 1) On Indexing Mobile Objects Kwong Chi Ho Leo Wong Chi Kwong Simon Lui, Tak Sing.
Kinetic data structures. Goal Maintain a configuration of moving objects Each object has a posted flight plan (this is essentially a well behaved function.
August 30, 2004STDBM 2004 at Toronto Extracting Mobility Statistics from Indexed Spatio-Temporal Datasets Yoshiharu Ishikawa Yuichi Tsukamoto Hiroyuki.
Data Structures and Algorithms in Parallel Computing Lecture 2.
Delaunay Triangulation on the GPU
IntroductionReduction to Arrangements of Hyperplanes We keep the canonical triangulation (bottom, left corner triangulation) of each convex cell of the.
1 Learning Bias & Clustering Louis Oliphant CS based on slides by Burr H. Settles.
Almost tight bound for the union of fat tetrahedra in R3 Esther Ezra Micha Sharir Duke University Tel-Aviv University.
Incremental convex hulls BEN LEVY| DISCRETE ALGORITHMIC GEOMETRY
Randomized Incremental Algorithm for Delaunay Triangulation (DT) CS Gates 219 October 19, 3:00 – 4:20 Richard Zhang (for Leo G.) Disclaimer: All.
School of Computing Clemson University Fall, 2012
Persistent Data Structures (Version Control)
Distance Computation “Efficient Distance Computation Between Non-Convex Objects” Sean Quinlan Stanford, 1994 Presentation by Julie Letchner.
Haim Kaplan and Uri Zwick
KD Tree A binary search tree where every node is a
Nearest-Neighbor Classifiers
Dynamic Data Structures for Simplicial Thickness Queries
Kinetic Collision Detection for Convex Fat Objects
Range Queries on Uncertain Data
Aggregate-Max Nearest Neighbor Searching in the Plane
Presentation transcript:

Open Problem: Dynamic Planar Nearest Neighbors CSCE 620 Problem 63 from the Open Problems Project Aditya Mahadevan

Nearest Neighbor Search l Problem of finding closest points in a metric space l Given a point set S, and a query q, find the point s є S that is closest to q l Planar nearest neighbors - where S is a set of points on a 2D plane l Naïve case: O(n) complexity s q

Applications l Classification –Statistical classification, e.g. online clustering –Pattern recognition (through classification) l Robotics l Relations to other problems –dynamic convex hull –Nearest neighbors for moving points? (delete a point from its previous position, re-insert at new position)

Nearest Neighbors, Voronoi Diagram l Voronoi diagram of S, Vor(S) – partition of the plane into |S| partitions such that each partition contains a point s (“site”), and all points on the plane closer to s than any other point in S l Nearest neighbor of query point q – site representing the Voronoi partition containing q s q

Voronoi Diagram and Convex Hull l Duality between 2D Voronoi Diagram and 3D Convex Hull l Can get Voronoi diagram of a set of points using convex hull algorithms –Map each 2D point to 3D using the function -z = 2p x x + 2p y y – (p x 2 + p y 2 ) for each point p (plane in 3D) –Project the plane intersections in 2D – gives Voronoi diagram –Thus Voronoi Diagram problem in 2D is reducible to Convex Hull problem in 3D Source: projects/vd-via-dc-of-envelopes

Nearest Neighbors and Convex Hull l Lower envelope of H has 1-to-1 correspondence with upper convex hull of P l Nearest neighbor (from set P) of a point q can be found by intersecting the vertical line through q with H – the plane that intersects will correspond to the nearest neighbor l Hence nearest neighbor search in 2D is reducible to convex hull in 3D

The Open Problem l Is there a data structure maintaining a set of n points in the plane subject to insertions, deletions and nearest- neighbor queries in O(log n) time? l Reduces to maintaining the convex hull of a set of n points in 3D subject to insertions, deletions and extreme- point queries s q s q

Approaches – Bentley and Saxe l Bentley and Saxe ’80 – Decomposable Searching Problems: Static-to-Dynamic Transformation –Nearest neighbors as a decomposable search problem l Result: O(log 2 n) amortized bound for updates and queries when insertion is allowed, but not deletion l Considered general transformations for converting static structures to dynamic structures (i.e. those supporting insertions, deletions) l General approach to decomposable search problems: dynamic structure that maintains a set of static structures, such that the cardinality of each is a power of 2 –Concept is borrowed in subsequent approaches

Approaches – Bentley and Saxe l Introduced a dynamic data structure (“DNN”), which used a static structure from Lipton and Tarjan (“LT”) l Allowing insertion is relatively easy using their methods, but efficient deletion is impossible in the general case l When a new point is inserted, existing static structures may periodically be deleted and replaced by new ones –E.g. when there are 7 elements represented by 3 structures (red) and an 8 th one is inserted, structures are replaced by a single larger structure (blue) –this amortizes the cost of insertions to O(log 2 n) (perhaps since O(log i) structures are affected once every O(log i) inserts) History of LT structures for repeated insertions Source: Bentley&Saxe ’80

Approaches – Agarwal & Matousek l Agarwal and Matousek ’95 – Dynamic Half-Space Range Reporting and Its Applications l Two structures –Updates in O(log 2 n) time, queries in O(n Ɛ ) time –Updates in O(n Ɛ ) amortized time, queries in O(log n) w.c. time l Adapted efficient static range query structures to support insertions and deletions –Clarkson ’88 –Matousek ’92

Approaches - Agarwal & Matousek l Structure for logarithmic-time updates –Use a partition tree such that at every level of the tree, each point is in exactly one node –Deletion of a point occurs by removing the point from each node that contains it, starting from root –Amortize cost of delete to O(log 2 n) by periodically reconstructing the entire data structure after some deletions –For insertion, use dynamization techniques from Bentley and Saxe

Approaches - Agarwal & Matousek l Structure for logarithmic-time queries –Intersection of simplices with hyperplanes –Use deterministic counterpart of Clarkson’s randomized tree-like structure –Query by recursively searching for simplex that contains the query point –Prevent bad performance by partitioning hyperplanes into subsets of “good” hyperplanes (i.e. those that reduce the number of intersections with simplices) –Periodically reconstruct structure after some deletions of hyperplanes

Approaches – Timothy Chan l Chan 2006 – A Dynamic Data Structure for 3D Convex Hulls and 2D Nearest Neighbor Queries l Results –Insertions in O(log 3 n) expected amortized time –Deletions in O(log 6 n) expected amortized time –Queries in O(log 2 n) worst case time l First method to guarantee poly-logarithmic updates and queries for arbitrary sequences of insertions and deletions

Approaches – Timothy Chan l Use cuttings –(1/r)-cutting of a range γ given set of planes H – collection of disjoint open cells such that union of closure of cells contains γ and each cell intersects at most n/r planes of H –Conflict list of a cell – subset of all planes of H intersecting the cell l Construct layered data structure with logarithmically many layers l At each layer, make cutting of certain size and remove “bad” planes i.e. those that cause many conflicts l Dynamic data structure that stores many such static structures

Possible Future Directions l De-amortize Chan’s time bounds by known tricks l Improve complexity of cuttings –E.g. take multiple independent samples to lower error probability Replace n Ɛ factors of Agarwal & Matousek by poly- logarithmic factors l Find a deterministic poly-logarithmic counterpart to Chan’s randomized method

References l J.L. Bentley and J.B. Saxe. Decomposable Searching Problems: I. Static-to-Dynamic Transformation. Journal of Algorithms, 1980 l P.K. Agarwal and J. Matousek. Dynamic Half-Space- Range Reporting and Its Applications. Algorithmica 1995 l T. M. Chan. A Dynamic Data Structure for 3D Convex Hulls and 2D Nearest Neighbor Queries. Proceedings of the 17th ACM-SIAM Symposium on Discrete Algorithms, 2006