Dynamic Shortest Paths - PowerPoint PPT Presentation

About This Presentation
Title:

Dynamic Shortest Paths

Description:

Dynamic (All Pairs) Shortest Paths. Given a weighted directed graph G=(V,E,w) ... Properties of Uniform paths. For the sake ... Uniform paths in dynamic graphs ... – PowerPoint PPT presentation

Number of Views:94
Avg rating:3.0/5.0
Slides: 32
Provided by: camildem
Category:

less

Transcript and Presenter's Notes

Title: Dynamic Shortest Paths


1
Dynamic Shortest Paths
  • Camil Demetrescu
  • University of Rome La Sapienza
  • Giuseppe F. Italiano
  • University of Rome Tor Vergata

2
Dynamic (All Pairs) Shortest Paths
  • Given a weighted directed graph
    G(V,E,w),perform any intermixed sequence of the
    following operations

3
Previous work on dynamic APSP
papers
65-69
70-74
75-79
80-84
85-89
90-94
95-99
00-
4
Previous work on fully dynamic APSP
5
A new approach
6
A new fully dynamic algorithm
7
?(n2) changes per update
1
-1
1
8
Main ingredients of previous results
(results for general graphs with integer weights
in 0,C)
(results for general graphs with S real weights
per edge)
(all fully dynamic algorithms on general graphs)
9
Uniform paths
UNIFORM
NOT UNIFORM
10
Properties of Uniform paths
Theorem I
Shortest paths ? Uniform paths
11
Properties of Uniform paths
12
Properties of Uniform paths
(Ties can be broken by adding a tiny fraction to
the weight of each edge)
13
Properties of Uniform paths
Theorem III
There are at most n-1 uniform paths connecting x,y
This is a consequence of vertex-disjointess
14
Dynamic graphs
15
Uniform paths in dynamic graphs
16
Uniform paths in dynamic graphs
17
Uniform paths in dynamic graphs
18
Uniform paths in dynamic graphs
19
Uniform paths in dynamic graphs
Theorem V
For any pair (x,y), the amortized number of
uniform paths pxy appearing with a new weight
per update in a fully dynamic sequence is O(log
n)
20
Sketch of proof of Theorem VI (1/3)
21
Sketch of proof of Theorem VI (2/3)
22
Sketch of proof of Theorem VI (3/3)
Map each edge (?1, ?2) of H into a point p(?1,
?2) in the square k ? k
23
Shortest paths and edge weight updates
How does a shortest path change after an update?
24
Shortest paths and edge weight updates
25
A new approach to dynamic APSP
NO
26
How to pay only once?
27
Looking at the substructure
but if we removed the edge it would get a
shortest path again!
28
Zombies
A path is a zombie if it used to be a shortest
path, and its edges have not been updated since
then
29
Potentially uniform paths
Relaxed notion of uniformity Subpaths do not
need to be shortest at the same time
30
Properties of potentially uniform paths
Potentiallyuniform paths
31
Properties of potentially uniform paths
Theorem II
O(zn2) zombies at any time
O(zn2) new potentially uniform paths per update
32
How many zombies can we have?
33
Reducing of zombies Smoothing
At each update we pick an edge with the maximum
number of zombies passing through it, and we
remove and reinsert it
zombies
34
A new approach to dynamic APSP (II)
There exists and update algorithm that spends
O(log n) time per potentially uniform path
35
Handling the hard case
36
The update algorithm
37
Conclusions
Write a Comment
User Comments (0)
About PowerShow.com