Approximate Nearest Neighbor Problem: Improving Query Time CS468, 10/9/2006
|
|
- Evangeline Welch
- 5 years ago
- Views:
Transcription
1 Approximate Nearest Neighbor Problem: Improving Query Time CS468, 10/9/2006
2 Outline Reducing the constant from O ( ɛ d) to O ( ɛ (d 1)/2) in uery time Need to know ɛ ahead of time Preprocessing time and storage feature O(ɛ d ), O(ɛ (d 1)/2 ) etc.
3 Outline Reducing the constant from O ( ɛ d) to O ( ɛ (d 1)/2) in uery time Need to know ɛ ahead of time Preprocessing time and storage feature O(ɛ d ), O(ɛ (d 1)/2 ) etc. Timothy M. Chan. Approximate Nearest Neighbor Queries Revisited. Discrete and Computational Geometry Decomposition of space into cones BBD-tree for range searching in R d k + point location in R k Kenneth Clarkson. An Algorithm for Approximate Closest-point Queries. SoCG Additional log(ρ/ɛ) in space complexity Polytope approximation in R d+1
4 Chen s Algorithm: Motivation (1 + ɛ)-ann among (sorted) points in a narrow cone O(log n) by binary search Need a data structure that returns a sorted points given and a cone direction
5 Chen s Algorithm: Motivation (1 + ɛ)-ann among (sorted) points in a narrow cone O(log n) by binary search Need a data structure that returns a sorted points given and a cone direction Uses the BBD-tree data structure Given a uery point R d and a radius r one can find O(log n) cells of the BBD-tree which contain B(, r) and are contained in B(, 2r). This takes O(log n) time Use for approximate range searching in R d 1
6 Conic ANN (with a Hint) Input: Query point and a 2-approximation r to the NN distance Output: A points s such that s (1 + ɛ) p where p is the NN inside a cone with apex and angle δ = ɛ/16 r δ p s Note: s need not be in the cone! Note: The cone is fixed (not a part of input, mod. translation to )
7 Main (1 + ɛ)-ann Algorithm Uses the conic-ann with a hint as a subrotine Query (given only ) Obtain r by [Arya and Mount 1998] Get one point per data structure, return the one closest to
8 Main (1 + ɛ)-ann Algorithm Uses the conic-ann with a hint as a subrotine Query (given only ) Obtain r by [Arya and Mount 1998] Get one point per data structure, return the one closest to Preprocessing floating Tile R d with O(ɛ (d 1)/2 ) cones of angle δ = Θ( ɛ) Build a conic-ann data structure for each cone
9 Main (1 + ɛ)-ann Algorithm Uses the conic-ann with a hint as a subrotine Query (given only ) Obtain r by [Arya and Mount 1998] Get one point per data structure, return the one closest to Preprocessing floating Tile R d with O(ɛ (d 1)/2 ) cones of angle δ = Θ( ɛ) Build a conic-ann data structure for each cone Correctness s p true NN (1 + ɛ)-ann (returned from that cone s data structure)
10 Main (1 + ɛ)-ann Algorithm Uses the conic-ann with a hint as a subrotine Query (given only ) Obtain r by [Arya and Mount 1998] Get one point per data structure, return the one closest to Preprocessing floating Tile R d with O(ɛ (d 1)/2 ) cones of angle δ = Θ( ɛ) Build a conic-ann data structure for each cone Correctness s p true NN (1 + ɛ)-ann (returned from that cone s data structure) Query time O(ɛ (d 1)/2 log n) [# of cones] [conic uery]
11 Conic-ANN Data Structure For preprocessing given only direction of the cone (wlog: d-axis) and angle δ d-axis r δ
12 Conic-ANN Data Structure For preprocessing given only direction of the cone (wlog: d-axis) and angle δ Query Algorithm (given and r) Approximate range uery on the set of projections {p = [p 1 p 2 p d 1 ] T, p P } with B(, δr) returns O(log n) BBD-nodes (cells) in O(log n) time O(log n) binary searches Return the point s such that s d d is min d-axis r δ s δr 2δr
13 Conic-ANN Data Structure For preprocessing given only direction of the cone (wlog: d-axis) and angle δ Query Algorithm (given and r) Approximate range uery on the set of projections {p = [p 1 p 2 p d 1 ] T, p P } with B(, δr) returns O(log n) BBD-nodes (cells) in O(log n) time O(log n) binary searches Return the point s such that s d d is min d-axis Correctness (proof for s (1 + ɛ) p ) s d d p d d p s 2δr 4δ p s δ 2 p = (1 + ɛ) p r δ p s δr 2δr
14 Conic-ANN Data Structure For preprocessing given only direction of the cone (wlog: d-axis) and angle δ Query Algorithm (given and r) Approximate range uery on the set of projections {p = [p 1 p 2 p d 1 ] T, p P } with B(, δr) returns O(log n) BBD-nodes (cells) in O(log n) time O(log n) binary searches Return the point s such that s d d is min Correctness (proof for s (1 + ɛ) p ) d-axis s d d p d d p s 2δr 4δ p s δ 2 p = (1 + ɛ) p Data structure BBD-tree on the projection set For every tree node v the associated list of points is sorted in the d coordinate r δ δr p s 2δr
15 Conic-ANN Analysis Construction (preprocessing) BBD-tree O(n log n) +sorting O(n log n) = O(n log n) Query Approximate range uery O(log n) + bin. searches O(log 2 n) = O(log 2 n) Improving uery time by exploiting correlation [Lueker and Willard] v O(log n) O(1) O(1) O(log n) nodes O(1) O(1) left(v) right(v) O(1) O(1) O(1) O(1) O(1) O(1) O(1) O(1)
16 Summary and Remarks Variant with projecting to d 2 dimensions BBD tree + planar point location Rough ( d 3/2 ) approximation algorithms Polynomial dependence on d
17 Clarkson s Algorithm: Iterative Improvement Exact nearest neighbor problem Data structure For each site s, a (small) list L s of other sites such that for any uery point if s is not the nearest neighbor of, then L s contains a site closer to s
18 Clarkson s Algorithm: Iterative Improvement Exact nearest neighbor problem Data structure For each site s, a (small) list L s of other sites such that for any uery point if s is not the nearest neighbor of, then L s contains a site closer to Algorithm s arbitrary site while t L s : t < s do s t return s s
19 Clarkson s Algorithm: Iterative Improvement Exact nearest neighbor problem Data structure For each site s, a (small) list L s of other sites such that for any uery point if s is not the nearest neighbor of, then L s contains a site closer to Algorithm s arbitrary site while t L s : t < s do s t return s s Note The same L s valid for all!
20 Not Useful for Exact NN Reason 1: space complexity Ω(n 2 ) For all s, L s has to include all Delaunay neighbors of s For d > 2, Delaunay triangulation may have Ω(n 2 ) edges
21 Not Useful for Exact NN Reason 1: space complexity Ω(n 2 ) For all s, L s has to include all Delaunay neighbors of s t For d > 2, Delaunay triangulation may have Ω(n 2 ) edges s c Proof: t Delaunay neighbor of s, but t / L s t is the only site closer to than s
22 Not Useful for Exact NN Reason 1: space complexity Ω(n 2 ) For all s, L s has to include all Delaunay neighbors of s t For d > 2, Delaunay triangulation may have Ω(n 2 ) edges s c Proof: t Delaunay neighbor of s, but t / L s t is the only site closer to than s Reason 2: uery time Ω(n) No sufficient progress guarantee, may have to visit all sites s 2 s 1 s s 4 s 5 3
23 Not Useful for Exact NN Reason 1: space complexity Ω(n 2 ) For all s, L s has to include all Delaunay neighbors of s t For d > 2, Delaunay triangulation may have Ω(n 2 ) edges s c Proof: t Delaunay neighbor of s, but t / L s t is the only site closer to than s Conclusion No improvement over the trivial algorithm! Reason 2: uery time Ω(n) No sufficient progress guarantee, may have to visit all sites s 2 s 1 s s 4 s 5 3
24 Modification for ANN Data structure For each site s, a (small) list L s of other sites such that for any uery point if s is not a (1 + ɛ)-ann of, then L s contains a site (1 + ɛ/2)-closer to s t b s s 1+ɛ/2 s 1+ɛ
25 Modification for ANN Data structure For each site s, a (small) list L s of other sites such that for any uery point if s is not a (1 + ɛ)-ann of, then L s contains a site (1 + ɛ/2)-closer to s t b s s 1+ɛ/2 s 1+ɛ Algorithm (simple version) s arbitrary site while t L s : t s 1+ɛ/2 return s do s t
26 Query Algorithm Skip list approach [Arya and Mount 1993] R 0 = S
27 Query Algorithm Skip list approach [Arya and Mount 1993] R 1 R 0 = S
28 Query Algorithm Skip list approach [Arya and Mount 1993] R 2 R 1 R 0 = S
29 Query Algorithm Skip list approach [Arya and Mount 1993] R 3 R 2 R 1 R 0 = S
30 Query Algorithm Skip list approach [Arya and Mount 1993] R K R 3 R 2 R 1 R 0 = S
31 Query Algorithm Skip list approach [Arya and Mount 1993] R K R 3 R 2 R 1 R 0 = S Algorithm start with any t K 1 R K 1 for j = K 2, K 3,..., 0 [using naive algorithm] return t 0 find t j =(1 + ɛ)-ann of in R j starting from t j+1
32 Compare with a regular path Query Time Analysis Suppose that any node s list size is at most c Observation: Query time = c number of visited nodes Visit nodes in the order of proximity to, then go to the lower level
33 Compare with a regular path Query Time Analysis Suppose that any node s list size is at most c Observation: Query time = c number of visited nodes Visit nodes in the order of proximity to, then go to the lower level Claim: Our path visits at most 2K nodes more R j+1 t t j+1 t R j t t j+1 (1 + ɛ/2) ɛ t t
34 Compare with a regular path Query Time Analysis Suppose that any node s list size is at most c Observation: Query time = c number of visited nodes Visit nodes in the order of proximity to, then go to the lower level Claim: Our path visits at most 2K nodes more R j+1 t t j+1 t R j t t j+1 (1 + ɛ/2) ɛ t t Pr[regular path length C log n] O(n C ) [distribution of points across levels] [starting search point]
35 What about any? Query Time Analysis Skip list n possible search targets Probability of failure n O(n C ) = O(n (C 1) )
36 What about any? Query Time Analysis Skip list n possible search targets Probability of failure n O(n C ) = O(n (C 1) ) Only n O(d) combinatorially distinct regular paths If 1 and 2 incude the same distance ordering on the input sites, their regular paths are the same Arrangement of ( n 2) bisecting hyperplanes has (( n ) 2) (n 2 ) d = n 2d d d-dimensional cells
37 What about any? Query Time Analysis Skip list n possible search targets Probability of failure n O(n C ) = O(n (C 1) ) Only n O(d) combinatorially distinct regular paths If 1 and 2 incude the same distance ordering on the input sites, their regular paths are the same Arrangement of ( n 2) bisecting hyperplanes has (( n ) 2) (n 2 ) d = n 2d d d-dimensional cells Setting C = 2d + C Pr[regular path length O(d) log n] = O(n C )
38 Weighted Voronoi Diagrams Goal For each site s, compute L s such that R d b S : b s t L 1+ɛ s : t s 1+ɛ/2 [s is an (1 + ɛ)-ann of ] [no improvement in L s ]
39 Weighted Voronoi Diagrams Goal For each site s, compute L s such that R d b S : b s t L 1+ɛ s : t s 1+ɛ/2 [s is an (1 + ɛ)-ann of ] [no improvement in L s ] b [s, b, ɛ fixed] s t [s, t, ɛ fixed] s Q(b, ɛ) Q(t, ɛ/2) 1 s b ɛ(2+ɛ) 1 s t ɛ(2+ɛ/2) 2(1+ɛ) s b ɛ(2+ɛ) 2(1+ɛ/2) s t (ɛ/2)(2+ɛ/2)
40 Weighted Voronoi Diagrams Goal For each site s, compute L s such that R d b S : b s t L 1+ɛ s : t s 1+ɛ/2 [s is an (1 + ɛ)-ann of ] [no improvement in L s ] b S : Q(b, ɛ) t L s : Q(t, ɛ/2) b [s, b, ɛ fixed] s t [s, t, ɛ fixed] s Q(b, ɛ) Q(t, ɛ/2) 1 s b ɛ(2+ɛ) 1 s t ɛ(2+ɛ/2) 2(1+ɛ) s b ɛ(2+ɛ) 2(1+ɛ/2) s t (ɛ/2)(2+ɛ/2)
41 Weighted Voronoi Diagrams Goal For each site s, compute L s such that R d b S : b s t L 1+ɛ s : t s 1+ɛ/2 [s is an (1 + ɛ)-ann of ] [no improvement in L s ] b S : Q(b, ɛ) t L s : Q(t, ɛ/2) T T Q(b, ɛ) Q(t, ɛ/2) t L s b S b [s, b, ɛ fixed] s t [s, t, ɛ fixed] s Q(b, ɛ) Q(t, ɛ/2) 1 s b ɛ(2+ɛ) 1 s t ɛ(2+ɛ/2) 2(1+ɛ) s b ɛ(2+ɛ) 2(1+ɛ/2) s t (ɛ/2)(2+ɛ/2)
42 Linearization ( Lifting ) A point inside/outside a sphere in R d? A point above/below a hyperplane in R d+1? Example for d=1 y = 2 D D
43 Linearization ( Lifting ) A point inside/outside a sphere in R d? A point above/below a hyperplane in R d+1? Example for d=1 y = 2 D b s Q(b, ɛ) D Q(b, ɛ) = { R d : s (1 + ɛ) b }
44 Linearization ( Lifting ) A point inside/outside a sphere in R d? A point above/below a hyperplane in R d+1? Example for d=1 y = 2 D b s Q(b, ɛ) D Q(b, ɛ) = { R d : s (1 + ɛ) b } α 2ɛ P (b, ɛ) = {(, y) : αy 2, b b 2 } {(, y) : y = 2 } H(b, ɛ), halfspace in R d+1 (note: contains the origin) Ψ, standard paraboloid in R d+1 (note: independent of b, ɛ)
45 Final Formulation Paraboloid Ψ = {(, y) : y = 2 } y 4 α 2 b b 2 s b b 2 /α
46 Final Formulation Paraboloid Ψ = {(, y) : y = 2 } Halfspaces H(b, ɛ) = {(, y) : αy 2 b, b 2 } for all b S [can compute using S and ɛ] y H(b, ɛ) s uery points for which s is a (1 + ɛ)-ann
47 Final Formulation Paraboloid Ψ = {(, y) : y = 2 } Halfspaces H(b, ɛ) = {(, y) : αy 2 b, b 2 } for all b S [can compute using S and ɛ] Halfspaces G(t, ɛ = ɛ/2) = {(, y) : α y 2 t, t 2 } for all t L s [unknown] y Goal It suffices to make sure that s
48 Preprocessing initialize the weight of all sites to 1 repeat pick a (weighted) random sample R S of size C 1 cd log c T if G(t, ɛ/2) Ψ T H(b, ɛ) t R return R b S else v = a violating vertex of T t R G(t, ɛ/2) Ψ double the weight of V = {t S \ R : v / G(t, ɛ/2)} The sample size depends on c, the optimal size of L s Next we bound c using polytope approximation
49 Size of L s Exhibit a list of size O ( ɛ (d 1)/2 log ρ ɛ ), where ρ = max s,t S s t min s,t S s t Lemma For any convex and compact set P R d contained in the unit sphere and any ɛ (0, 1), there is a polytope P P with at most O(ɛ (d 1)/2 ) facets which is in the ɛ-neighborhood of P. Note Always outer approximation ɛ P P ɛ ɛ 1 ɛ ɛ
50 Size of L s Exhibit a list of size O ( ɛ (d 1)/2 log ρ ɛ ), where ρ = max s,t S s t min s,t S s t Lemma For any convex and compact set P R d contained in the unit sphere and any ɛ (0, 1), there is a polytope P P with at most O(ɛ (d 1)/2 ) facets which is in the ɛ-neighborhood of P. ɛ P P ɛ ɛ 1 Note Always outer approximation Recall We need an inner approximation of this y ɛ ɛ H(b, ɛ), b S
51 Want an inner approximation of this Size of L s y
52 Size of L s Want an inner approximation of this using only these hyperplanes as potential facets y y stretching 2 times
53 Size of L s Want an inner approximation of this using only these hyperplanes as potential facets y y stretching 2 times Goal: Subsample (as much as possible) the hyperplanes on the right so that
54 Size of L s Dudley approximation y Straightforward application of Dudley s Theorem does not work! The value of ɛ dictated by the smallest scale ɛ (in Dudley s Theorem)
55 Size of L s Solution: height-dependent slicing, per-slice Dudley approximations y vertical slice Slices have geometrically increasing height constant gap
56 Size of L s d m > 4 α 2 max b S b 2 y d i = 3 2 d i 1 d 0 = 1 4 min b S b 2 Number of slices m = O(log(ρ/α)) Recall: ρ spread Complexity (number of facets) of approximation O(ɛ (d 1)/2 ) per slice Key fact Red and blue projections into the -hyperplane within one slice are at least a factor of 1 + ɛ apart, so the same ɛ can be used in all approximations
57 Clarkson s Algorithm: Summary Improved uery time at the expense of specifying ɛ in advance O(ɛ (d 1)/2 ) instead of O(ɛ d ) Express the condition on L s in the form of P (S, ɛ) Q(L s, ɛ/2) Preprocessing by iterative random sampling from S and checking the containment condition Query procedure using top-down search on a skip list iterative improvement algorithm within one level
Chapter 8. Voronoi Diagrams. 8.1 Post Oce Problem
Chapter 8 Voronoi Diagrams 8.1 Post Oce Problem Suppose there are n post oces p 1,... p n in a city. Someone who is located at a position q within the city would like to know which post oce is closest
More informationData Structures for Approximate Proximity and Range Searching
Data Structures for Approximate Proximity and Range Searching David M. Mount University of Maryland Joint work with: Sunil Arya (Hong Kong U. of Sci. and Tech) Charis Malamatos (Max Plank Inst.) 1 Introduction
More informationBalanced Box-Decomposition trees for Approximate nearest-neighbor. Manos Thanos (MPLA) Ioannis Emiris (Dept Informatics) Computational Geometry
Balanced Box-Decomposition trees for Approximate nearest-neighbor 11 Manos Thanos (MPLA) Ioannis Emiris (Dept Informatics) Computational Geometry Nearest Neighbor A set S of n points is given in some metric
More informationWolfgang Mulzer Institut für Informatik. Planar Delaunay Triangulations and Proximity Structures
Wolfgang Mulzer Institut für Informatik Planar Delaunay Triangulations and Proximity Structures Proximity Structures Given: a set P of n points in the plane proximity structure: a structure that encodes
More informationLecture 3 Randomized Algorithms
Lecture 3 Randomized Algorithms Jean-Daniel Boissonnat Winter School on Computational Geometry and Topology University of Nice Sophia Antipolis January 23-27, 2017 Computational Geometry and Topology Randomized
More informationLifting Transform, Voronoi, Delaunay, Convex Hulls
Lifting Transform, Voronoi, Delaunay, Convex Hulls Subhash Suri Department of Computer Science University of California Santa Barbara, CA 93106 1 Lifting Transform (A combination of Pless notes and my
More informationConvex hulls of spheres and convex hulls of convex polytopes lying on parallel hyperplanes
Convex hulls of spheres and convex hulls of convex polytopes lying on parallel hyperplanes Menelaos I. Karavelas joint work with Eleni Tzanaki University of Crete & FO.R.T.H. OrbiCG/ Workshop on Computational
More informationIn what follows, we will focus on Voronoi diagrams in Euclidean space. Later, we will generalize to other distance spaces.
Voronoi Diagrams 4 A city builds a set of post offices, and now needs to determine which houses will be served by which office. It would be wasteful for a postman to go out of their way to make a delivery
More informationVoronoi diagram and Delaunay triangulation
Voronoi diagram and Delaunay triangulation Ioannis Emiris & Vissarion Fisikopoulos Dept. of Informatics & Telecommunications, University of Athens Computational Geometry, spring 2015 Outline 1 Voronoi
More informationApproximate Nearest Line Search in High Dimensions
Approximate Nearest Line Search in High Dimensions Sepideh Mahabadi MIT mahabadi@mit.edu Abstract We consider the Approximate Nearest Line Search (NLS) problem. Given a set L of N lines in the high dimensional
More informationbe a polytope. has such a representation iff it contains the origin in its interior. For a generic, sort the inequalities so that
( Shelling (Bruggesser-Mani 1971) and Ranking Let be a polytope. has such a representation iff it contains the origin in its interior. For a generic, sort the inequalities so that. a ranking of vertices
More informationc 2018 Society for Industrial and Applied Mathematics
SIAM J. COMPUT. Vol. 47, No. 1, pp. 1 51 c 2018 Society for Industrial and Applied Mathematics APPROXIMATE POLYTOPE MEMBERSHIP QUERIES SUNIL ARYA, GUILHERME D. DA FONSECA, AND DAVID M. MOUNT Abstract.
More informationAn Optimal Algorithm for the Euclidean Bottleneck Full Steiner Tree Problem
An Optimal Algorithm for the Euclidean Bottleneck Full Steiner Tree Problem Ahmad Biniaz Anil Maheshwari Michiel Smid September 30, 2013 Abstract Let P and S be two disjoint sets of n and m points in the
More informationLinear Programming in Small Dimensions
Linear Programming in Small Dimensions Lekcija 7 sergio.cabello@fmf.uni-lj.si FMF Univerza v Ljubljani Edited from slides by Antoine Vigneron Outline linear programming, motivation and definition one dimensional
More informationCS 473: Algorithms. Ruta Mehta. Spring University of Illinois, Urbana-Champaign. Ruta (UIUC) CS473 1 Spring / 29
CS 473: Algorithms Ruta Mehta University of Illinois, Urbana-Champaign Spring 2018 Ruta (UIUC) CS473 1 Spring 2018 1 / 29 CS 473: Algorithms, Spring 2018 Simplex and LP Duality Lecture 19 March 29, 2018
More informationCS675: Convex and Combinatorial Optimization Spring 2018 Consequences of the Ellipsoid Algorithm. Instructor: Shaddin Dughmi
CS675: Convex and Combinatorial Optimization Spring 2018 Consequences of the Ellipsoid Algorithm Instructor: Shaddin Dughmi Outline 1 Recapping the Ellipsoid Method 2 Complexity of Convex Optimization
More informationCS 372: Computational Geometry Lecture 10 Linear Programming in Fixed Dimension
CS 372: Computational Geometry Lecture 10 Linear Programming in Fixed Dimension Antoine Vigneron King Abdullah University of Science and Technology November 7, 2012 Antoine Vigneron (KAUST) CS 372 Lecture
More informationLecture 2 - Introduction to Polytopes
Lecture 2 - Introduction to Polytopes Optimization and Approximation - ENS M1 Nicolas Bousquet 1 Reminder of Linear Algebra definitions Let x 1,..., x m be points in R n and λ 1,..., λ m be real numbers.
More informationThe Touring Polygons Problem (TPP)
The Touring Polygons Problem (TPP) [Dror-Efrat-Lubiw-M]: Given a sequence of k polygons in the plane, a start point s, and a target point, t, we seek a shortest path that starts at s, visits in order each
More informationFigure 2.1: An example of a convex set and a nonconvex one.
Convex Hulls 2.1 Definitions 2 Convexity is the key to understanding and simplifying geometry, and the convex hull plays a role in geometry akin to the sorted order for a collection of numbers. So what
More informationWeek 5. Convex Optimization
Week 5. Convex Optimization Lecturer: Prof. Santosh Vempala Scribe: Xin Wang, Zihao Li Feb. 9 and, 206 Week 5. Convex Optimization. The convex optimization formulation A general optimization problem is
More informationOptimal Partition Trees
Optimal Partition Trees Timothy Chan School of CS U. Waterloo Range Searching at the core of computational geometry orthogonal range search semialgebraic range search incidence problems e.g. Hopcroft s
More informationApproximation algorithms for the bottleneck stretch factor problem
Approximation algorithms for the bottleneck stretch factor problem Giri Narasimhan Michiel Smid December 8, 2000 Abstract The stretch factor of a Euclidean graph is the maximum ratio of the distance in
More information9 Bounds for the Knapsack Problem (March 6)
9 Bounds for the Knapsack Problem (March 6) In this lecture, I ll develop both upper and lower bounds in the linear decision tree model for the following version of the (NP-complete) Knapsack 1 problem:
More informationApproximating geometric bottleneck shortest paths
Approximating geometric bottleneck shortest paths Prosenjit Bose Anil Maheshwari Giri Narasimhan Michiel Smid Norbert Zeh February 18, 2004 Abstract In a geometric bottleneck shortest path problem, we
More informationCourse 16 Geometric Data Structures for Computer Graphics. Voronoi Diagrams
Course 16 Geometric Data Structures for Computer Graphics Voronoi Diagrams Dr. Elmar Langetepe Institut für Informatik I Universität Bonn Geometric Data Structures for CG July 27 th Voronoi Diagrams San
More informationGiven a graph, find an embedding s.t. greedy routing works
Given a graph, find an embedding s.t. greedy routing works Greedy embedding of a graph 99 Greedy embedding Given a graph G, find an embedding of the vertices in R d, s.t. for each pair of nodes s, t, there
More informationComputational Geometry
Computational Geometry Range queries Convex hulls Lower bounds Planar subdivision search Line segment intersection Convex polygons Voronoi diagrams Minimum spanning trees Nearest neighbors Triangulations
More informationComputational Geometry: Lecture 5
Computational Geometry: Lecture 5 Don Sheehy January 29, 2010 1 Degeneracy In many of the algorithms that we have discussed so far, we have run into problems when that input is somehow troublesome. For
More informationTiling Three-Dimensional Space with Simplices. Shankar Krishnan AT&T Labs - Research
Tiling Three-Dimensional Space with Simplices Shankar Krishnan AT&T Labs - Research What is a Tiling? Partition of an infinite space into pieces having a finite number of distinct shapes usually Euclidean
More informationLecture 11 Combinatorial Planning: In the Plane
CS 460/560 Introduction to Computational Robotics Fall 2017, Rutgers University Lecture 11 Combinatorial Planning: In the Plane Instructor: Jingjin Yu Outline Convex shapes, revisited Combinatorial planning
More informationIce-Creams and Wedge Graphs
Ice-Creams and Wedge Graphs Eyal Ackerman Tsachik Gelander Rom Pinchasi Abstract What is the minimum angle α > such that given any set of α-directional antennas (that is, antennas each of which can communicate
More informationApproximate Polytope Membership Queries
Approximate Polytope Membership Queries Sunil Arya Department of Computer Science and Engineering The Hong Kong University of Science and Technology Clear Water Bay, Kowloon, Hong Kong arya@cseusthk David
More information/ Approximation Algorithms Lecturer: Michael Dinitz Topic: Linear Programming Date: 2/24/15 Scribe: Runze Tang
600.469 / 600.669 Approximation Algorithms Lecturer: Michael Dinitz Topic: Linear Programming Date: 2/24/15 Scribe: Runze Tang 9.1 Linear Programming Suppose we are trying to approximate a minimization
More informationFinding a minimum-sum dipolar spanning tree in R 3
Finding a minimum-sum dipolar spanning tree in R 3 Steven Bitner and Ovidiu Daescu Department of Computer Science University of Texas at Dallas Richardson, TX 75080, USA Abstract In this paper we consider
More informationLecture 4: Geometric Algorithms (Convex Hull, Voronoi diagrams)
Advanced Algorithms Fall 2015 Lecture 4: Geometric Algorithms (Convex Hull, Voronoi diagrams) Faculty: K.R. Chowdhary : Professor of CS Disclaimer: These notes have not been subjected to the usual scrutiny
More informationCS133 Computational Geometry
CS133 Computational Geometry Voronoi Diagram Delaunay Triangulation 5/17/2018 1 Nearest Neighbor Problem Given a set of points P and a query point q, find the closest point p P to q p, r P, dist p, q dist(r,
More informationAdvanced Algorithms Computational Geometry Prof. Karen Daniels. Fall, 2012
UMass Lowell Computer Science 91.504 Advanced Algorithms Computational Geometry Prof. Karen Daniels Fall, 2012 Voronoi Diagrams & Delaunay Triangulations O Rourke: Chapter 5 de Berg et al.: Chapters 7,
More informationInsertions and Deletions in Delaunay Triangulations using Guided Point Location. Kevin Buchin TU Eindhoven
Insertions and Deletions in Delaunay Triangulations using Guided Point Location Kevin Buchin TU Eindhoven Heraklion, 21.1.2013 Guide - Example Construct Delaunay triangulation of convex polygon in linear
More informationG 6i try. On the Number of Minimal 1-Steiner Trees* Discrete Comput Geom 12:29-34 (1994)
Discrete Comput Geom 12:29-34 (1994) G 6i try 9 1994 Springer-Verlag New York Inc. On the Number of Minimal 1-Steiner Trees* B. Aronov, 1 M. Bern, 2 and D. Eppstein 3 Computer Science Department, Polytechnic
More information1 Proximity via Graph Spanners
CS273: Algorithms for Structure Handout # 11 and Motion in Biology Stanford University Tuesday, 4 May 2003 Lecture #11: 4 May 2004 Topics: Proximity via Graph Spanners Geometric Models of Molecules, I
More informationCombinatorial Geometry & Topology arising in Game Theory and Optimization
Combinatorial Geometry & Topology arising in Game Theory and Optimization Jesús A. De Loera University of California, Davis LAST EPISODE... We discuss the content of the course... Convex Sets A set is
More information6.854J / J Advanced Algorithms Fall 2008
MIT OpenCourseWare http://ocw.mit.edu 6.854J / 18.415J Advanced Algorithms Fall 2008 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms. 18.415/6.854 Advanced
More informationKD-Tree Algorithm for Propensity Score Matching PhD Qualifying Exam Defense
KD-Tree Algorithm for Propensity Score Matching PhD Qualifying Exam Defense John R Hott University of Virginia May 11, 2012 1 / 62 Motivation Epidemiology: Clinical Trials Phase II and III pre-market trials
More informationVoronoi Diagrams and Delaunay Triangulations. O Rourke, Chapter 5
Voronoi Diagrams and Delaunay Triangulations O Rourke, Chapter 5 Outline Preliminaries Properties and Applications Computing the Delaunay Triangulation Preliminaries Given a function f: R 2 R, the tangent
More informationFly Cheaply: On the Minimum Fuel Consumption Problem
Fly Cheaply: On the Minimum Fuel Consumption Problem Timothy M. Chan Alon Efrat Sariel Har-Peled September 30, 1999 Abstract In planning a flight, stops at intermediate airports are sometimes necessary
More informationAn Introduction to Computational Geometry: Arrangements and Duality
An Introduction to Computational Geometry: Arrangements and Duality Joseph S. B. Mitchell Stony Brook University Some images from [O Rourke, Computational Geometry in C, 2 nd Edition, Chapter 6] Arrangement
More informationSublinear Geometric Algorithms
Sublinear Geometric Algorithms B. Chazelle, D. Liu, A. Magen Princeton University / University of Toronto STOC 2003 CS 468 Geometric Algorithms Seminar Winter 2005/2006 Overview What is this paper about?
More informationTopology Control in 3-Dimensional Networks & Algorithms for Multi-Channel Aggregated Co
Topology Control in 3-Dimensional Networks & Algorithms for Multi-Channel Aggregated Convergecast Amitabha Ghosh Yi Wang Ozlem D. Incel V.S. Anil Kumar Bhaskar Krishnamachari Dept. of Electrical Engineering,
More informationApproximate Nearest Line Search in High Dimensions. Sepideh Mahabadi
Approximate Nearest Line Search in High Dimensions Sepideh Mahabadi The NLS Problem Given: a set of N lines L in R d The NLS Problem Given: a set of N lines L in R d Goal: build a data structure s.t. given
More informationLower Bounds for Geometric Diameter Problems
Lower Bounds for Geometric Diameter Problems p. 1/48 Lower Bounds for Geometric Diameter Problems Hervé Fournier University of Versailles St-Quentin en Yvelines Antoine Vigneron INRA Jouy-en-Josas Lower
More information26 The closest pair problem
The closest pair problem 1 26 The closest pair problem Sweep algorithms solve many kinds of proximity problems efficiently. We present a simple sweep that solves the two-dimensional closest pair problem
More informationLecture 5: Duality Theory
Lecture 5: Duality Theory Rajat Mittal IIT Kanpur The objective of this lecture note will be to learn duality theory of linear programming. We are planning to answer following questions. What are hyperplane
More informationComputational Geometry
Lecture 12: Lecture 12: Motivation: Terrains by interpolation To build a model of the terrain surface, we can start with a number of sample points where we know the height. Lecture 12: Motivation: Terrains
More informationDynamic Euclidean Minimum Spanning Trees and Extrema of Binary Functions
Dynamic Euclidean Minimum Spanning Trees and Extrema of Binary Functions David Eppstein Department of Information and Computer Science University of California, Irvine, CA 92717 Abstract We maintain the
More informationMonotone Paths in Geometric Triangulations
Monotone Paths in Geometric Triangulations Adrian Dumitrescu Ritankar Mandal Csaba D. Tóth November 19, 2017 Abstract (I) We prove that the (maximum) number of monotone paths in a geometric triangulation
More informationMidpoint Routing algorithms for Delaunay Triangulations
Midpoint Routing algorithms for Delaunay Triangulations Weisheng Si and Albert Y. Zomaya Centre for Distributed and High Performance Computing School of Information Technologies Prologue The practical
More informationComputational Geometry
CS 5633 -- Spring 2004 Computational Geometry Carola Wenk Slides courtesy of Charles Leiserson with small changes by Carola Wenk CS 5633 Analysis of Algorithms 1 Computational geometry Algorithms for solving
More informationThe Farthest Point Delaunay Triangulation Minimizes Angles
The Farthest Point Delaunay Triangulation Minimizes Angles David Eppstein Department of Information and Computer Science UC Irvine, CA 92717 November 20, 1990 Abstract We show that the planar dual to the
More informationPolytope Approximation and the Mahler Volume
Polytope Approximation and the Mahler Volume Sunil Arya Department of Computer Science and Engineering The Hong Kong University of Science and Technology Clear Water Bay, Kowloon, Hong Kong arya@cse.ust.hk
More informationGeometric Algorithms. 1. Objects
Geometric Algorithms 1. Definitions 2. Line-Segment properties 3. Inner Points of polygons 4. Simple polygons 5. Convex hulls 6. Closest pair of points 7. Diameter of a point set 1. Objects 2-dimensional
More informationBasic Measures for Imprecise Point Sets in R d
Basic Measures for Imprecise Point Sets in R d Heinrich Kruger Masters Thesis Game and Media Technology Department of Information and Computing Sciences Utrecht University September 2008 INF/SCR-08-07
More informationAdvanced Algorithms Computational Geometry Prof. Karen Daniels. Fall, 2012
UMass Lowell Computer Science 91.504 Advanced Algorithms Computational Geometry Prof. Karen Daniels Fall, 2012 O Rourke Chapter 7 Search & Intersection Chapter 7 Search & Intersection Segment-Segment Intersection
More informationVoronoi Diagrams and Delaunay Triangulation slides by Andy Mirzaian (a subset of the original slides are used here)
Voronoi Diagrams and Delaunay Triangulation slides by Andy Mirzaian (a subset of the original slides are used here) Voronoi Diagram & Delaunay Triangualtion Algorithms Divide-&-Conquer Plane Sweep Lifting
More informationData Mining Classification: Alternative Techniques. Lecture Notes for Chapter 4. Instance-Based Learning. Introduction to Data Mining, 2 nd Edition
Data Mining Classification: Alternative Techniques Lecture Notes for Chapter 4 Instance-Based Learning Introduction to Data Mining, 2 nd Edition by Tan, Steinbach, Karpatne, Kumar Instance Based Classifiers
More informationLecture 12 March 4th
Math 239: Discrete Mathematics for the Life Sciences Spring 2008 Lecture 12 March 4th Lecturer: Lior Pachter Scribe/ Editor: Wenjing Zheng/ Shaowei Lin 12.1 Alignment Polytopes Recall that the alignment
More informationCS 532: 3D Computer Vision 14 th Set of Notes
1 CS 532: 3D Computer Vision 14 th Set of Notes Instructor: Philippos Mordohai Webpage: www.cs.stevens.edu/~mordohai E-mail: Philippos.Mordohai@stevens.edu Office: Lieb 215 Lecture Outline Triangulating
More information6. Concluding Remarks
[8] K. J. Supowit, The relative neighborhood graph with an application to minimum spanning trees, Tech. Rept., Department of Computer Science, University of Illinois, Urbana-Champaign, August 1980, also
More informationSpace-Efficient Approximate Voronoi Diagrams
Appeared in STOC 2002, pp 721-730 Space-Efficient Approximate Voronoi Diagrams Sunil Arya Department of Computer Science The Hong Kong University of Science and Technology Clear Water Bay, Kowloon, Hong
More informationarxiv: v1 [cs.cg] 8 Jan 2018
Voronoi Diagrams for a Moderate-Sized Point-Set in a Simple Polygon Eunjin Oh Hee-Kap Ahn arxiv:1801.02292v1 [cs.cg] 8 Jan 2018 Abstract Given a set of sites in a simple polygon, a geodesic Voronoi diagram
More informationCOMPUTATIONAL GEOMETRY
Thursday, September 20, 2007 (Ming C. Lin) Review on Computational Geometry & Collision Detection for Convex Polytopes COMPUTATIONAL GEOMETRY (Refer to O'Rourke's and Dutch textbook ) 1. Extreme Points
More informationChromatic Nearest Neighbor Searching: A Query Sensitive Approach
Chromatic Nearest Neighbor Searching: A Query Sensitive Approach David M. Mount Nathan S. Netanyahu Ruth Silverman Angela Y. Wu Last modified: October 21, 1996. (Minor updates made: August 24, 2000.) Final
More informationOptimal Compression of a Polyline with Segments and Arcs
Optimal Compression of a Polyline with Segments and Arcs Alexander Gribov Esri 380 New York Street Redlands, CA 92373 Email: agribov@esri.com arxiv:1604.07476v5 [cs.cg] 10 Apr 2017 Abstract This paper
More informationCMSC 754 Computational Geometry 1
CMSC 754 Computational Geometry 1 David M. Mount Department of Computer Science University of Maryland Fall 2005 1 Copyright, David M. Mount, 2005, Dept. of Computer Science, University of Maryland, College
More information2 Delaunay Triangulations
and the closed half-space H(b, a) containingb and with boundary the bisector hyperplane is the locus of all points such that (b 1 a 1 )x 1 + +(b m a m )x m (b 2 1 + + b 2 m)/2 (a 2 1 + + a 2 m)/2. The
More informationEdge unfolding Cut sets Source foldouts Proof and algorithm Complexity issues Aleksandrov unfolding? Unfolding polyhedra.
Unfolding polyhedra Ezra Miller University of Minnesota ezra@math.umn.edu University of Nebraska 27 April 2007 Outline 1. Edge unfolding 2. Cut sets 3. Source foldouts 4. Proof and algorithm 5. Complexity
More informationConvex Geometry arising in Optimization
Convex Geometry arising in Optimization Jesús A. De Loera University of California, Davis Berlin Mathematical School Summer 2015 WHAT IS THIS COURSE ABOUT? Combinatorial Convexity and Optimization PLAN
More informationComputational Geometry
Computational Geometry Search in High dimension and kd-trees Ioannis Emiris Dept Informatics & Telecoms, National Kapodistrian U. Athens ATHENA Research & Innovation Center, Greece Spring 2018 I.Emiris
More informationExact adaptive parallel algorithms for data depth problems. Vera Rosta Department of Mathematics and Statistics McGill University, Montreal
Exact adaptive parallel algorithms for data depth problems Vera Rosta Department of Mathematics and Statistics McGill University, Montreal joint work with Komei Fukuda School of Computer Science McGill
More informationNumerical Optimization
Convex Sets Computer Science and Automation Indian Institute of Science Bangalore 560 012, India. NPTEL Course on Let x 1, x 2 R n, x 1 x 2. Line and line segment Line passing through x 1 and x 2 : {y
More informationChapter 1 Divide and Conquer Algorithm Theory WS 2015/16 Fabian Kuhn
Chapter 1 Divide and Conquer Algorithm Theory WS 2015/16 Fabian Kuhn Divide And Conquer Principle Important algorithm design method Examples from Informatik 2: Sorting: Mergesort, Quicksort Binary search
More informationWeek 8 Voronoi Diagrams
1 Week 8 Voronoi Diagrams 2 Voronoi Diagram Very important problem in Comp. Geo. Discussed back in 1850 by Dirichlet Published in a paper by Voronoi in 1908 3 Voronoi Diagram Fire observation towers: an
More informationPlanar Point Location in Sublogarithmic Time
Planar Point Location in Sublogarithmic Time Mihai Pătraşcu (MIT) Point Location in o(log n) Time, Voronoi Diagrams in o(n log n) Time, and Other Transdichotomous Results in Computational Geometry Timothy
More informationCSC Linear Programming and Combinatorial Optimization Lecture 12: Semidefinite Programming(SDP) Relaxation
CSC411 - Linear Programming and Combinatorial Optimization Lecture 1: Semidefinite Programming(SDP) Relaxation Notes taken by Xinwei Gui May 1, 007 Summary: This lecture introduces the semidefinite programming(sdp)
More informationNotes in Computational Geometry Voronoi Diagrams
Notes in Computational Geometry Voronoi Diagrams Prof. Sandeep Sen and Prof. Amit Kumar Indian Institute of Technology, Delhi Voronoi Diagrams In this lecture, we study Voronoi Diagrams, also known as
More informationStreaming algorithms for embedding and computing edit distance
Streaming algorithms for embedding and computing edit distance in the low distance regime Diptarka Chakraborty joint work with Elazar Goldenberg and Michal Koucký 7 November, 2015 Outline 1 Introduction
More informationVoronoi Diagrams, Delaunay Triangulations and Polytopes
Voronoi Diagrams, Delaunay Triangulations and Polytopes Jean-Daniel Boissonnat MPRI, Lecture 2 Computational Geometry Learning Voronoi, Delaunay & Polytopes MPRI, Lecture 2 1 / 43 Voronoi diagrams in nature
More informationKinetic Mesh Refinement in 2D
Kinetic Mesh Refinement in D Umut A. Acar Max Planck Institute for Software Systems Germany umut@mpi-sws.org Benoît Hudson Autodesk, Inc. Montréal, QC, Canada benoit.hudson@autodesk.com Duru Türkoğlu Dept.
More informationI/O-Algorithms Lars Arge Aarhus University
I/O-Algorithms Aarhus University April 10, 2008 I/O-Model Block I/O D Parameters N = # elements in problem instance B = # elements that fits in disk block M = # elements that fits in main memory M T =
More informationAll-Pairs Nearly 2-Approximate Shortest-Paths in O(n 2 polylog n) Time
All-Pairs Nearly 2-Approximate Shortest-Paths in O(n 2 polylog n) Time Surender Baswana 1, Vishrut Goyal 2, and Sandeep Sen 3 1 Max-Planck-Institut für Informatik, Saarbrücken, Germany. sbaswana@mpi-sb.mpg.de
More informationComputational Geometry Lecture Duality of Points and Lines
Computational Geometry Lecture Duality of Points and Lines INSTITUTE FOR THEORETICAL INFORMATICS FACULTY OF INFORMATICS 11.1.2016 Duality Transforms We have seen duality for planar graphs and duality of
More informationCombinatorial Geometry & Approximation Algorithms
Combinatorial Geometry & Approximation Algorithms Timothy Chan U. of Waterloo PROLOGUE Analysis of Approx Factor in Analysis of Runtime in Computational Geometry Combinatorial Geometry Problem 1: Geometric
More informationDelaunay Triangulations
Delaunay Triangulations (slides mostly by Glenn Eguchi) Motivation: Terrains Set of data points A R 2 Height ƒ(p) defined at each point p in A How can we most naturally approximate height of points not
More informationRigidity of ball-polyhedra via truncated Voronoi and Delaunay complexes
!000111! NNNiiinnnttthhh IIInnnttteeerrrnnnaaatttiiiooonnnaaalll SSSyyymmmpppooosssiiiuuummm ooonnn VVVooorrrooonnnoooiii DDDiiiaaagggrrraaammmsss iiinnn SSSccciiieeennnccceee aaannnddd EEEnnngggiiinnneeeeeerrriiinnnggg
More informationCLASSIFICATION OF SURFACES
CLASSIFICATION OF SURFACES JUSTIN HUANG Abstract. We will classify compact, connected surfaces into three classes: the sphere, the connected sum of tori, and the connected sum of projective planes. Contents
More informationTopic: Local Search: Max-Cut, Facility Location Date: 2/13/2007
CS880: Approximations Algorithms Scribe: Chi Man Liu Lecturer: Shuchi Chawla Topic: Local Search: Max-Cut, Facility Location Date: 2/3/2007 In previous lectures we saw how dynamic programming could be
More informationDirect Routing: Algorithms and Complexity
Direct Routing: Algorithms and Complexity Costas Busch, RPI Malik Magdon-Ismail, RPI Marios Mavronicolas, Univ. Cyprus Paul Spirakis, Univ. Patras 1 Outline 1. Direct Routing. 2. Direct Routing is Hard.
More informationEdge Guards for Polyhedra in Three-Space
Edge Guards for Polyhedra in Three-Space Javier Cano Csaba D. Tóth Jorge Urrutia Abstract It is shown that every polyhedron in R with m edges can be guarded with at most 27 2m The bound improves to 5 6
More informationComputational Geometry
Windowing queries Windowing Windowing queries Zoom in; re-center and zoom in; select by outlining Windowing Windowing queries Windowing Windowing queries Given a set of n axis-parallel line segments, preprocess
More informationGeometric Computation: Introduction. Piotr Indyk
Geometric Computation: Introduction Piotr Indyk Welcome to 6.850! Overview and goals Course Information Closest pair Signup sheet Geometric Computation Geometric computation occurs everywhere: Robotics:
More information