Think Global Act Local

Size: px
Start display at page:

Download "Think Global Act Local"

Transcription

1 Think Global Act Local Roger Wattenhofer ETH Zurich Distributed Computing

2

3 Town Planning Patrick Geddes

4 Architecture Buckminster Fuller

5 Computer Architecture Caching

6 Robot Gathering e.g., [Degener et al., 2011]

7 Natural Algorithms [Bernard Chazelle, 2009]

8

9 Algorithmic Trading

10 Think Global Act Local is there a theory?

11 Complexity Theory Can a Computer Solve Problem P in Time t?

12 (Think Global Act Local) Distributed Complexity Theory Network Can a Computer Solve Problem P in Time t?

13 Distributed (Message-Passing) Algorithms Nodes are agents with unique ID s that can communicate with neighbors by sending messages. In each synchronous round, every node can send a (different) message to each neighbor

14 Distributed (Message-Passing) Algorithms Nodes are agents with unique ID s that can communicate with neighbors by sending messages. In each synchronous round, every node can send a (different) message to each neighbor Distributed (Time) Complexity: How many rounds does problem take?

15 An Example

16 How Many Nodes in Network?

17 How Many Nodes in Network?

18 How Many Nodes in Network?

19 How Many Nodes in Network?

20 How Many Nodes in Network?

21 How Many Nodes in Network?

22 How Many Nodes in Network?

23 How Many Nodes in Network? With a simple flooding/echo process, a network can find the number of nodes in time O(D), where D is the diameter (size) of the network.

24 Diameter of Network? Distance between two nodes = Number of hops of shortest path

25 Diameter of Network? Distance between two nodes = Number of hops of shortest path

26 Diameter of Network? Distance between two nodes = Number of hops of shortest path Diameter of network = Maximum distance, between any two nodes

27 Diameter of Network?

28 Diameter of Network?

29 Diameter of Network?

30 Diameter of Network?

31 Diameter of Network?

32 Diameter of Network?

33 Diameter of Network?

34 Networks Cannot Compute Their Diameter in Sublinear Time! (even if diameter is just a small constant) Pair of rows connected neither left nor right? Communication complexity: Transmit Θ(n 2 ) information over O(n) edges Ω(n) time! [Frischknecht, Holzer, W, 2012]

35 What about a local task?

36 Example: Minimum Vertex Cover (MVC) Given a network with n nodes, nodes have unique IDs. Find a Minimum Vertex Cover (MVC) a minimum set of nodes such that all edges are adjacent to node in MVC

37 Example: Minimum Vertex Cover (MVC) Given a network with n nodes, nodes have unique IDs. Find a Minimum Vertex Cover (MVC) a minimum set of nodes such that all edges are adjacent to node in MVC

38 Example: Minimum Vertex Cover (MVC) Given a network with n nodes, nodes have unique IDs. Find a Minimum Vertex Cover (MVC) a minimum set of nodes such that all edges are adjacent to node in MVC

39 On MVC Find an MVC that is close to minimum (approximation) Trade-off between time complexity and approximation ratio MVC: Various simple (non-distributed) 2-approximations exist! What about distributed algorithms?!?

40 Finding the MVC (by Distributed Algorithm) Given the following bipartite graph with S 0 = δ S 1 The MVC is just all the nodes in S 1 Distributed Algorithm S 1 S 0

41 Finding the MVC (by Distributed Algorithm) Given the following bipartite graph with S 0 = δ S 1 The MVC is just all the nodes in S 1 Distributed Algorithm S 1 S 0

42 Finding the MVC (by Distributed Algorithm) Given the following bipartite graph with S 0 = δ S 1 The MVC is just all the nodes in S 1 Distributed Algorithm S 1 S 0

43 N 2 (node in S 0 ) N 2 (node in S 1 ) S 1 S 0

44 N 2 (node in S 0 ) N 2 (node in S 1 ) Graph is symmetric, yet highly non-regular! S 1 S 0

45 Lower Bound: Results We can show that for ε > 0, in t time, the approximation ratio is at least t t Constant approximation needs at least Ω(log Δ) and Ω( log n) time. Polylog approximation Ω(log Δ/ log log Δ) and Ω( log n/ log log n). [Kuhn, Moscibroda, W, journal version in submission]

46 Lower Bound: Results We can show that for ε > 0, in t time, the approximation ratio is at least tight for MVC t t Constant approximation needs at least Ω(log Δ) and Ω( log n) time. Polylog approximation Ω(log Δ/ log log Δ) and Ω( log n/ log log n). [Kuhn, Moscibroda, W, journal version in submission]

47 Lower Bound: Reductions Many local looking problems need non-trivial t, in other words, the bounds Ω(log Δ) and Ω( log n) hold for a variety of classic problems. [Kuhn, Moscibroda, W, journal version in submission]

48 Lower Bound: Reductions Many local looking problems need non-trivial t, in other words, the bounds Ω(log Δ) and Ω( log n) hold for a variety of classic problems. cloning line graph MVC through MM line graph [Kuhn, Moscibroda, W, journal version in submission]

49 Olympics!

50 Distributed Complexity Classification 1 log n polylog n D poly n e.g., dominating set approximation in planar graphs MIS, approx. of dominating set, vertex cover,... diameter, MST, verification of e.g. spanning tree, various problems in growth-bounded graphs count, sum, spanning tree,...

51 Distributed Complexity Classification easy hard 1 log n polylog n D poly n e.g., dominating set approximation in planar graphs MIS, approx. of dominating set, vertex cover,... diameter, MST, verification of e.g. spanning tree, various problems in growth-bounded graphs count, sum, spanning tree,...

52 Locality Local Algorithms Sublinear Algorithms

53 Locality is Everywhere! Self- Assembly Applications e.g. Multi-Core Self- Stabilization Local Algorithms Sublinear Algorithms Dynamic Networks

54 Locality is Everywhere! Self- Assembly Applications e.g. Multi-Core Self- Stabilization Local Algorithms Sublinear Algorithms Dynamic Networks

55 [Afek, Alon, Barad, et al., 2011]

56 [Afek, Alon, Barad, et al., 2011]

57

58 Maximal Independent Set (MIS) Given a network with n nodes, nodes have unique IDs. Find a Maximal Independent Set (MIS) a non-extendable set of pair-wise non-adjacent nodes

59 Maximal Independent Set (MIS) Given a network with n nodes, nodes have unique IDs. Find a Maximal Independent Set (MIS) a non-extendable set of pair-wise non-adjacent nodes

60 Maximal Independent Set (MIS) Given a network with n nodes, nodes have unique IDs. Find a Maximal Independent Set (MIS) a non-extendable set of pair-wise non-adjacent nodes

61 given: id, degree synchronized while (true) { p = 1 /(2*degree); if (random value between 0 and 1 < p) { transmit (degree, id) ;

62 given: id, degree synchronized while (true) { p = 1 /(2*degree); if (random value between 0 and 1 < p) { transmit (degree, id) ;?!

63 Distributed Computing Without Computing!

64

65 Nano-Magnetic Computing

66 Stone Age Distributed Computing

67 nfsm: networked Finite State Machine Every node is the same finite state machine, e.g. no IDs Apart from their state, nodes cannot store anything Nodes know nothing about the network, including e.g. their degree Nodes cannot explicitly send messages to selected neighbors, i.e. nodes can only implicitly communicate by changing their state Operation is asynchronous Randomized next state okay, as long as constant number Nodes cannot compute, e.g. cannot count

68 One, Two, Many Principle Piraha Walpiri

69 One, Two, Many Principle Not okay while (k < log n) { At least half of neighbors in state s? More neighbors in state s than in state t? Okay No neighbor in state s? Some neighbor in state s? At most two neighbors in state s?

70 u 1 u 0 u 2

71 u 1 u 0 alone MIS u 2

72 u 1 u 0 alone MIS not alone d 2 u 2

73 u 1 not d 1 u 0 MIS d alone 2 alone u 2

74 u 1 not d 1 u MIS d MIS 0 2 not alone neighbor alone u 2

75 nfsm solves MIS whp in time O(log 2 n) u 1 not d 1 u MIS d MIS 0 2 not alone neighbor alone u 2 [Emek, Smula, W, in submission]

76 Overview General Graph Growth-Bounded Graph Bounded Degree Graph Diameter MVC MIS

77

78 Stone Age Wireless Message Passing Overview General Graph Growth-Bounded Graph Bounded Degree Graph Diameter MVC MIS

79 Summary

80 Thank You! Questions & Comments? Thanks to my co-authors Yuval Emek Silvio Frischknecht Stephan Holzer Fabian Kuhn Thomas Moscibroda Jasmin Smula

Let s get Physical! ETH Zurich Distributed Computing ICALP 2010 Roger Wattenhofer

Let s get Physical! ETH Zurich Distributed Computing   ICALP 2010 Roger Wattenhofer Let s get Physical! ETH Zurich Distributed Computing www.disco.ethz.ch ICALP 2010 Roger Wattenhofer Spot the Differences Too Many! Spot the Differences Still Many! Spot the Differences Better Screen Bigger

More information

Thomas Moscibroda Roger Wattenhofer MASS Efficient Computation of Maximal Independent Sets in Unstructured Multi-Hop Radio Networks

Thomas Moscibroda Roger Wattenhofer MASS Efficient Computation of Maximal Independent Sets in Unstructured Multi-Hop Radio Networks Efficient Computation of Maximal Independent Sets in Unstructured Multi-Hop Radio Networks Thomas Moscibroda Roger Wattenhofer Distributed Computing Group MASS 2004 Algorithms for Ad Hoc and Sensor Networks...

More information

Fabian Kuhn. Nicla Bernasconi, Dan Hefetz, Angelika Steger

Fabian Kuhn. Nicla Bernasconi, Dan Hefetz, Angelika Steger Algorithms and Lower Bounds for Distributed Coloring Problems Fabian Kuhn Parts are joint work with Parts are joint work with Nicla Bernasconi, Dan Hefetz, Angelika Steger Given: Network = Graph G Distributed

More information

Lower and Upper bounds for Online Directed Graph Exploration

Lower and Upper bounds for Online Directed Graph Exploration Lower and Upper bounds for Online Directed Graph Exploration Klaus-Tycho Förster Roger Wattenhofer ETH Zurich Distributed Computing www.disco.ethz.ch @GRASTA-MAC 2015 When in Montreal Montreal: Full of

More information

Models of distributed computing: port numbering and local algorithms

Models of distributed computing: port numbering and local algorithms Models of distributed computing: port numbering and local algorithms Jukka Suomela Adaptive Computing Group Helsinki Institute for Information Technology HIIT University of Helsinki FMT seminar, 26 February

More information

Lower Bounds for. Local Approximation. Mika Göös, Juho Hirvonen & Jukka Suomela (HIIT) Göös et al. (HIIT) Local Approximation 2nd April / 19

Lower Bounds for. Local Approximation. Mika Göös, Juho Hirvonen & Jukka Suomela (HIIT) Göös et al. (HIIT) Local Approximation 2nd April / 19 Lower Bounds for Local Approximation Mika Göös, Juho Hirvonen & Jukka Suomela (HIIT) Göös et al. (HIIT) Local Approximation nd April 0 / 9 Lower Bounds for Local Approximation We prove: Local algorithms

More information

Chapter 5 Graph Algorithms Algorithm Theory WS 2012/13 Fabian Kuhn

Chapter 5 Graph Algorithms Algorithm Theory WS 2012/13 Fabian Kuhn Chapter 5 Graph Algorithms Algorithm Theory WS 2012/13 Fabian Kuhn Graphs Extremely important concept in computer science Graph, : node (or vertex) set : edge set Simple graph: no self loops, no multiple

More information

Exam Principles of Distributed Computing

Exam Principles of Distributed Computing Distributed Computing FS 2015 Prof. Dr. Roger Wattenhofer P. Bissig, P. Brandes, S. Brandt, K.T. Förster, B. Keller, M. König, L. Peer, J. Seidel, D. Stolz, J. Uitto Exam Principles of Distributed Computing

More information

Introduction to Graph Theory

Introduction to Graph Theory Introduction to Graph Theory Tandy Warnow January 20, 2017 Graphs Tandy Warnow Graphs A graph G = (V, E) is an object that contains a vertex set V and an edge set E. We also write V (G) to denote the vertex

More information

Graph Algorithms Matching

Graph Algorithms Matching Chapter 5 Graph Algorithms Matching Algorithm Theory WS 2012/13 Fabian Kuhn Circulation: Demands and Lower Bounds Given: Directed network, with Edge capacities 0and lower bounds l for Node demands for

More information

Efficient graph computing on the congested clique

Efficient graph computing on the congested clique University of Iowa Iowa Research Online Theses and Dissertations Fall 2016 Efficient graph computing on the congested clique Vivek Sardeshmukh University of Iowa Copyright 2016 Vivek Sardeshmukh This dissertation

More information

Wireless Networking Graph Theory Unplugged. Distributed Computing Group Roger Wattenhofer WG 2004

Wireless Networking Graph Theory Unplugged. Distributed Computing Group Roger Wattenhofer WG 2004 Wireless Networking Graph Theory Unplugged Distributed Computing Group Roger Wattenhofer WG 2004 Overview Introduction Ad-Hoc and Sensor Networks Routing / Broadcasting Clustering Topology Control Conclusions

More information

Distributed Coloring in. Kishore Kothapalli Department of Computer Science Johns Hopkins University Baltimore, MD USA

Distributed Coloring in. Kishore Kothapalli Department of Computer Science Johns Hopkins University Baltimore, MD USA Distributed Coloring in Bit Rounds Kishore Kothapalli Department of Computer Science Johns Hopkins University Baltimore, MD USA Vertex Coloring Proper coloring Not a Proper coloring 1 Coloring a Cycle

More information

Approximation Algorithms

Approximation Algorithms Chapter 8 Approximation Algorithms Algorithm Theory WS 2016/17 Fabian Kuhn Approximation Algorithms Optimization appears everywhere in computer science We have seen many examples, e.g.: scheduling jobs

More information

Optimisation While Streaming

Optimisation While Streaming Optimisation While Streaming Amit Chakrabarti Dartmouth College Joint work with S. Kale, A. Wirth DIMACS Workshop on Big Data Through the Lens of Sublinear Algorithms, Aug 2015 Combinatorial Optimisation

More information

Streaming verification of graph problems

Streaming verification of graph problems Streaming verification of graph problems Suresh Venkatasubramanian The University of Utah Joint work with Amirali Abdullah, Samira Daruki and Chitradeep Dutta Roy Outsourcing Computations We no longer

More information

Distributed approximation algorithms in unit-disk graphs

Distributed approximation algorithms in unit-disk graphs Distributed approximation algorithms in unit-disk graphs A. Czygrinow 1 and M. Hańćkowiak 2 1 Department of Mathematics and Statistics Arizona State University Tempe, AZ 85287-1804, USA andrzej@math.la.asu.edu

More information

No. (Betteridge's Law of Headlines)

No. (Betteridge's Law of Headlines) No. (Betteridge's Law of Headlines) Is There Any Practical Theory? Roger Wattenhofer ETH Zurich Distributed Computing www.disco.ethz.ch Theory & Practice OSDI Multimedia SenSys HotNets STOC SPAA FOCS PODC

More information

SGT Toolbox A Playground for Spectral Graph Theory

SGT Toolbox A Playground for Spectral Graph Theory Distributed Computing SGT Toolbox A Playground for Spectral Graph Theory Master s Thesis Michael König mikoenig@student.ethz.ch Distributed Computing Group Computer Engineering and Networks Laboratory

More information

Local Approximation Schemes for Ad Hoc and Sensor Networks

Local Approximation Schemes for Ad Hoc and Sensor Networks Local Approximation Schemes for Ad Hoc and Sensor Networks Fabian Kuhn Computer Engineering and Networks Laboratory ETH Zurich, Switzerland kuhn@tik.ee.ethz.ch Tim Nieberg Department of Applied Mathematics

More information

COMP 355 Advanced Algorithms Approximation Algorithms: VC and TSP Chapter 11 (KT) Section (CLRS)

COMP 355 Advanced Algorithms Approximation Algorithms: VC and TSP Chapter 11 (KT) Section (CLRS) COMP 355 Advanced Algorithms Approximation Algorithms: VC and TSP Chapter 11 (KT) Section 35.1-35.2(CLRS) 1 Coping with NP-Completeness Brute-force search: This is usually only a viable option for small

More information

On Covering a Graph Optimally with Induced Subgraphs

On Covering a Graph Optimally with Induced Subgraphs On Covering a Graph Optimally with Induced Subgraphs Shripad Thite April 1, 006 Abstract We consider the problem of covering a graph with a given number of induced subgraphs so that the maximum number

More information

1 The Traveling Salesperson Problem (TSP)

1 The Traveling Salesperson Problem (TSP) CS 598CSC: Approximation Algorithms Lecture date: January 23, 2009 Instructor: Chandra Chekuri Scribe: Sungjin Im In the previous lecture, we had a quick overview of several basic aspects of approximation

More information

Lecture 5. Figure 1: The colored edges indicate the member edges of several maximal matchings of the given graph.

Lecture 5. Figure 1: The colored edges indicate the member edges of several maximal matchings of the given graph. 5.859-Z Algorithmic Superpower Randomization September 25, 204 Lecture 5 Lecturer: Bernhard Haeupler Scribe: Neil Shah Overview The next 2 lectures are on the topic of distributed computing there are lots

More information

Maximal Independent Set

Maximal Independent Set Chapter 0 Maximal Independent Set In this chapter we present a highlight of this course, a fast maximal independent set (MIS) algorithm. The algorithm is the first randomized algorithm that we study in

More information

Distributed Minimum Dominating Set Approximations in Restricted Families of Graphs

Distributed Minimum Dominating Set Approximations in Restricted Families of Graphs Distributed Computing manuscript No. (will be inserted by the editor) Distributed Minimum Dominating Set Approximations in Restricted Families of Graphs Christoph Lenzen Yvonne-Anne Pignolet Roger Wattenhofer

More information

Draft Notes 1 : Scaling in Ad hoc Routing Protocols

Draft Notes 1 : Scaling in Ad hoc Routing Protocols Draft Notes 1 : Scaling in Ad hoc Routing Protocols Timothy X Brown University of Colorado April 2, 2008 2 Introduction What is the best network wireless network routing protocol? This question is a function

More information

Chapter 8 DOMINATING SETS

Chapter 8 DOMINATING SETS Chapter 8 DOMINATING SETS Distributed Computing Group Mobile Computing Summer 2004 Overview Motivation Dominating Set Connected Dominating Set The Greedy Algorithm The Tree Growing Algorithm The Marking

More information

Chapter 8 DOMINATING SETS

Chapter 8 DOMINATING SETS Distributed Computing Group Chapter 8 DOMINATING SETS Mobile Computing Summer 2004 Overview Motivation Dominating Set Connected Dominating Set The Greedy Algorithm The Tree Growing Algorithm The Marking

More information

INDIAN STATISTICAL INSTITUTE

INDIAN STATISTICAL INSTITUTE INDIAN STATISTICAL INSTITUTE Mid Semestral Examination M. Tech (CS) - I Year, 2016-2017 (Semester - II) Design and Analysis of Algorithms Date : 21.02.2017 Maximum Marks : 60 Duration : 3.0 Hours Note:

More information

Local Computation Algorithms

Local Computation Algorithms TEL-AVIV UNIVERSITY RAYMOND AND BEVERLY SACKLER FACULTY OF EXACT SCIENCES BLAVATNIK SCHOOL OF COMPUTER SCIENCE Local Computation Algorithms Thesis submitted in partial fulfillment of the requirements for

More information

arxiv: v1 [cs.dc] 13 Oct 2008

arxiv: v1 [cs.dc] 13 Oct 2008 A SIMPLE LOCAL 3-APPROXIMATION ALGORITHM FOR VERTEX COVER VALENTIN POLISHCHUK AND JUKKA SUOMELA arxiv:0810.2175v1 [cs.dc] 13 Oct 2008 Abstract. We present a local algorithm (constant-time distributed algorithm)

More information

A O (log n ) Distributed Algorithm to Construct Routing Structures for Pub/Sub Systems. Volker Turau. November 6th, 2018

A O (log n ) Distributed Algorithm to Construct Routing Structures for Pub/Sub Systems. Volker Turau. November 6th, 2018 A O (log n ) Distributed Algorithm to Construct Routing Structures for Pub/Sub Systems Volker Turau 20th Int. Symposium on Stabilization, Safety, and Security of Distributed Systems November 6th, 2018

More information

Comparing the strength of query types in property testing: The case of testing k-colorability

Comparing the strength of query types in property testing: The case of testing k-colorability Comparing the strength of query types in property testing: The case of testing k-colorability Ido Ben-Eliezer Tali Kaufman Michael Krivelevich Dana Ron Abstract We study the power of four query models

More information

Facility Location: Distributed Approximation

Facility Location: Distributed Approximation Faility Loation: Distributed Approximation Thomas Mosibroda Roger Wattenhofer Distributed Computing Group PODC 2005 Where to plae ahes in the Internet? A distributed appliation that has to dynamially plae

More information

Distributed Maximal Matching: Greedy is Optimal

Distributed Maximal Matching: Greedy is Optimal Distributed Maximal Matching: Greedy is Optimal Jukka Suomela Helsinki Institute for Information Technology HIIT University of Helsinki Joint work with Juho Hirvonen Weimann Institute of Science, 7 November

More information

Distributed Graph Algorithms for Planar Networks

Distributed Graph Algorithms for Planar Networks Bernhard Haeupler CMU joint work with Mohsen Ghaffari (MIT) ADGA, Austin, October 12th 2014 Distributed: CONGEST(log n) model Distributed: CONGEST(log n) model Network Optimization Problems: shortest path

More information

Near-Optimal Distributed Approximation of Minimum-Weight Connected Dominating Set

Near-Optimal Distributed Approximation of Minimum-Weight Connected Dominating Set Near-Optimal Distributed Approximation of Minimum-Weight Connected Dominating Set Mohsen Ghaffari MIT ghaffari@mit.edu Abstract This paper presents a near-optimal distributed approximation algorithm for

More information

Dr. Amotz Bar-Noy s Compendium of Algorithms Problems. Problems, Hints, and Solutions

Dr. Amotz Bar-Noy s Compendium of Algorithms Problems. Problems, Hints, and Solutions Dr. Amotz Bar-Noy s Compendium of Algorithms Problems Problems, Hints, and Solutions Chapter 1 Searching and Sorting Problems 1 1.1 Array with One Missing 1.1.1 Problem Let A = A[1],..., A[n] be an array

More information

COMP Analysis of Algorithms & Data Structures

COMP Analysis of Algorithms & Data Structures COMP 3170 - Analysis of Algorithms & Data Structures Shahin Kamali Approximation Algorithms CLRS 35.1-35.5 University of Manitoba COMP 3170 - Analysis of Algorithms & Data Structures 1 / 30 Approaching

More information

Optimal Deterministic Routing and Sorting on the Congested Clique

Optimal Deterministic Routing and Sorting on the Congested Clique Optimal Deterministic Routing and Sorting on the Congested Clique Christoph Lenzen Massachusetts Institute of Technology 32 Vassar Street 02139 Cambridge, USA clenzen@csail.mit.edu ABSTRACT Consider a

More information

GRAAL/AEOLUS School on Hot Topics in Network Algorithms. Algorithms for Sensor Networks Roger Wattenhofer 2/1

GRAAL/AEOLUS School on Hot Topics in Network Algorithms. Algorithms for Sensor Networks Roger Wattenhofer 2/1 Algorithms for Sensor Networks GRAAL/AEOLUS School on Hot Topics in Network Algorithms Algorithms for Sensor Networks Roger Wattenhofer 2/1 Sensor Networks = Distributed Algorithms? Reloaded Distributed

More information

Lecture 4: Graph Algorithms

Lecture 4: Graph Algorithms Lecture 4: Graph Algorithms Definitions Undirected graph: G =(V, E) V finite set of vertices, E finite set of edges any edge e = (u,v) is an unordered pair Directed graph: edges are ordered pairs If e

More information

A synchronizer generates sequences of clock pulses at each node of the network satisfying the condition given by the following definition.

A synchronizer generates sequences of clock pulses at each node of the network satisfying the condition given by the following definition. Chapter 8 Synchronizers So far, we have mainly studied synchronous algorithms because generally, asynchronous algorithms are often more di cult to obtain and it is substantially harder to reason about

More information

Approximation Algorithms

Approximation Algorithms Approximation Algorithms Subhash Suri June 5, 2018 1 Figure of Merit: Performance Ratio Suppose we are working on an optimization problem in which each potential solution has a positive cost, and we want

More information

Local Computation: Lower and Upper Bounds

Local Computation: Lower and Upper Bounds Local Computation: Lower and Upper Bounds FABIAN KUHN, University of Freiburg, Germany THOMAS MOSCIBRODA, Microsoft Research, Beijing, China ROGER WATTENHOFER, ETH Zurich, Switzerland The question of what

More information

Given a graph, find an embedding s.t. greedy routing works

Given 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 information

Maximal Independent Set

Maximal Independent Set Chapter 4 Maximal Independent Set In this chapter we present a first highlight of this course, a fast maximal independent set (MIS) algorithm. The algorithm is the first randomized algorithm that we study

More information

Λέων-Χαράλαμπος Σταματάρης

Λέων-Χαράλαμπος Σταματάρης Λέων-Χαράλαμπος Σταματάρης INTRODUCTION Two classical problems of information dissemination in computer networks: The broadcasting problem: Distributing a particular message from a distinguished source

More information

Solutions for the Exam 6 January 2014

Solutions for the Exam 6 January 2014 Mastermath and LNMB Course: Discrete Optimization Solutions for the Exam 6 January 2014 Utrecht University, Educatorium, 13:30 16:30 The examination lasts 3 hours. Grading will be done before January 20,

More information

Fast Computing in Networks with Limited Bandwidth

Fast Computing in Networks with Limited Bandwidth DOCTORAL DISSERTATION Fast Computing in Networks with Limited Bandwidth PHD PROGRAM IN COMPUTER SCIENCE Ph.D. candidate: Supervisor: Dennis OLIVETTI dennis.olivetti@gssi.it Prof. PIERRE FRAIGNIAUD pierre.fraigniaud@irif.fr

More information

Distributed Systems. Basic Algorithms. Rik Sarkar. University of Edinburgh 2015/2016

Distributed Systems. Basic Algorithms. Rik Sarkar. University of Edinburgh 2015/2016 Distributed Systems Basic Algorithms Rik Sarkar University of Edinburgh 2015/2016 Distributed ComputaEon Ref: NL How to send messages to all nodes efficiently How to compute sums of values at all nodes

More information

Distributed Systems. Basic Algorithms. Rik Sarkar. University of Edinburgh 2016/2017

Distributed Systems. Basic Algorithms. Rik Sarkar. University of Edinburgh 2016/2017 Distributed Systems Basic Algorithms Rik Sarkar University of Edinburgh 2016/2017 Distributed ComputaEon Ref: NL How to send messages to all nodes efficiently How to compute sums of values at all nodes

More information

Superconcentrators of depth 2 and 3; odd levels help (rarely)

Superconcentrators of depth 2 and 3; odd levels help (rarely) Superconcentrators of depth 2 and 3; odd levels help (rarely) Noga Alon Bellcore, Morristown, NJ, 07960, USA and Department of Mathematics Raymond and Beverly Sackler Faculty of Exact Sciences Tel Aviv

More information

Bipartite Vertex Cover

Bipartite Vertex Cover Bipartite Vertex Cover Mika Göös Jukka Suomela University of Toronto & HIIT University of Helsinki & HIIT Göös and Suomela Bipartite Vertex Cover 18th October 2012 1 / 12 LOCAL model Göös and Suomela Bipartite

More information

Graph theory. Po-Shen Loh. June We begin by collecting some basic facts which can be proved via bare-hands techniques.

Graph theory. Po-Shen Loh. June We begin by collecting some basic facts which can be proved via bare-hands techniques. Graph theory Po-Shen Loh June 013 1 Basic results We begin by collecting some basic facts which can be proved via bare-hands techniques. 1. The sum of all of the degrees is equal to twice the number of

More information

Symmetry breaking depending on the chromatic number or the neighborhood growth

Symmetry breaking depending on the chromatic number or the neighborhood growth Accepted Manuscript Symmetry breaking depending on the chromatic number or the neighborhood growth Johannes Schneider, Michael Elkin, Roger Wattenhofer PII: S0304-3975(12)00824-9 DOI: 10.1016/j.tcs.2012.09.004

More information

Throughout this course, we use the terms vertex and node interchangeably.

Throughout this course, we use the terms vertex and node interchangeably. Chapter Vertex Coloring. Introduction Vertex coloring is an infamous graph theory problem. It is also a useful toy example to see the style of this course already in the first lecture. Vertex coloring

More information

Approximating Node-Weighted Multicast Trees in Wireless Ad-Hoc Networks

Approximating Node-Weighted Multicast Trees in Wireless Ad-Hoc Networks Approximating Node-Weighted Multicast Trees in Wireless Ad-Hoc Networks Thomas Erlebach Department of Computer Science University of Leicester, UK te17@mcs.le.ac.uk Ambreen Shahnaz Department of Computer

More information

Parallel Breadth First Search

Parallel Breadth First Search CSE341T/CSE549T 11/03/2014 Lecture 18 Parallel Breadth First Search Today, we will look at a basic graph algorithm, breadth first search (BFS). BFS can be applied to solve a variety of problems including:

More information

Online Graph Exploration

Online Graph Exploration Distributed Computing Online Graph Exploration Semester thesis Simon Hungerbühler simonhu@ethz.ch Distributed Computing Group Computer Engineering and Networks Laboratory ETH Zürich Supervisors: Sebastian

More information

arxiv: v1 [cs.ds] 10 Apr 2017

arxiv: v1 [cs.ds] 10 Apr 2017 Deterministic Distributed Edge-Coloring via Hypergraph Maximal Matching arxiv:1704.02767v1 [cs.ds] 10 Apr 2017 Manuela Fischer ETH Zurich manuela.fischer@inf.ethz.ch Mohsen Ghaffari ETH Zurich ghaffari@inf.ethz.ch

More information

Problem 1. Which of the following is true of functions =100 +log and = + log? Problem 2. Which of the following is true of functions = 2 and =3?

Problem 1. Which of the following is true of functions =100 +log and = + log? Problem 2. Which of the following is true of functions = 2 and =3? Multiple-choice Problems: Problem 1. Which of the following is true of functions =100+log and =+log? a) = b) =Ω c) =Θ d) All of the above e) None of the above Problem 2. Which of the following is true

More information

Recitation 13. Minimum Spanning Trees Announcements. SegmentLab has been released, and is due Friday, November 17. It s worth 135 points.

Recitation 13. Minimum Spanning Trees Announcements. SegmentLab has been released, and is due Friday, November 17. It s worth 135 points. Recitation 13 Minimum Spanning Trees 13.1 Announcements SegmentLab has been released, and is due Friday, November 17. It s worth 135 points. 73 74 RECITATION 13. MINIMUM SPANNING TREES 13.2 Prim s Algorithm

More information

Algorithmic Problems Related to Internet Graphs

Algorithmic Problems Related to Internet Graphs Algorithmic Problems Related to Internet Graphs Thomas Erlebach Based on joint work with: Zuzana Beerliova, Pino Di Battista, Felix Eberhard, Alexander Hall, Michael Hoffmann, Matúš Mihal ák, Alessandro

More information

Distributed Algorithms. Partha Sarathi Mandal Department of Mathematics IIT Guwahati

Distributed Algorithms. Partha Sarathi Mandal Department of Mathematics IIT Guwahati Distributed Algorithms Partha Sarathi Mandal Department of Mathematics IIT Guwahati Thanks to Dr. Sukumar Ghosh for the slides Distributed Algorithms Distributed algorithms for various graph theoretic

More information

15-451/651: Design & Analysis of Algorithms November 4, 2015 Lecture #18 last changed: November 22, 2015

15-451/651: Design & Analysis of Algorithms November 4, 2015 Lecture #18 last changed: November 22, 2015 15-451/651: Design & Analysis of Algorithms November 4, 2015 Lecture #18 last changed: November 22, 2015 While we have good algorithms for many optimization problems, the previous lecture showed that many

More information

arxiv: v1 [cs.ds] 24 Nov 2017

arxiv: v1 [cs.ds] 24 Nov 2017 Lower Bounds for Symbolic Computation on Graphs: Strongly Connected Components, Liveness, Safety, and Diameter Krishnendu Chatterjee 1, Wolfgang Dvořák 2, Monika Henzinger 3, and Veronika Loitzenbauer

More information

A Time- and Message-Optimal Distributed Algorithm for Minimum Spanning Trees

A Time- and Message-Optimal Distributed Algorithm for Minimum Spanning Trees A Time- and Message-Optimal Distributed Algorithm for Minimum Spanning Trees Gopal Pandurangan University of Houston Houston, TX, USA gopalpandurangan@gmail.com ABSTRACT This paper presents a randomized

More information

Lecture 6: Linear Programming for Sparsest Cut

Lecture 6: Linear Programming for Sparsest Cut Lecture 6: Linear Programming for Sparsest Cut Sparsest Cut and SOS The SOS hierarchy captures the algorithms for sparsest cut, but they were discovered directly without thinking about SOS (and this is

More information

Minimum Dominating Set Approximation in Graphs of Bounded Arboricity

Minimum Dominating Set Approximation in Graphs of Bounded Arboricity Minimum Dominating Set Approximation in Graphs of Bounded Arboricity Christoph Lenzen and Roger Wattenhofer Computer Engineering and Networks Laboratory (TIK) ETH Zurich {lenzen,wattenhofer}@tik.ee.ethz.ch

More information

Communication Networks I December 4, 2001 Agenda Graph theory notation Trees Shortest path algorithms Distributed, asynchronous algorithms Page 1

Communication Networks I December 4, 2001 Agenda Graph theory notation Trees Shortest path algorithms Distributed, asynchronous algorithms Page 1 Communication Networks I December, Agenda Graph theory notation Trees Shortest path algorithms Distributed, asynchronous algorithms Page Communication Networks I December, Notation G = (V,E) denotes a

More information

Welcome to the course Algorithm Design

Welcome to the course Algorithm Design Welcome to the course Algorithm Design Summer Term 2011 Friedhelm Meyer auf der Heide Lecture 13, 15.7.2011 Friedhelm Meyer auf der Heide 1 Topics - Divide & conquer - Dynamic programming - Greedy Algorithms

More information

1 Introduction and Results

1 Introduction and Results On the Structure of Graphs with Large Minimum Bisection Cristina G. Fernandes 1,, Tina Janne Schmidt,, and Anusch Taraz, 1 Instituto de Matemática e Estatística, Universidade de São Paulo, Brazil, cris@ime.usp.br

More information

Vertex Coloring. Chapter Problem & Model 6 CHAPTER 1. VERTEX COLORING. Figure 1.2: 3-colorable graph with a valid coloring.

Vertex Coloring. Chapter Problem & Model 6 CHAPTER 1. VERTEX COLORING. Figure 1.2: 3-colorable graph with a valid coloring. 6 CHAPTER 1. VERTEX COLORING 1 2 Chapter 1 Vertex Coloring Vertex coloring is an infamous graph theory problem. It is also a useful toy example to see the style of this course already in the first lecture.

More information

Routing. Chapter 11. Ad Hoc and Sensor Networks Roger Wattenhofer 11/1

Routing. Chapter 11. Ad Hoc and Sensor Networks Roger Wattenhofer 11/1 Routing Chapter 11 Ad Hoc and Sensor Networks Roger Wattenhofer 11/1 Application of the Week: Games / Art Uncountable possibilities, below, e.g., a beer coaster that can interact with other coasters [sentilla]

More information

Distributed algorithms for weighted problems in minor-closed families

Distributed algorithms for weighted problems in minor-closed families Distributed algorithms for weighted problems in minor-closed families A. Czygrinow Department of Math and Stat Arizona State University Email:andrzej@math.la.asu.edu. M. Hańćkowiak Faculty of Math and

More information

Streaming Algorithms for Matching Size in Sparse Graphs

Streaming Algorithms for Matching Size in Sparse Graphs Streaming Algorithms for Matching Size in Sparse Graphs Graham Cormode g.cormode@warwick.ac.uk Joint work with S. Muthukrishnan (Rutgers), Morteza Monemizadeh (Rutgers Amazon) Hossein Jowhari (Warwick

More information

Sub-exponential Approximation Schemes: From Dense to Almost-Sparse. Dimitris Fotakis Michael Lampis Vangelis Paschos

Sub-exponential Approximation Schemes: From Dense to Almost-Sparse. Dimitris Fotakis Michael Lampis Vangelis Paschos Sub-exponential Approximation Schemes: From Dense to Almost-Sparse Dimitris Fotakis Michael Lampis Vangelis Paschos NTU Athens Université Paris Dauphine Feb 18, STACS 2016 Motivation Sub-Exponential Approximation

More information

Graph Contraction. Graph Contraction CSE341T/CSE549T 10/20/2014. Lecture 14

Graph Contraction. Graph Contraction CSE341T/CSE549T 10/20/2014. Lecture 14 CSE341T/CSE549T 10/20/2014 Lecture 14 Graph Contraction Graph Contraction So far we have mostly talking about standard techniques for solving problems on graphs that were developed in the context of sequential

More information

Testing Bipartiteness of Geometric Intersection Graphs David Eppstein

Testing Bipartiteness of Geometric Intersection Graphs David Eppstein Testing Bipartiteness of Geometric Intersection Graphs David Eppstein Univ. of California, Irvine School of Information and Computer Science Intersection Graphs Given arrangement of geometric objects,

More information

Improved Distributed Degree Splitting and Edge Coloring

Improved Distributed Degree Splitting and Edge Coloring Improved Distributed Degree Splitting and Edge Coloring arxiv:1706.04746v1 [cs.dc] 15 Jun 2017 Mohsen Ghaffari ETH Zurich ghaffari@inf.ethz.ch Juho Hirvonen IRIF, CNRS, and University Paris Diderot juho.hirvonen@irif.fr

More information

Sub-exponential Approximation Schemes: From Dense to Almost-Sparse. Dimitris Fotakis Michael Lampis Vangelis Paschos

Sub-exponential Approximation Schemes: From Dense to Almost-Sparse. Dimitris Fotakis Michael Lampis Vangelis Paschos Sub-exponential Approximation Schemes: From Dense to Almost-Sparse Dimitris Fotakis Michael Lampis Vangelis Paschos NTU Athens Université Paris Dauphine Nov 5, 2015 Overview Things you will hear in this

More information

On communication complexity of classification

On communication complexity of classification On communication complexity of classification Shay Moran (Princeton) Joint with Daniel Kane (UCSD), Roi Livni (TAU), and Amir Yehudayoff (Technion) Warmup (i): convex set disjointness Alice s input: n

More information

6.852 Lecture 10. Minimum spanning tree. Reading: Chapter 15.5, Gallager-Humblet-Spira paper. Gallager-Humblet-Spira algorithm

6.852 Lecture 10. Minimum spanning tree. Reading: Chapter 15.5, Gallager-Humblet-Spira paper. Gallager-Humblet-Spira algorithm 6.852 Lecture 10 Gallager-Humblet-Spira algorithm Reading: Chapter 15.5, Gallager-Humblet-Spira paper Assume undirected graph (i.e., bidirectional communication) distinct edge weights size and diameter

More information

Clearly there is a close relation between the radius R and the diameter D of a graph, such as R D 2R.

Clearly there is a close relation between the radius R and the diameter D of a graph, such as R D 2R. Chapter 2 Tree Algorithms In this chapter we learn a few basic algorithms on trees, and how to construct trees in the first place so that we can run these (and other) algorithms. The good news is that

More information

Graph Theory S 1 I 2 I 1 S 2 I 1 I 2

Graph Theory S 1 I 2 I 1 S 2 I 1 I 2 Graph Theory S I I S S I I S Graphs Definition A graph G is a pair consisting of a vertex set V (G), and an edge set E(G) ( ) V (G). x and y are the endpoints of edge e = {x, y}. They are called adjacent

More information

On the Cell Probe Complexity of Dynamic Membership or

On the Cell Probe Complexity of Dynamic Membership or On the Cell Probe Complexity of Dynamic Membership or Can We Batch Up Updates in External Memory? Ke Yi and Qin Zhang Hong Kong University of Science & Technology SODA 2010 Jan. 17, 2010 1-1 The power

More information

Technical University of Denmark

Technical University of Denmark Technical University of Denmark Written examination, May 7, 27. Course name: Algorithms and Data Structures Course number: 2326 Aids: Written aids. It is not permitted to bring a calculator. Duration:

More information

MAXIMAL PLANAR SUBGRAPHS OF FIXED GIRTH IN RANDOM GRAPHS

MAXIMAL PLANAR SUBGRAPHS OF FIXED GIRTH IN RANDOM GRAPHS MAXIMAL PLANAR SUBGRAPHS OF FIXED GIRTH IN RANDOM GRAPHS MANUEL FERNÁNDEZ, NICHOLAS SIEGER, AND MICHAEL TAIT Abstract. In 99, Bollobás and Frieze showed that the threshold for G n,p to contain a spanning

More information

Semi-Streaming Algorithms for Annotated Graph Streams. Justin Thaler, Yahoo Labs

Semi-Streaming Algorithms for Annotated Graph Streams. Justin Thaler, Yahoo Labs Semi-Streaming Algorithms for Annotated Graph Streams Justin Thaler, Yahoo Labs Data Streaming Model Stream: m elements from universe of size N e.g., = 3,5,3,7,5,4,8,7,5,4,8,6,3,2,

More information

The Power of Orientation in Symmetry-Breaking

The Power of Orientation in Symmetry-Breaking 2010 24th IEEE International Conference on Advanced Information Networking and Applications The Power of Orientation in Symmetry-Breaking Satya Krishna Pindiproli and Kishore Kothapalli Center for Security,

More information

WUCT121. Discrete Mathematics. Graphs

WUCT121. Discrete Mathematics. Graphs WUCT121 Discrete Mathematics Graphs WUCT121 Graphs 1 Section 1. Graphs 1.1. Introduction Graphs are used in many fields that require analysis of routes between locations. These areas include communications,

More information

Analysis of Link Reversal Routing Algorithms for Mobile Ad Hoc Networks

Analysis of Link Reversal Routing Algorithms for Mobile Ad Hoc Networks Analysis of Link Reversal Routing Algorithms for Mobile Ad Hoc Networks Seminar of Distributed Computing WS 04/05 ETH Zurich, 1.2.2005 Nicolas Born nborn@student.ethz.ch Paper Analysis of Link Reversal

More information

Introduction to Parallel & Distributed Computing Parallel Graph Algorithms

Introduction to Parallel & Distributed Computing Parallel Graph Algorithms Introduction to Parallel & Distributed Computing Parallel Graph Algorithms Lecture 16, Spring 2014 Instructor: 罗国杰 gluo@pku.edu.cn In This Lecture Parallel formulations of some important and fundamental

More information

Greedy algorithms is another useful way for solving optimization problems.

Greedy algorithms is another useful way for solving optimization problems. Greedy Algorithms Greedy algorithms is another useful way for solving optimization problems. Optimization Problems For the given input, we are seeking solutions that must satisfy certain conditions. These

More information

Fast Clustering using MapReduce

Fast Clustering using MapReduce Fast Clustering using MapReduce Alina Ene, Sungjin Im, Benjamin Moseley UIUC KDD 2011 Clustering Massive Data Group web pages based on their content Group users based on their online behavior Finding communities

More information

Distributed Algorithms 6.046J, Spring, Nancy Lynch

Distributed Algorithms 6.046J, Spring, Nancy Lynch Distributed Algorithms 6.046J, Spring, 205 Nancy Lynch What are Distributed Algorithms? Algorithms that run on networked processors, or on multiprocessors that share memory. They solve many kinds of problems:

More information

Lesson 2 7 Graph Partitioning

Lesson 2 7 Graph Partitioning Lesson 2 7 Graph Partitioning The Graph Partitioning Problem Look at the problem from a different angle: Let s multiply a sparse matrix A by a vector X. Recall the duality between matrices and graphs:

More information

Sankalchand Patel College of Engineering - Visnagar Department of Computer Engineering and Information Technology. Assignment

Sankalchand Patel College of Engineering - Visnagar Department of Computer Engineering and Information Technology. Assignment Class: V - CE Sankalchand Patel College of Engineering - Visnagar Department of Computer Engineering and Information Technology Sub: Design and Analysis of Algorithms Analysis of Algorithm: Assignment

More information