A linear time algorithm for the weighted lexicographic rectilinear 1-center problem in the plane Nir Halman, Technion, Israel This work is part of my Ph.D.

Slides:



Advertisements
Similar presentations
1+eps-Approximate Sparse Recovery Eric Price MIT David Woodruff IBM Almaden.
Advertisements

Quantum Lower Bounds The Polynomial and Adversary Methods Scott Aaronson September 14, 2001 Prelim Exam Talk.
Sublinear-time Algorithms for Machine Learning Ken Clarkson Elad Hazan David Woodruff IBM Almaden Technion IBM Almaden.
Minimum Clique Partition Problem with Constrained Weight for Interval Graphs Jianping Li Department of Mathematics Yunnan University Jointed by M.X. Chen.
Size-estimation framework with applications to transitive closure and reachability Presented by Maxim Kalaev Edith Cohen AT&T Bell Labs 1996.
Approximations of points and polygonal chains
Online Scheduling with Known Arrival Times Nicholas G Hall (Ohio State University) Marc E Posner (Ohio State University) Chris N Potts (University of Southampton)
On the Power of Discrete and of Lexicographic Helly Theorems Nir Halman, Technion, Israel This work is part of my Ph.D. thesis, held in Tel Aviv University,
Deterministic Selection and Sorting Prepared by John Reif, Ph.D. Analysis of Algorithms.
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,
The Disputed Federalist Papers : SVM Feature Selection via Concave Minimization Glenn Fung and Olvi L. Mangasarian CSNA 2002 June 13-16, 2002 Madison,
1 Algorithms for Large Data Sets Ziv Bar-Yossef Lecture 13 June 25, 2006
Prune-and-search Strategy
L16: Micro-array analysis Dimension reduction Unsupervised clustering.
Greedy Algorithms Reading Material: Chapter 8 (Except Section 8.5)
Lecture 33 CSE 331 Nov 20, Homeworks Submit HW 9 by 1:10PM HW 8 solutions at the end of the lecture.
The Terms that You Have to Know! Basis, Linear independent, Orthogonal Column space, Row space, Rank Linear combination Linear transformation Inner product.
Preference Analysis Joachim Giesen and Eva Schuberth May 24, 2006.
Integer Programming Difference from linear programming –Variables x i must take on integral values, not real values Lots of interesting problems can be.
1 -1 Chapter 1 Introduction Why to study algorithms? Sorting problem: To sort a set of elements into increasing or decreasing order. 11, 7, 14,
Branch and Bound Algorithm for Solving Integer Linear Programming
Greedy Algorithms Like dynamic programming algorithms, greedy algorithms are usually designed to solve optimization problems Unlike dynamic programming.
Improved Approximation Bounds for Planar Point Pattern Matching (under rigid motions) Minkyoung Cho Department of Computer Science University of Maryland.
Lecture 34 CSE 331 Nov 23, Homework related stuff Graded HW 8+9, solutions to HW 9 the week after Thanksgiving.
Quantum Algorithms II Andrew C. Yao Tsinghua University & Chinese U. of Hong Kong.
6 6.3 © 2012 Pearson Education, Inc. Orthogonality and Least Squares ORTHOGONAL PROJECTIONS.
Introduction Outline The Problem Domain Network Design Spanning Trees Steiner Trees Triangulation Technique Spanners Spanners Application Simple Greedy.
Lection 1: Introduction Computational Geometry Prof.Dr.Th.Ottmann 1 History: Proof-based, algorithmic, axiomatic geometry, computational geometry today.
Computational aspects of stability in weighted voting games Edith Elkind (NTU, Singapore) Based on joint work with Leslie Ann Goldberg, Paul W. Goldberg,
1 Distributed Computing Optical networks: switching cost and traffic grooming Shmuel Zaks ©
Integer programming Branch & bound algorithm ( B&B )
1 By: MOSES CHARIKAR, CHANDRA CHEKURI, TOMAS FEDER, AND RAJEEV MOTWANI Presented By: Sarah Hegab.
Do Now 10/26/10 In your notebook, explain how you know a function is a function. Then answer if the following three tables are functions or not. x
Modern Portfolio Theory. History of MPT ► 1952 Horowitz ► CAPM (Capital Asset Pricing Model) 1965 Sharpe, Lintner, Mossin ► APT (Arbitrage Pricing Theory)
UNC Chapel Hill M. C. Lin Linear Programming Reading: Chapter 4 of the Textbook Driving Applications –Casting/Metal Molding –Collision Detection Randomized.
CSIE in National Chi-Nan University1 Approximate Matching of Polygonal Shapes Speaker: Chuang-Chieh Lin Advisor: Professor R. C. T. Lee National Chi-Nan.
© The McGraw-Hill Companies, Inc., Chapter 6 Prune-and-Search Strategy.
Signal Processing and Representation Theory Lecture 2.
Professor: Chu, Ta Chung Student: Nguyen Quang Tung Student’s ID: M977Z235 Fuzzy multiobjective linear model for supplier selection in a supply chain.
1 Prune-and-Search Method 2012/10/30. A simple example: Binary search sorted sequence : (search 9) step 1  step 2  step 3  Binary search.
Collection Depots Facility Location Problems in Trees R. Benkoczi, B. Bhattacharya, A. Tamir 陳冠伶‧王湘叡‧李佳霖‧張經略 Jun 12, 2007.
Linear Programming Implementation. Linear Programming
Weikang Qian. Outline Intersection Pattern and the Problem Motivation Solution 2.
Concept learning, Regression Adapted from slides from Alpaydin’s book and slides by Professor Doina Precup, Mcgill University.
Lecture 14 Lower Bounds Decision tree model Linear-time reduction.
NP-completeness NP-complete problems. Homework Vertex Cover Instance. A graph G and an integer k. Question. Is there a vertex cover of cardinality k?
© The McGraw-Hill Companies, Inc., Chapter 1 Introduction.
Slides by Yong Liu1, Deep Medhi2, and Michał Pióro3
Common Intersection of Half-Planes in R 2 2 PROBLEM (Common Intersection of half- planes in R 2 ) Given n half-planes H 1, H 2,..., H n in R 2 compute.
Fernando G.S.L. Brandão MSR -> Caltech Faculty Summit 2016
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry
Computation of the solutions of nonlinear polynomial systems
Markov Chains and Mixing Times
Hans Bodlaender, Marek Cygan and Stefan Kratsch
VORONOI DIAGRAMS FOR PARALLEL HALFLINES IN 3D
Haim Kaplan and Uri Zwick
Chapter 5. Optimal Matchings
Enumerating Distances Using Spanners of Bounded Degree
Linear sketching with parities
CSCI B609: “Foundations of Data Science”
The Curve Merger (Dvir & Widgerson, 2008)
Online Learning Kernels
Efficient Algorithms for the Weighted k-Center Problem on a Real Line
Approximating Points by A Piecewise Linear Function: I
An O(n log n)-Time Algorithm for the k-Center Problem in Trees
Lecture 20 Linear Program Duality
Lecture 15: Least Square Regression Metric Embeddings
Clustering.
Chapter 1 Introduction.
Complexity Theory: Foundations
Presentation transcript:

A linear time algorithm for the weighted lexicographic rectilinear 1-center problem in the plane Nir Halman, Technion, Israel This work is part of my Ph.D. thesis, held in Tel Aviv University, under the supervision of Professor Arie Tamir

Planar 1-center problems Input: a set P={p 1,…,p n } of n points p i =(x i,y i ) a set W={w 1,…,w n } of positive weights Output: a center p=(x,y) which minimizes f(p)=Max i {w i d(p,p i )} where d is a distance function Motivation: customers, service center, 1/w i =speed d=l 2 : solvable in linear time [M83],[D86],[SW96]

Rectilinear 1-center (d=l 1 ) c = Min p Max i {w i (|x i -x|+|y i -y|)} Min c s.t. w i (|x i -x|+|y i -y|)  c, i=1,…,n Min c s.t. w i ((x i -x)+(y i -y))  c, i=1,…,n, w i (-(x i -x)+(y i -y))  c, i=1,…,n, w i ((x i -x)-(y i -y))  c, i=1,…,n, w i (-(x i -x)-(y i -y))  c, i=1,…,n. Transform the problem into one where d=l 

1-center problem with d=l  c = Min p Max i {w i Max{|x i -x|,|y i -y|}} Min c s.t. w i |x i -x|  c, i=1,…,n, w i |y i -y|  c, i=1,…,n. Decomposition into 2 one-dimensional problems Min c x s.t. w i |x i -x|  c x i=1,…,n. Min c y s.t. w i |y i -y|  c y i=1,…,n. c=Max{c x, c y }

Lex 1-center problem [O97] Unique solutions to 1-dimensional problems and Euclidean planer 1-center This is not the case for planar 1-center with l 1, l  Input: a set P={p 1,…,p n } of n points p i =(x i,y i ) a set W={w 1,…,w n } of positive weights Output: a center p=(x,y) which lex-minimizes lf(p)=q(w 1 d(p,p 1 ),…,w n d(p,p n )) where q is the non-decreasing ordering of a multi-set

Example X Y p 1= (-4,1) p 2= (6,-1) p 4= (2,-3) p 3= (3,2) p 5= (5,0) The distances vector is lf(p)=(5,5,4,2½, 2½) No O(n log n) time algorithm exists

Talk outline Introduction An  (n log n) lower bound for calculating the optimal value of the optimal solution A restricted problem, the min rays problem and the relations between them Solving the min rays problem in linear time Putting it all together 

Lower bound Obs 1: it takes  (n log n) time to compute the distances vector of a given set of n real points Proof: reduction from sorting Given is a set R={r 1,…,r n } of n real numbers Suppose the minimal element is 0 Set P={r 1,…,r n,2r max } Center is r max Distances vector yields sorting of R

Talk outline Introduction An  (n log n) lower bound for calculating the optimal value of the optimal solution A restricted problem, the min rays problem and the relations between them Solving the min rays problem in linear time Putting it all together  

Restricted problem Input: P={p 1,…,p n }, W={w 1,…,w n } as before and a real number Output: a center which lex-minimizes )=q(w 1 1 ),…,w n n )) Set a i = w i - x i |, g i (y)=max{a i, w i |y-y i |}, then )=q(g 1 (y),…,g n (y )) Obs 2: Each g i (y) has ashape

Min rays problem Let u(y) be upper envelop of {r - i (y),r + i (y) | i=1,…,n} Goal: calculate c = min u(y)  g i (y) define r - i (y) as and r + i (y) as X Y p 1= (-4,1) p 2= (6,-1) p 4= (2,-3) p 3= (3,2) p 5= (5,0)  Y C r+3r+3 r+2r+2 r+5r+5 r+1r+1 r+4r+4 r-4r-4 r-1r-1 r-2r-2 r-3r-3

Restricted vs. min rays Thm 1: y $, c $ an optimal solution of the min rays problem  y $ ) is an optimal center in the corresponding restricted problem Proof: C Y C Y

Talk outline Introduction An  (n log n) lower bound for calculating the optimal value of the optimal solution A restricted problem, the min rays problem and the relations between them Solving the min rays problem in linear time Putting it all together   

Solving min rays problem Lem 1: the test oracle can be implemented in linear time Let y $, c $ be an optimal solution of the min rays problem, y $ ) be an optimal center for the corresponding restricted problem. Oracle: Input: same as for min rays problem with an additional point p y) Output: y $ =y or y $ >y, or y $ <y

Solving min rays problem (cont’) Proof: partition the given 2n rays into n pairs. Group the pairs of rays into the 12 distinct sets: Thm 2: the min rays problem is solvable in linear time inc mix 4321 index type rr’ r r r r r r r

Solving min rays problem (cont’) Proof (cont’): r r’ r r ½ of the rays are dropped ¼ of rays are dropped 1 / 8 of rays are dropped

Talk outline Introduction An  (n log n) lower bound for calculating the optimal value of the optimal solution A restricted problem, the min rays problem and the relations between them Solving the min rays problem in linear time Putting it all together    

Algorithm: transform the input to l  solve non-lex problem solve min rays problem Generalizes to (in the same time bound): lex 1-center in R d with l  norm (quadratic dependency in d ) different weights on each of the axes all centers

Thank you !