Yuval Peres Dmitry Sotnikov Benny Sudakov Uri Zwick (武熠)

Slides:



Advertisements
Similar presentations
The Primal-Dual Method: Steiner Forest TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A A AA A A A AA A A.
Advertisements

C&O 355 Lecture 22 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A A A A A A A A A.
Min-Max Relations, Hall’s Theorem, and Matching-Algorithms Graphs & Algorithms Lecture 5 TexPoint fonts used in EMF. Read the TexPoint manual before you.
Single Source Shortest Paths
all-pairs shortest paths in undirected graphs
Chapter 9: Graphs Shortest Paths
Walks, Paths and Circuits Walks, Paths and Circuits Sanjay Jain, Lecturer, School of Computing.
David Wilson – Microsoft Research Uri Zwick – Tel Aviv Univ. A Forward-Backward Single-Source Shortest Paths Algorithm TexPoint fonts used in EMF. Read.
The Greedy Approach Chapter 8. The Greedy Approach It’s a design technique for solving optimization problems Based on finding optimal local solutions.
Lecture 6 Shortest Path Problem. s t Dynamic Programming.
Dynamic All Pairs Shortest Paths Based on the following resources: Camil Demetrescu and Giuseppe F. Italiano (2004) A New Approach to Dynamic All Pairs.
CSCI 3160 Design and Analysis of Algorithms Tutorial 2 Chengyu Lin.
Noga Alon Institute for Advanced Study and Tel Aviv University
1 Shortest Path Algorithms Given a graph G = (V, E) and a distinguished vertex s, find the shortest weighted path from s to every other vertex in G. weighted.
Tirgul 12 Algorithm for Single-Source-Shortest-Paths (s-s-s-p) Problem Application of s-s-s-p for Solving a System of Difference Constraints.
Coloring the edges of a random graph without a monochromatic giant component Reto Spöhel (joint with Angelika Steger and Henning Thomas) TexPoint fonts.
Dynamic Shortest Paths Camil Demetrescu University of Rome “La Sapienza” Giuseppe F. Italiano University of Rome “Tor Vergata”
1 On Dynamic Shortest Paths Problems Liam Roditty Uri Zwick Tel Aviv University ESA 2004.
Greedy Algorithms Reading Material: Chapter 8 (Except Section 8.5)
Improved dynamic reachability algorithms for directed graphs Liam Roditty and Uri Zwick Tel Aviv University.
Shortest Path Problems Directed weighted graph. Path length is sum of weights of edges on path. The vertex at which the path begins is the source vertex.
Graph Algorithms: Shortest Path We are given a weighted, directed graph G = (V, E), with weight function w: E R mapping.
Greedy Algorithms Like dynamic programming algorithms, greedy algorithms are usually designed to solve optimization problems Unlike dynamic programming.
Small Subgraphs in Random Graphs and the Power of Multiple Choices The Online Case Torsten Mütze, ETH Zürich Joint work with Reto Spöhel and Henning Thomas.
Approximate Distance Oracles for Geometric Spanner Networks Joachim Gudmundsson TUE, Netherlands Christos Levcopoulos Lund U., Sweden Giri Narasimhan Florida.
Tools for Planar Networks Grigorios Prasinos and Christos Zaroliagis CTI/University of Patras 3 rd Amore Research Seminar – Oegstgeest, The Netherlands,
cover times, blanket times, and majorizing measures Jian Ding U. C. Berkeley James R. Lee University of Washington Yuval Peres Microsoft Research TexPoint.
Dynamic Single-source Shortest Paths Camil Demetrescu University of Rome “La Sapienza”
Using Dijkstra’s Algorithm to Find a Shortest Path from a to z 1.
Small subgraphs in the Achlioptas process Reto Spöhel, ETH Zürich Joint work with Torsten Mütze and Henning Thomas TexPoint fonts used in EMF. Read the.
Distributed Coloring Discrete Mathematics and Algorithms Seminar Melih Onus November
Expanders via Random Spanning Trees R 許榮財 R 黃佳婷 R 黃怡嘉.
Distance sensitivity oracles in weighted directed graphs Raphael Yuster University of Haifa Joint work with Oren Weimann Weizmann inst.
All-Pairs Shortest Paths & Essential Subgraph 01/25/2005 Jinil Han.
Approximate Distance Oracles Mikkel Thorup and Uri Zwick Presented By Shiri Chechik.
Shortest Paths and Dijkstra’s Algorithm CS 105. SSSP Slide 2 Single-source shortest paths Given a weighted graph G and a source vertex v in G, determine.
Shortest Path Algorithms. Definitions Variants  Single-source shortest-paths problem: Given a graph, finding a shortest path from a given source.
Partial Soluti on and Entropy Tadao Takaoka Department of Computer Science University of Canterbury Christchurch, New Zealand.
Analysis of Algorithms Uri Zwick March 2014 Dynamic All-Pairs Shortest-Paths 1 TexPoint fonts used in EMF. Read the TexPoint manual before you delete this.
Avoiding small subgraphs in the Achlioptas process Torsten Mütze, ETH Zürich Joint work with Reto Spöhel and Henning Thomas TexPoint fonts used in EMF.
Graphs Definition: a graph is an abstract representation of a set of objects where some pairs of the objects are connected by links. The interconnected.
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.
Improved Randomized Algorithms for Path Problems in Graphs
Chapter 7: Greedy Algorithms
Shortest Path Problems
Unweighted Shortest Path Neil Tang 3/11/2010
David Wilson – Microsoft Research Uri Zwick – Tel Aviv Univ.
Enumerating Distances Using Spanners of Bounded Degree
Randomized Algorithms CS648
Analysis of Algorithms
Secular session of 2nd FILOFOCS April 10, 2013
Uri Zwick – Tel Aviv Univ.
Lecture 6 Shortest Path Problem.
Discounted Deterministic Markov Decision Processes
Mike Paterson Yuval Peres Mikkel Thorup Peter Winkler Uri Zwick
Improved dynamic reachability algorithms for directed graphs
Shortest Path Problems
Shortest Path Algorithms
Analysis of Algorithms
Raphael Yuster Haifa University Uri Zwick Tel Aviv University
Single-source shortest paths
All pairs shortest path problem
Graph Algorithms: Shortest Path
CSE 417: Algorithms and Computational Complexity
Answering distance queries in directed graphs using fast matrix multiplication Raphael Yuster Haifa University Uri Zwick Tel Aviv University.
New Jersey, October 9-11, 2016 Field of theoretical computer science
Lecture 12 Shortest Path.
Chapter 9: Graphs Shortest Paths
Analysis of Algorithms
Presentation transcript:

Yuval Peres Dmitry Sotnikov Benny Sudakov Uri Zwick (武熠) All-Pairs Shortest Paths in O(n2) time with high probability expected Yuval Peres Dmitry Sotnikov Benny Sudakov Uri Zwick (武熠) TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAAAA

All-Pairs Shortest Paths in weighted directed graphs Worst case results Authors Time bound n  Dijkstra mn + n2 log n Pettie (2004) mn + n2 log log n KKP (1993) McGeoch (1995) m*n + n2 log n Chan (2007)  n3 / log2n m*  no. of edges participating in shortest paths

All-Pairs Shortest Paths in randomly weighted complete directed graphs Expected running times (some with high probability) Authors Expected Time bound Spira (1973) n2 log2 n Bloniarz (1983) n2 log n log* n Moffat and Takaoka (1987) Mehlhorn and Priebe (1997) n2 log n Hassin and Zemel (1985) Frieze and Grimmett (1985) First three results hold in the endpoint independent model Can we get rid of the log factor ??? Not (only) a data structures problem

Distances in randomly weighted graphs [Davis-Prieditis 1993] [Janson 1999] Uniform distribution U[0,1] Exp. distribution EXP(1) Memoryless!

Distances

All-Pairs Shortest Paths in weighted directed graphs Dynamic vertex updates Authors Update time Demetrescu-Italiano (2004) n2 (amortized) Thorup (2005) n2.75 (worst case) Random edge updates Authors Update time Friedrich-Hebbinghaus (2008) n (expected) * (2010) log2 n (expected)

Locally Shortest Paths (LSPs) Demetrescu-Italiano (2004) shortest path shortest path  is a LSP iff l[] and r[] are SP A LSP is not necessarily a SPs

Shortest Path Extensions L[] - Left SP extensions shortest path  R[] - Right SP extensions

Demetrescu-Italiano (2004) (Static version) Run Dijkstra “in parallel” from all vertices Consider only LSPs Keep left and right extensions of SPs found Keep candidate SPs in a priority queue

Demetrescu-Italiano (2004) (Static version) New shortest path 

Demetrescu-Italiano (2004) New implementation and analysis Running time: Show that: Implement a priority queue with

… Bucket based (approx.) priority queue O(1) amortized cost per operation Algorithm remains correct

Expected number of LSPs LSPs of length 1: LSPs of length 2: LSPs of length  3:

The events are not independent ! LSPs of length 2 The events are not independent !

LSPs of length 2 Subgraph of size n/2 Subgraph of size n/2

But, the events are dependent … LSPs of length  3 But, the events are dependent …

Distance from b to c avoiding a LSPs of length  3 Distance from b to c avoiding a

LSPs of length  3 Choose all edge weights except Then choose

LSPs of length  3

High probability bound on #LSPs

Short and long SPs and LSPs

SPs and LSPs

Long LSPs New Lemma:

Efron-Stein inequality (1981) Number of short LSPs passing through ei

Short SPs passing through e … … New Lemma 2:

Number of vertices at a given distance New Lemma 2: Use a large deviation theorem of Maurer (2003)

Large (under) deviations theorem [Maurer 2003]

Open problems Improve high probability bound to O(nc) for every c>0 Obtain O(n2) expected running time for the more general endpoint independent model Obtain O(n2) expected running time for unweighted directed G(n,p), for any 0<p<1 Improve expected random update time from O(log2n) to O(log n)