Restricted Track Assignment with Applications 報告人:林添進.

Slides:



Advertisements
Similar presentations
Guy EvenZvi LotkerDana Ron Tel Aviv University Conflict-free colorings of unit disks, squares, & hexagons.
Advertisements

Covers, Dominations, Independent Sets and Matchings AmirHossein Bayegan Amirkabir University of Technology.
Minimum Clique Partition Problem with Constrained Weight for Interval Graphs Jianping Li Department of Mathematics Yunnan University Jointed by M.X. Chen.
Approximation Algorithms
Comp 122, Spring 2004 Greedy Algorithms. greedy - 2 Lin / Devi Comp 122, Fall 2003 Overview  Like dynamic programming, used to solve optimization problems.
Greedy Algorithms Greed is good. (Some of the time)
Lecture 24 Coping with NPC and Unsolvable problems. When a problem is unsolvable, that's generally very bad news: it means there is no general algorithm.
Computing Kemeny and Slater Rankings Vincent Conitzer (Joint work with Andrew Davenport and Jayant Kalagnanam at IBM Research.)
1 NP-Complete Problems. 2 We discuss some hard problems:  how hard? (computational complexity)  what makes them hard?  any solutions? Definitions 
Bounds on Code Length Theorem: Let l ∗ 1, l ∗ 2,..., l ∗ m be optimal codeword lengths for a source distribution p and a D-ary alphabet, and let L ∗ be.
5-1 Chapter 5 Tree Searching Strategies. 5-2 Satisfiability problem Tree representation of 8 assignments. If there are n variables x 1, x 2, …,x n, then.
Online Social Networks and Media. Graph partitioning The general problem – Input: a graph G=(V,E) edge (u,v) denotes similarity between u and v weighted.
© The McGraw-Hill Companies, Inc., Chapter 8 The Theory of NP-Completeness.
Parallel Scheduling of Complex DAGs under Uncertainty Grzegorz Malewicz.
Combinatorial Algorithms
CS774. Markov Random Field : Theory and Application Lecture 17 Kyomin Jung KAIST Nov
The number of edge-disjoint transitive triples in a tournament.
Fast FAST By Noga Alon, Daniel Lokshtanov And Saket Saurabh Presentation by Gil Einziger.
Rajat K. Pal. Chapter 3 Emran Chowdhury # P Presented by.
Complexity 16-1 Complexity Andrei Bulatov Non-Approximability.
Computability and Complexity 23-1 Computability and Complexity Andrei Bulatov Search and Optimization.
June 3, 2015Windows Scheduling Problems for Broadcast System 1 Amotz Bar-Noy, and Richard E. Ladner Presented by Qiaosheng Shi.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
Polynomial Time Approximation Scheme for Euclidian Traveling Salesman
NP-Complete Problems Reading Material: Chapter 10 Sections 1, 2, 3, and 4 only.
NP-Complete Problems Problems in Computer Science are classified into
Computational Complexity, Physical Mapping III + Perl CIS 667 March 4, 2004.
Computational Complexity of Approximate Area Minimization in Channel Routing PRESENTED BY: S. A. AHSAN RAJON Department of Computer Science and Engineering,
2-Layer Crossing Minimisation Johan van Rooij. Overview Problem definitions NP-Hardness proof Heuristics & Performance Practical Computation One layer:
Computability and Complexity 24-1 Computability and Complexity Andrei Bulatov Approximation.
Chapter 11: Limitations of Algorithmic Power
On The Achromatic Number Problem Guy Kortsarz Rutgers University, Camden.
Coloring Algorithms and Networks. Coloring2 Graph coloring Vertex coloring: –Function f: V  C, such that for all {v,w}  E: f(v)  f(w) Chromatic number.
Chapter 5: Computational Complexity of Area Minimization in Multi-Layer Channel Routing and an Efficient Algorithm Presented by Md. Raqibul Hasan Std No.
Approximation Algorithms Motivation and Definitions TSP Vertex Cover Scheduling.
Improved results for a memory allocation problem Rob van Stee University of Karlsruhe Germany Leah Epstein University of Haifa Israel WADS 2007 WAOA 2007.
Zvi Kohavi and Niraj K. Jha 1 Capabilities, Minimization, and Transformation of Sequential Machines.
Approximation Algorithms Department of Mathematics and Computer Science Drexel University.
Approximation schemes Bin packing problem. Bin Packing problem Given n items with sizes a 1,…,a n  (0,1]. Find a packing in unit-sized bins that minimizes.
APPROXIMATION ALGORITHMS VERTEX COVER – MAX CUT PROBLEMS
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
The Complexity of Optimization Problems. Summary -Complexity of algorithms and problems -Complexity classes: P and NP -Reducibility -Karp reducibility.
© The McGraw-Hill Companies, Inc., Chapter 6 Prune-and-Search Strategy.
Chapter 15 Approximation Algorithm Introduction Basic Definition Difference Bounds Relative Performance Bounds Polynomial approximation Schemes Fully Polynomial.
Genome Rearrangements Unoriented Blocks. Quick Review Looking at evolutionary change through reversals Find the shortest possible series of reversals.
Approximation Algorithms
1 Combinatorial Algorithms Parametric Pruning. 2 Metric k-center Given a complete undirected graph G = (V, E) with nonnegative edge costs satisfying the.
Incidentor coloring: methods and results A.V. Pyatkin "Graph Theory and Interactions" Durham, 2013.
Approximation algorithms for TSP with neighborhoods in the plane R 郭秉鈞 R 林傳健.
Approximation Algorithms for NP-hard Combinatorial Problems Magnús M. Halldórsson Reykjavik University Local Search, Greedy and Partitioning
Approximation Schemes Open Shop Problem. O||C max and Om||C max {J 1,..., J n } is set of jobs. {M 1,..., M m } is set of machines. J i : {O i1,..., O.
Memory Allocation of Multi programming using Permutation Graph By Bhavani Duggineni.
Graph Colouring L09: Oct 10. This Lecture Graph coloring is another important problem in graph theory. It also has many applications, including the famous.
Twenty Years of EPT Graphs: From Haifa to Rostock Martin Charles Golumbic Caesarea Rothschild Institute University of Haifa With thanks to my research.
Strings Basic data type in computational biology A string is an ordered succession of characters or symbols from a finite set called an alphabet Sequence.
The full Steiner tree problem Theoretical Computer Science 306 (2003) C. L. Lu, C. Y. Tang, R. C. T. Lee Reporter: Cheng-Chung Li 2004/06/28.
1 Ch.19 Divide and Conquer. 2 BIRD’S-EYE VIEW Divide and conquer algorithms Decompose a problem instance into several smaller independent instances May.
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?
NP Completeness Piyush Kumar. Today Reductions Proving Lower Bounds revisited Decision and Optimization Problems SAT and 3-SAT P Vs NP Dealing with NP-Complete.
1 The instructor will be absent on March 29 th. The class resumes on March 31 st.
The geometric GMST problem with grid clustering Presented by 楊劭文, 游岳齊, 吳郁君, 林信仲, 萬高維 Department of Computer Science and Information Engineering, National.
EE4271 VLSI Design VLSI Channel Routing.
CHAPTER SIX T HE P ROBABILISTIC M ETHOD M1 Zhang Cong 2011/Nov/28.
ICS 353: Design and Analysis of Algorithms NP-Complete Problems King Fahd University of Petroleum & Minerals Information & Computer Science Department.
Chapter 10 NP-Complete Problems.
Minimum Spanning Tree 8/7/2018 4:26 AM
Computability and Complexity
Minimizing the Aggregate Movements for Interval Coverage
I.4 Polyhedral Theory.
Integer and fractional packing of graph families
Presentation transcript:

Restricted Track Assignment with Applications 報告人:林添進

Channel Assignment Problem Given a set of intervals S = {I i | 1 ≦ i ≦ n} 1. To find the degree of overlap S, k, where k = max {|S’| | S’  S and S’ is overlapping} 2. To partition S into k subsets such that the intervals in each subsets are pairwise non-overlapping

Algorithm for finding degree k 1.To sort 2n endpoints in the increasing order of their x- coordinates O(n log n) 2.To scan the 2n endpoints from left to right. O(n) k = 1 temp = 1 k = 2 temp = 2 k = 3 temp = 3 k = 3 temp = 2 k = 3 temp = 1 Why this algorithm works?

Algorithm for finding degree k is optimal Ω (n log n) lower bound on the time required to determine whether n intervals on the line are pairwise disjoint.

1.To sort 2n endpoints in the increasing order of their x- coordinates 2.To find degree k 3.To scan the intervals form left to right 1)If a left endpoint is encountered, we assign the corresponding interval to the next available channel. 2)If a right endpoint is encountered, we release the channel occupied by the corresponding interval and make the released channel available again. Why the algorithm works ? Algorithm for partitioning S into k subsets

c1 c2 c4 c3 c5

k channel is necessary, but why k channels is also sufficient ? 當使得 degree 變成 k 的 interval I 進來 以前,若 k 個 channel 被用光了,則 在 I 進來以前必有某一個 interval 要 離開,否則 degree 就大於 k 了,這是 不可能的。 為何對 channel 的長度不固定的 Track Assignment Problem 或 RTAP , k channels is not sufficient ?

Definitions Given a set of intervals I = {I i | 1 ≦ i ≦ n}, where I i = (l i, r i ). Two intervals I i = (l i, r i ) and I j = (l j, r j ) are 1.independent: if r i < l j or r j < l i ; 2.dependent: otherwise. Two dependent intervals are 1)crossing: if l i < l j < r i < r j or l j < l i < r j < r i. 2)I i contains I j : If l i < l j < r j < r i.

Definitions 1.Track Assignment Problem (TAP) is to assign the intervals into tracks 1 to t such that in each track, intervals are pairwise independent. The goal is to minimize the number of tracks t. Whether density of I is sufficient or not? 2.The density of a column c, denoted d c, is the number of interval in I that contain c. 3.The density of the set I is d = max c d c,

Definitions 1.Consider a set of points C = { c 1, c 2, …, c m }, called a restricted set. 2.The maximal subset of I that contains a point of C is denoted by I c ; intervals in I c are called restricted intervals.

Restricted Track Assignment Problem Given I and C, the restricted track assignment problem (RTAP) is the problem of assigning intervals into tracks 1 to t such that: p1) In each track, intervals are pairwise independent. p2) If a restricted interval I i contains another restricted interval I j then τ i > τ j, where τ a is the track to which I a is assigned. The goal is, as before, to minimize the number of tracks t. Note that when when C = { c 1 } then RTAP is equivalent to TAP. Here, we will show RTAP is NP-hard for |C|=2 (and |C|>2). Then we propose an approximation algorithm for solving an arbitrary instance (I, C) of RTAP.

c1c1 c2c2 Why density is not sufficient? d = 3 but It need at least 4 tracks

Consider an arbitrary instance (I, C) of TRAP, where I = { I 1, I 2, …, I n } and C = { c 1, c 2, …, c m }. Certainly, the number of tracks is lower-bounded by the density d. We will show that it is NP-complete to decide if d tracks are sufficient of assignment of intervals, when m=2. We shall transform the problem of coloring a circular-arc graph to RTAP. NP-hardness of RTAP

Consider a set A = {A 1, A 2,…, A s } of arcs, where = (a i, b i ), 1 ≦ a i, b i ≦ 2s. The intersection graph of A is called a circular-arc graph. Consider a point P on the circle. The set of arcs cut by a line segment starting at the center of the circle and passing through P is denoted by A P. The arcs in A P are said to be P-equivalent. The circular-arc coloring problem (CACP) is to assign the minimum number of colors to arcs of A such that every two P-equivalent arcs, for all P, are assigned distinct colors. The maximum of |A P |, over all P, is called the density of A and is denoted byδ. It is NP- complete to decide ifδcolors are sufficient to color an arbitrary instance A of CACP. NP-hardness of RTAP

We will show that CACP can be reduced to RTAP in polynomial-time. Lemma 1 An arbitrary instance A of CACP is δ-colorable if and only if (I A, C A ) can be assigned into δ tracks of RTAP. NP-hardness of RTAP

In this section, first we show there are instances of RTAP with t ≧ 2d-1, where d is the problem density. Then, we propose an approximation algorithm for an arbitrary instance of RTAP achieving t ≦ 2d-1. 為何與 C 無關? An Approximation Algorithm

We define an instance (I, C) of TRAP that requires at least 2d- 1 tracks in a recursive manner. It consists of a collection of blocks. B 1 has a single unit-length interval. We obtain B i, i > 1, by combining two copies of B i-1 and two intervals, called top-intervals. The instance B d with C being the set of right points of all unit intervals is called a difficult example. Lemma 2 In an arbitrary instance of difficult example B d, t ≧ 2d-1. An Approximation Algorithm

1.Consider an arbitrary instance (I, C) of the problem with density d. Let {k 1, k 2,…, k s } denote the set of max-density columns with k 1 < k 2 <…< k s. Among all intervals containing k 1 we select the one with the rightmost right point. This interval is denoted by I 1,1. Assume I 1,1 contains columns k 1,…, k j, does not contain column k j+1. Then among all intervals containing k j+1 we select the one with the rightmost right point. This interval is denoted by I 1,2. This task is repested until all columns {k 1, k 2,…, k s } is processed. The set of intervals selected is denoted by I 1 = {I 1,1, I 1,2, …} 2.The set I 1 is removed and the process is repeated for the rest of intervals ─ we obtain I 1, I 2, … respectively until no interval is remained. 3.We assign I i, 1 ≦ i ≦ d-1 to tracks 2d-2i+1 and 2d-2i. I d has density 1, and thus we assign it to track 1. Why the algorithm works ?

Prop 1. Density of each I i is at most two. Prop 2. After removing each I i the density of I is reduced by at least one. Prop 3. Consider any interval I i,a  I i and any interval I j,b  I j for i < j. Then I i,a is not contained in I j,b. Three Properties of the Algorithm

k1k1 k3k3 k2k2 k4k4 k1k1 k4k4 k3k3 k5k5 k2k2 k6k6 k1k1 k4k4 k3k3 k5k5 k2k2 k6k6 k1k1 k4k4 k3k3 k5k5 k2k2 k1k1 k3k3 k4k4 k2k2