Tight Bounds for Dynamic Convex Hull Queries (Again) Erik DemaineMihai Pătraşcu.

Slides:



Advertisements
Similar presentations
Introduction to Algorithms
Advertisements

Klees Measure Problem Made Easy Timothy Chan U of Waterloo & HKUST.
Planning for Fast Connectivity Updates Mihai Pă traşcu Mikkel Thorup …until June 2008 Jobs, anyone?
EECS 4101/5101 Prof. Andy Mirzaian. Lists Move-to-Front Search Trees Binary Search Trees Multi-Way Search Trees B-trees Splay Trees Trees Red-Black.
Advanced Topics in Algorithms and Data Structures Lecture 7.2, page 1 Merging two upper hulls Suppose, UH ( S 2 ) has s points given in an array according.
Dynamic Planar Convex Hull Operations in Near- Logarithmic Amortized Time TIMOTHY M. CHAN.
Voronoi Diagrams in n· 2 O(√lglg n ) Time Timothy M. ChanMihai Pătraşcu STOC’07.
Advanced Algorithms Piyush Kumar (Lecture 12: Parallel Algorithms) Welcome to COT5405 Courtesy Baker 05.
9/12/06CS 6463: AT Computational Geometry1 CS 6463: AT Computational Geometry Fall 2006 Triangulations and Guarding Art Galleries II Carola Wenk.
(Data) STRUCTURES Mihai P ă trașcu. LSD dyn. marked ancestor reachability oracles in the butterfly partial match(1+ε)-ANN ℓ 1, ℓ 2 NN in ℓ 1, ℓ 2 3-ANN.
The Divide-and-Conquer Strategy
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,
8/29/06CS 6463: AT Computational Geometry1 CS 6463: AT Computational Geometry Spring 2006 Convex Hulls Carola Wenk.
Robert Pless, CS 546: Computational Geometry Lecture #3 Last Time: Convex Hulls Today: Plane Sweep Algorithms, Segment Intersection, + (Element Uniqueness,
Computational Geometry -- Voronoi Diagram
17. Computational Geometry Chapter 7 Voronoi Diagrams.
Advanced Topics in Algorithms and Data Structures Lecture pg 1 Recursion.
1 Lecture 8: Voronoi Diagram Computational Geometry Prof. Dr. Th. Ottmann Voronoi Diagrams Definition Characteristics Size and Storage Construction Use.
Data Structures: Range Queries - Space Efficiency Pooya Davoodi Aarhus University PhD Defense July 4, 2011.
Dynamic Planar Range Maxima Queries (presented at ICALP 2011) Gerth Stølting Brodal Aarhus University Kostas Tsakalidis LIAFA, Université Paris Diderot,
Chapter 4: Divide and Conquer The Design and Analysis of Algorithms.
Computational Geometry Overview from Cormen, et al. Chapter 33
Convex Hull Algorithms for Dynamic Data Kanat Tangwongsan Joint work with Guy Blelloch and Umut Acar (TTI-C)
2 -1 Chapter 2 The Complexity of Algorithms and the Lower Bounds of Problems.
Bounding Volume Hierarchies and Spatial Partitioning Kenneth E. Hoff III COMP-236 lecture Spring 2000.
CPSC 335 BTrees Dr. Marina Gavrilova Computer Science University of Calgary Canada.
An Introduction to Computational Geometry Joseph S. B. Mitchell Stony Brook University.
Problems and MotivationsOur ResultsTechnical Contributions Membership: Maintain a set S in the universe U with |S| ≤ n. Given an x in U, answer whether.
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.
14/13/15 CMPS 3130/6130 Computational Geometry Spring 2015 Windowing Carola Wenk CMPS 3130/6130 Computational Geometry.
B-trees and kd-trees Piotr Indyk (slides partially by Lars Arge from Duke U)
Algorithms  Al-Khwarizmi, arab mathematician, 8 th century  Wrote a book: al-kitab… from which the word Algebra comes  Oldest algorithm: Euclidian algorithm.
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.
Mathematical Induction II Lecture 21 Section 4.3 Mon, Feb 27, 2006.
Lars Arge Presented by Or Ozery. I/O Model Previously defined: N = # of elements in input M = # of elements that fit into memory B = # of elements per.
Path Minima on Dynamic Weighted Trees Pooya Davoodi Aarhus University Aarhus University, November 17, 2010 Joint work with Gerth Stølting Brodal and S.
Kinetic data structures. Goal Maintain a configuration of moving objects Each object has a posted flight plan (this is essentially a well behaved function.
Open Problem: Dynamic Planar Nearest Neighbors CSCE 620 Problem 63 from the Open Problems Project
Four different data structures, each one best in a different setting. Simple Heap Balanced Heap Fibonacci Heap Incremental Heap Our results.
Bin Yao, Feifei Li, Piyush Kumar Presenter: Lian Liu.
Kinetic Heaps K, Tarjan, and Tsioutsiouliklis. Broadcast Scheduling Parametric and Kinetic Heaps Broadcast Scheduling Using a Kinetic Heap The Computational.
Convex Hull 2012/10/23. Convex vs. Concave A polygon P is convex if for every pair of points x and y in P, the line xy is also in P; otherwise, it is.
© The McGraw-Hill Companies, Inc., Chapter 1 Introduction.
Convex Sets & Concave Sets A planar region R is called convex if and only if for any pair of points p, q in R, the line segment pq lies completely in R.
Optimal Planar Orthogonal Skyline Counting Queries Gerth Stølting Brodal and Kasper Green Larsen Aarhus University 14th Scandinavian Workshop on Algorithm.
Sorting Lower Bounds n Beating Them. Recap Divide and Conquer –Know how to break a problem into smaller problems, such that –Given a solution to the smaller.
Internal Memory Pointer MachineRandom Access MachineStatic Setting Data resides in records (nodes) that can be accessed via pointers (links). The priority.
Polygon Triangulation
CS422 Principles of Database Systems Indexes
Bounding Volume Hierarchies and Spatial Partitioning
Computational Geometry
CPS216: Data-intensive Computing Systems
Limits of Data Structures
Persistent Data Structures (Version Control)
Bounding Volume Hierarchies and Spatial Partitioning
Hash-Based Indexes Chapter 11
Searching in Trees Gerth Stølting Brodal Aarhus University
Algorithm design techniques Dr. M. Gavrilova
Introduction to Algorithms
Orthogonal Range Searching and Kd-Trees
Computational Geometry Capter:1-2.1
Hash-Based Indexes Chapter 10
CMPS 3130/6130: Computational Geometry Spring 2017
Approximating Points by A Piecewise Linear Function: I
Database Design and Programming
Computational Geometry
Approximating Points by A Piecewise Linear Function: II
Chapter 1 Introduction.
New Jersey, October 9-11, 2016 Field of theoretical computer science
Presentation transcript:

Tight Bounds for Dynamic Convex Hull Queries (Again) Erik DemaineMihai Pătraşcu

linear programming tangents Dynamic Convex Hull Set S, |S|≤n points in 2d: insert point delete point update time t u query time t q

History tutu tqtq [Overmars, van Leeuwen] STOC’80 O(lg 2 n )O(lg n ) [Chan] FOCS’99 O(lg 1+  n )O(lg n ) [Brodal, Jacob] SWAT’99 O(lg n lglg n )O(lg n ) [Brodal, Jacob] FOCS’99 O(lg n ) [Demaine, Pătraşcu] SoCG’07 So what are you going to improve? π π π

O(lg n ) = Optimal? NO! radix sort, hashing, closest pair in O( n )… Sorting:O( n√ lglg n ) n·2 O( √ lglg n ) Voronoi, segment intersection etc. Searching:O ( min { lg w n, lg w}) O ( min { lg n/ lglg n, √w/ lg w}) 1d2d Pătraşcu FOCS’06 Chan FOCS’06 Chan, P. STOC’07 predecessor searchpoint location bounded precision say, w bits

Motivation: Information binary search in each step, reduce entropy by 1 bit => O(lg n ) fusion trees: a sketch of w bits allows search among √w values => each step reduces entropy by ½ lg w => O(lg w n ) different information concepts H(s 1,s 2 )= lg ℓ + lg r can sketch k segments, if all H(s i,s i+1 )≥H(s 1,s k )/k 1d 2d ℓ r O(lg n ) s1s1 s2s2

Dynamic Convex Hull linear programming => predecessor search e.g. O ( lg w) <= [Chazelle] tangents => planar point location e.g. O (√w) Static

History tutu tqtq [Overmars, van Leeuwen] STOC’80 O(lg 2 n )O(lg n ) all queries (tangents) NEW O(lg 2 n )O(lg n/ lglg n ) [Chan] FOCS’99 O(lg 1+  n )O(lg n ) [Brodal, Jacob] SWAT’99 O(lg n lglg n )O(lg n ) some queries (LP) NEW O(lg n lglg n )O(lg w n ) all queries NEW lg O(1) n Ω (lg w n ) [Brodal, Jacob] FOCS’99 O(lg n ) Updating

Review of [Overmars, van Leeuwen] split with vertical line compute 2 hulls recursively => O(lg n ) levels find bridges -- O(lg n ) cut+merge hull trees -- O(lg n ) => t u =O(lg 2 n ) examine bridges recurse left or right => t q =O(lg n )

Proof sketch split into lg n subhulls => depth O(lg n /lglg n ) query: remember: “ can sketch k segments, if all H(s i,s i+1 )≥w/k ” => superconstant time/level if some H is small information efficiency: H only decreases through recursion info efficiency => cannot be slow too many times H acts as potential, bounding running time locate among 2 lg n bridges recurse

Summary: Our Contribution “dynamic geometry with bounded precision” lots of geometry => [Overmars, van Leeuwen] is informationally efficient lower bound 1d-like structure for LP OPEN: [Chan], [Brodal-Jacob] not info efficient… OPEN: O(lg n /lglg n ) vs. Ω (lg w n ) OPEN: Improve updates. Can t u << lg n ??

T H E E N D