Top Banner
Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis [email protected] With Aubin Jarry
53

Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis [email protected] With Aubin Jarry.

Dec 27, 2015

Download

Documents

Jessica Leonard
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

Dynamic Networks

&

Evolving Graphs

Afonso FerreiraCNRS

I3S & INRIA Sophia Antipolis

[email protected]

With Aubin Jarry

Page 2: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

Dynamic Networks

• Mobile Wireless Networks (eg, Ad-hoc)• Fixed Packet Networks (eg, Internet)• Fixed Connected Networks (eg, WDM)• Fixed Schedule Fixed Networks

– (eg, Sensors, Transport)

• Fixed Schedule Mobile Networks(eg, LEO Satellites, Robots)

Page 3: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.
Page 4: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.
Page 5: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.
Page 6: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.
Page 7: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

T1

T2

T3

Page 8: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

T1

T2

T3

T4

Distance = 3

= 4

Page 9: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

T1

T2

T3

T4

Distance= 3 hops / 1 TU

= 1 hop / 4 TU

Page 10: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

Outline

• Motivation: grasp dynamic networks• The Evolving Graph• Distances, Paths, Journeys, Connectivity,

...• Old questions - New insights• A direct application• Conclusions

Page 11: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

2003 NSF report onFundamental Research in

Networking• Understanding about networks

– Needs: Substantial innovation and paradigm shifts

• Scalable design and control of networks– Needs: Fundamental understanding

• Reproducibility of experiments – Needs: Reference models and benchmarks

Page 12: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

1,2,31,3

1,4

1,3,4

2

23

14

The Evolving Graph

4

Page 13: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

1,2,31,3

1,4

1,3,4

2

23

14

The Evolving Graph

4

Page 14: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

Evolving Graphs

• Given a graph G(V,E) and an ordered sequence of

its subgraphs, SSG=Gt0, Gt1, ..., GtT.

The system EG = (G, SSG) is called an evolving

graph.

• Input coding: list of presence intervals for each edge and for each vertex (this can be evidently relaxed in case of a valid mobility model, eg)

• Dynamics: – Size of edge and node lists.

[Algotel’02]

Page 15: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

Journeys in EGs

• Sequence of edges {e1, e2, …, ek} of G called a Route R(u,v) (= a path in G).

• A schedule s respecting EG and R, defines a journey J(u,v, s).

• Observations:– Journeys cannot go to the past– A round journey is J(u,u, s). Like a usual cycle,

but not quite.

Page 16: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

1,2,31,3

1,4

1,3,4

2

23

14

The Evolving Graph

4

Page 17: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

Routing Issues

• Minimum hop count = Distance– shortest journey

• Timed evolving graphs (TEGs): – traversal time on the edges.

• Minimum arrival date = Earliest arrival date– foremost journey

• Minimum journey time = Delay – fastest journey

Page 18: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

Algorithm for Foremost Journeys

• Delete root of heap into x.• For each open neighbor v of x:

– Compute first valid edge schedule time greater or equal to current time step

– Insert v in the heap if it was not there already.

• If needed, update distance to v and its key.• Update the heap.• Close x. Insert it in the ‘shortest paths’ tree.

(TEGs are complex: Prefix journeys of foremost journeys are not necessarily foremost.)

Page 19: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

2/3/5/9 1/2/4/106/8

5/6/7

1/2

5/6/7 9

2/3/6

10

3/8

2

4

6

5

6

9

5

1/7

7

Algorithm

Source:

0

Time: 12345678

Page 20: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

Analysis

• For each closed vertex, the algorithm performs O(log + log N) operations per neighbor.

• Total number of operations is

O(vV [| +(v) | (log + log N)]) =

O(M (log + log N)).• Bounded by the actual size of the schedule

lists, which measures the number of changes in the network topology.

Page 21: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

1/3/5/92/6

7/8

5/6

2/10

3/6 7

2/3/6

10

5/10

1

2

7

3

6

9

6

1/9

7

Algorithm for fading memory

Source:

0 2/3/5/6/10

Time: 12345678

Page 22: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

Analysis

• O(M (log + log N)) operations.• Again bounded by the actual dynamics

of the evolving graph.

Page 23: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

Journey Issues

• Minimum arrival date = Earliest arrival date– O(M (log + log N))

• Minimum hop count = Usual distance– O(NM log )

• Minimum journey time = Delay – O(NM 2 )

• Many others to explore

[WiOpt’03, IJFCS 03]

Page 24: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

Connectivity Issues

• An EG is said to be connected if for every pair (u,v) there is a journey from u to v and a journey from v to u.

• A connected component of EG is defined as a maximal subset U of V, such that for every pair (u,v) there is a journey from u to v and a journey from v to u.

Page 25: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

Example I: CC

24

11

Page 26: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

Example I: CC

24

11

CC:

Page 27: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

Example II: CC

24

11

CC:

Page 28: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

Example II: o-CC

24

11

O-CC:

Page 29: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

Complexity result

• Computing (o-)CCs is NP-Complete.– It is in NP: computing journeys is

polynomial.– Reduction from Clique

[Ad-Hoc Now 03]

Page 30: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

The GadgetGiven G =(V,E) and integer k, create an EG:For each ui in V create a vi and a hii.• Time step 1:

– Create a CC connecting all h-nodes.

• Time step 2:– Create edges {vi,hii}, – For each edge {ui, uj} in E, create edges {vi,hij}.

• Time step 3:– For each edge {ui, uj} in E, create edges {hij,vj}.

• Time step 4:– Create a CC connecting all h-nodes.

Page 31: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

1,2,31,3

1,4

1,3,4

2

23

14

A Key Issue?

4

Page 32: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

An application

• Minimum Energy Broadcast & Range Assignment Problem (STACS 97, Infocom 00)

• E~d2

Page 33: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

The MEB&RAP

• NP- Complete• 12-Approximation

– Direct computation of the MST of the underlying weighted complete graph

– Analysis using geometric arguments

Page 34: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

The MEB&RAP

• Static x (Low) Dynamic

• What is a MST over time??• Take an Ad-Hoc network where nodes do

not move, but can alternate sleep/awake modes according to a predefined schedule:– A MST over time is a rooted MST allowing for

journeys from the root to the leafs in the corresponding weighted evolving graph

Page 35: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

Computing a MST over time

• NP-Complete (Reduction from Steiner)• Precludes the use of the MST-based

heuristic to solve the MEB&RAP in dynamic networks

[WiOpt 04]

Page 36: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

Current & Future Work

• Rooted MST is NP-Complete– But Local Minima RST is Polynomial!

• Flows in EGs

• Algorithms for EGs (eg Connected Components)

• Distributed algorithms for EGs– Competitive analysis of protocols

• Harness Dynamic Networks

Page 37: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

Related Combinatorial Models

used in Dynamic Networks• Graphs• Random Graphs & Adversaries [Scheideler’02]

• Dynamic Graph Algorithms [Frigioni et al’00]

• Time-Expanded Graphs [FoFu’58]

• MERIT [FaSy’01]

– A sequence of historic network snapshots– Competitive analysis of protocols

Page 38: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

NSF report onFundamental Research in

Networking• Understanding about networks

– Needs: Substantial innovation and paradigm shifts

• Scalable design and control of networks– Needs: Fundamental understanding

• Reproducibility of experiments – Needs: Reference models and benchmarks

Page 39: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

Conclusion

• Evolving Graphs– Graphs + Time Domain– A model for complexity, combinatorics, algorithms

• Old questions - New insights– Hardness induced by time

• Many applications in Dynamic Networks– Wireless nets, evolving request matrices,

transports...

• Many new ways to explore!

Page 40: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

The End

[email protected]

Page 41: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

The idea

vi

hii hik

hki hkk

vk

3

1,4

1,4

1,4

1,4

22

223

Page 42: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

Networks

• Valued graphs• Weights = costs, distance, traversal time, etc.

31

4

1

2

23

14

4

Page 43: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

Networks

• Road networks, railway systems– Traversal times are arbitrary but finite– Arcs are closed at certain periods– Parking is allowed at vertices whenever

possible• Computing shortest paths in loaded

networks– Earliest Arrival Times [HP’74,D’66]– Dijkstra-like, no complexity analysis

Page 44: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

Networks

• Weights = traversal time: Time-expanded graphs [FF’58]

1 1

2 1 1

1 12

Page 45: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

Networks

• Weights = traversal time: Time-expanded graphs [FF’58]

• Complexity increases– Pseudo-polynomial (weights must be

integers)• Time-dependent networks [CH’66]

– Weights depend on the number of flow units entering the link

– Computation of quickest flows (ESA’02, SODA’02)

Page 46: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

2/3/5/9 1/2/4/106/8

5/6/7

1/2

5/6/7 9

2/3/6

10

3/8

2

4

6

5

6

9

5

1/7

7

Algorithm

Source:

0

Time: 12345678

Page 47: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

1/3/5/92/6

7/8

5/6

2/10

3/6 7

2/3/6

10

5/10

1

2

7

3

6

9

6

1/9

7

Fading memory

Source:

0 2/3/5/6/10

Time: 12345678

Page 48: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

1,2,31,3

1,2,4

1,3,4

2

23

14

Example of Journeys

4

Page 49: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

22h00

18h00

17h00 16h00

13h00

12h00

07h0010h00

10h0011h0013h0015h00

Fixed-Schedule Dynamic Networks

07h00

10h00

Page 50: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

Models for Dynamic Networks

• Graphs• Random Graphs • Dynamic Graphs

– Discrete step is one link/node change– Focus on data-structures & amortized

analyses– Time is not an issue

Motivation: Formalize the notion of time in graphs

Page 51: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

EGs & Dynamic Networks

• Fixed-Schedule– Satellite constellations– Transportation networks– Robot networks

• History– Competitive analysis– MERIT

• Stochastic?– Mobility model

Page 52: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

Some Issues in Dynamic Networks

• Property maintenance– E.g., Minimum Spanning Tree

• Fault tolerance– Link/node failure

• Congestion avoidance– Time dependency

• Topology prediction – The Web

Page 53: Dynamic Networks & Evolving Graphs Afonso Ferreira CNRS I3S & INRIA Sophia Antipolis Afonso.Ferreira@sophia.inria.fr With Aubin Jarry.

Combinatorial Models for Dynamic Networks

.

. .

.