Traveling with a Pez Dispenser (Or, Routing Issues in MPLS) Anupam Gupta Amit Kumar FOCS 2001 Rajeev Rastogi Iris Reinbacher COMP670P 15.03.2007.

Slides:



Advertisements
Similar presentations
Chapter 11 Trees Graphs III (Trees, MSTs) Reading: Epp Chp 11.5, 11.6.
Advertisements

Great Theoretical Ideas in Computer Science for Some.
Graphs - II Algorithms G. Miller V. Adamchik CS Spring 2014 Carnegie Mellon University.
Divide and Conquer. Subject Series-Parallel Digraphs Planarity testing.
Midwestern State University Department of Computer Science Dr. Ranette Halverson CMPS 2433 – CHAPTER 4 GRAPHS 1.
Depth-First Search1 Part-H2 Depth-First Search DB A C E.
Graph Isomorphism Algorithms and networks. Graph Isomorphism 2 Today Graph isomorphism: definition Complexity: isomorphism completeness The refinement.
Presented by Yuval Shimron Course
Compact and Low Delay Routing Labeling Scheme for Unit Disk Graphs Chenyu Yan, Yang Xiang, and Feodor F. Dragan (WADS 2009) Kent State University, Kent,
Graphs III (Trees, MSTs) (Chp 11.5, 11.6)
CS138A Single Source Shortest Paths Peter Schröder.
Krakow, Summer 2011 Schnyder’s Theorem and Relatives William T. Trotter
Approximation Algorithms for Unique Games Luca Trevisan Slides by Avi Eyal.
Lectures on Network Flows
C++ Programming: Program Design Including Data Structures, Third Edition Chapter 21: Graphs.
Data Structures, Spring 2004 © L. Joskowicz 1 Data Structures – LECTURE 14 Strongly connected components Definition and motivation Algorithm Chapter 22.5.
Course Presentation: A Polynomial Kernel for Multicut in Trees, STACS 2009 Authors: Nicolas Bousquet, Jean Daligault, Stephan Thomasse, Anders Yeo Speaker:
Applied Discrete Mathematics Week 12: Trees
PLANAR SHORTEST PATH & R-DIVISIONS Dwyane George March 10, 2015.
Lists A list is a finite, ordered sequence of data items. Two Implementations –Arrays –Linked Lists.
Distance-Based Location Update and Routing in Irregular Cellular Networks Victor Chepoi, Feodor Dragan, Yan Vaxes University of Marseille, France Kent.
Augmenting Paths, Witnesses and Improved Approximations for Bounded Degree MSTs K. Chaudhuri, S. Rao, S. Riesenfeld, K. Talwar UC Berkeley.
Acyclic orientations do not lead to optimal deadlock-free packet routing algorithms. Daniel Štefankovič.
Collective Tree Spanners of Graphs F.F. Dragan, C. Yan, I. Lomonosov Kent State University, USA Hiram College, USA.
Steiner trees Algorithms and Networks. Steiner Trees2 Today Steiner trees: what and why? NP-completeness Approximation algorithms Preprocessing.
Greedy Routing with Bounded Stretch Roland Flury, Roger Wattenhofer (ETH Zurich), Sriram Pemmaraju (Iowa University) Published at IEEE Infocom 2009 Introduction.
Graph Algorithms Using Depth First Search Prepared by John Reif, Ph.D. Distinguished Professor of Computer Science Duke University Analysis of Algorithms.
Randomized Algorithms Morteza ZadiMoghaddam Amin Sayedi.
Flow and Upward Planarity
UNC Chapel Hill Lin/Foskey/Manocha Minimum Spanning Trees Problem: Connect a set of nodes by a network of minimal total length Some applications: –Communication.
TCP Traffic and Congestion Control in ATM Networks
Expanders via Random Spanning Trees R 許榮財 R 黃佳婷 R 黃怡嘉.
Tree A connected graph that contains no simple circuits is called a tree. Because a tree cannot have a simple circuit, a tree cannot contain multiple.
 Rooted tree and binary tree  Theorem 5.19: A full binary tree with t leaves contains i=t-1 internal vertices.
5.5.3 Rooted tree and binary tree  Definition 25: A directed graph is a directed tree if the graph is a tree in the underlying undirected graph.  Definition.
1 Subgraphs A subgraph S of a graph G is a graph such that The vertices of S are a subset of the vertices of G The edges of S are a subset of the edges.
Implicit Representation of Graphs Paper by Sampath Kannan, Moni Naor, Steven Rudich.
Great Theoretical Ideas in Computer Science for Some.
1 Assignment #3 is posted: Due Thursday Nov. 15 at the beginning of class. Make sure you are also working on your projects. Come see me if you are unsure.
Algorithms for hard problems Parameterized complexity Bounded tree width approaches Juris Viksna, 2015.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. Fast.
Introduction Wireless Ad-Hoc Network  Set of transceivers communicating by radio.
Chapter 11. Chapter Summary  Introduction to trees (11.1)  Application of trees (11.2)  Tree traversal (11.3)  Spanning trees (11.4)
5.6 Prefix codes and optimal tree Definition 31: Codes with this property which the bit string for a letter never occurs as the first part of the bit string.
1 Schnyder’s Method. 2 Motivation Given a planar graph, we want to embed it in a grid We want the grid to be relatively small And we want an efficient.
Trees.
Theory of Computational Complexity Probability and Computing Chapter Hikaru Inada Iwama and Ito lab M1.
IOI/ACM ICPC Training 4 June 2005.
Parameterized complexity Bounded tree width approaches
12. Graphs and Trees 2 Summary
Lectures on Network Flows
Algorithms and networks
Advanced Algorithms Analysis and Design
Greedy Routing with Bounded Stretch
Graph Algorithms Using Depth First Search
Structural graph parameters Part 2: A hierarchy of parameters
Taibah University College of Computer Science & Engineering Course Title: Discrete Mathematics Code: CS 103 Chapter 10 Trees Slides are adopted from “Discrete.
Planarity Testing.
Enumerating Distances Using Spanners of Bounded Degree
Distance and Routing Labeling Schemes in Graphs
Algorithms (2IL15) – Lecture 5 SINGLE-SOURCE SHORTEST PATHS
Introduction Wireless Ad-Hoc Network
Hierarchical Routing Scheme
Algorithms (2IL15) – Lecture 7
Embedding Metrics into Geometric Spaces
Distance-preserving Subgraphs of Interval Graphs
Treewidth meets Planarity
Minimum Spanning Trees
Forbidden-set labelling in graphs
Distance and Routing Labeling Schemes in Graphs with Applications in Cellular and Sensor Networks Feodor F. Dragan Computer Science Department Kent State.
Presentation transcript:

Traveling with a Pez Dispenser (Or, Routing Issues in MPLS) Anupam Gupta Amit Kumar FOCS 2001 Rajeev Rastogi Iris Reinbacher COMP670P

Pez Dispenser?

Outline Motivation, Overview of Results Non-uniform Routing –on a line –on a tree Covering graphs by trees –Tree cover –Bounds for tree covers –Tree covers for planar graphs Summary

Outline Motivation, Overview of Results Non-uniform Routing –on a line –on a tree Covering graphs by trees –Tree cover –Bounds for tree covers –Tree covers for planar graphs Summary

Motivation: Network Routing packet from source to destination Conventional Routing: each router examines header locally and independently Multi Protocol Label Switching: first router assigns stack of labels following routers examine top of stack only Main questions: stack depth s, label size L

The Model each packet contains stack S of labels labels are of set : {1,2,3,…,L} network: graph G = (V,E) each node v  router each router runs (L, s) protocol protocol at v:

Example: Uniform Line Routing

Overview of Results line (L, Ln 1/L ) uniform line (L, log L n) non-uniform tree (deg + k, kn 1/k log n) tree (deg + k, log 2 n/log k) planar graph (L|T|,s) with stretch D with |T|... size of tree cover, e.g., D =1... uniform grid O(r(n) log n), D = 3... r(n) isometric separators

Outline Motivation, Overview of Results Non-uniform Routing –on a line –on a tree Covering graphs by trees –Tree cover –Bounds for tree covers –Tree covers for planar graphs Summary

Non-uniform Routing on a line Packet moves from left to right Directed path P n with n vertices v = {0,1,... n-1} Labels L = {0,1} P n itself has labels = 0 Additional directed edges with labels = 1 Full graph has properties: –Low diameter (path(u,v) <= 3 log n) –Nesting (no two edges cross each other)

Lemma The nesting property ensures: Let u < u' < v' < v be four nodes on P n If the shortest path P from u to v contains v', then the shortest path from u' to v contains v'

The protocol on a line Packet goes from u to v Stack defines 01 shortest path between u and v Invariant: path is shortest for all u < u' < v

Maintaining the invariant Packet is at vertex u' Edges e 0 = (u',u'') and e 1 = (u',u'''), with e 0 on the shortest path P to v If top label = 0, pop, send packet along e 0 If top label = 1, pop, push labels encoding shortest path from u'' to u''', send packet along e 0

Final protocol For each router until stack is empty do If label = 0, pop Else (label = 1) –If router – out degree = 1, pop –Else (out degree = 2) push 11 on stack Theorem: There is a non-uniform protocol for routing on a the n-vertex path which uses L labels and stack depth at most O(log L n).

Outline Motivation, Overview of Results Non-uniform Routing –on a line –on a tree Covering graphs by trees –Tree cover –Bounds for tree covers –Tree covers for planar graphs Summary

Non-uniform routing on a tree Extend line protocol to trees Decompose tree into edge-disjoint paths (Caterpillar decomposition) Unique path P between u and v P intersects at most 2 log n other paths

Non-uniform routing on a tree Theorem follows directly: Given a tree T with maximum degree deg, there is a (deg + k, log k n K) non-uniform routing protocol for T. k = log n, K… Caterpillar dimension of T We will show a better protocol: There exists a (deg + log log n, log n) non- uniform routing protocol for trees.

Caterpillar Decomposition Decomposition into edge disjoint paths Construction in linear time (DFS) Caterpillar dimension: number of levels

Routing from u to v in tree 2 directions: ''upwards'': using the line protocol from u to the least common ancestor of u and v 2 labels, stack depth O(log n) ''downwards'' from root of (subtree of) T 2 log k + deg labels, stack depth <= 6ck

Outline of protocol on a tree Preliminaries: There is caterpillar decomposition such that: If P 1,..,P t are all paths from root r, then for any vertex v in P i, any connected component not containing a node of P i has at most n/2 nodes Fix a path P i containing r

Outline of protocol on a tree Preliminaries v in P i, V'... set of children(v) not on P i T(v)...subtree rooted at v Index of node v: t(v) = log|T(v)| I(j)... set of nodes in P i – r with index j |I(j)| <= 2 k-j+1

Outline of protocol on a tree Form log k supergroups of union of some I(j): p = 1,..,log k I'(p) = U(I(k-2 p+1 +2),..,I(k-2 p +1)) Divide labels into log k sets L 1,...,L k containing 2 labels each Labels in L p route from r only to nodes in I'(p) (otherwise: send forward only) Result: stack depth c(2 p+1 +1) with 2 log k labels

Outline of protocol on a tree root r sends packet to u in T(v): Suppose v in I(j) in I'(p) Top of stack routes from r to v Next symbol on stack chooses correct child v' Rest of stack routes from v' to u T' rooted at v', j' = log|T'| j' <= k-2 p +1, j' <= k-1 Stack depth needed: 6cj <= 6ck = 6 c log n

Outline Motivation, Overview of Results Non-uniform Routing –on a line –on a tree Covering graphs by trees –Tree cover –Bounds for tree covers –Tree covers for planar graphs Summary

Covering graphs by trees Extending the line/tree scheme to arbitrary graphs involves dealing with: Shortest path P between u,v is not unique P i intersect non-trivially ''path decomposition'' not trivial Solution: Tree cover

Definition Given a graph G = (V,E), a tree cover (with stretch D) of G is a family F of subtrees {T 1,T 2,...,T k } of G such that for every pair of vertices u,v there is a tree T i such that d Ti (u,v) <= D d G (u,v).

Simple Theorem Let there be an (L,s) protocol for routing on trees. Let F be a tree cover of G with stretch D. Then there is an (L |F|,s) protocol for G. This protocol has stretch D, i.e., given any pair of vertices u,v in G, this protocol routes from u to v on a path which has length at most D times the shortest path between u and v.

Bounds for tree covers general unit weighted grid, O(log n) O(r(n)) separatorO(r(n) log n) treewidth kO(k log n) planar graphs

Tree cover for r(n) separator graphs Given a graph G = (V,E), a k-part isometric separator is a family S of k subtrees S 1 = (V 1,E 1 ),..., S k = (V k,E k ), such that S = U V i is a 1/3-2/3 separator of G For each i and each pair of vertices u,v in S i, d Si (u,v) = d G (u,v) Theorem For any graph G = (V,E) with r(n)-part isometric separators, there exists a tree cover with stretch 3 having O(r(n) log n) trees

Tree cover for r(n) separator graphs General idea: Contract the vertices of each S i Construct shortest path tree T i in resulting graph Expand S i T i contains S i and the union of shortest paths from every other vertex in V-V i to S i This gives O(r(n)) trees Recurse to get O(r(n) log 3/2 n) trees overall

Tree cover for planar graphs Planar graphs have 2-part isometric separators: Theorem Given an (L, s) routing scheme for trees, there is an (L log n, s) routing scheme for planar graphs with stretch at most 3.

Outline Motivation, Overview of Results Non-uniform Routing –on a line –on a tree Covering graphs by trees –Tree cover –Bounds for tree covers –Tree covers for planar graphs Summary

Summary of Routing Results line (L, Ln 1/L ) uniform line (L, log L n) non-uniform tree (deg + k, kn 1/k log n) tree (deg + k, log 2 n/log k) planar graph (L|T|,s) with stretch D with |T|... size of tree cover

Bounds for tree covers general unit weighted grid, O(log n) O(r(n)) separatorO(r(n) log n) treewidth kO(k log n) planar graphs