spanners
play

Spanners Social and Technological Networks Rik Sarkar University - PowerPoint PPT Presentation

Spanners Social and Technological Networks Rik Sarkar University of Edinburgh, 2018. Distances in graphs Suppose we are interested in finding distances, shortest paths etc in a weighted graph G The problem: A graph can have "


  1. Spanners Social and Technological Networks Rik Sarkar University of Edinburgh, 2018.

  2. Distances in graphs β€’ Suppose we are interested in finding distances, shortest paths etc in a weighted graph G β€’ The problem: A graph can have π‘œ " edges. β€’ Any computation is expensive β€’ Storage is expensive

  3. Idea: use a β€œsimilar” graph with fewer edges β€’ A spanning graph H of a connected graph G: – H is connected and has the same set of vertices β€’ Construct an H with fewer edges

  4. Stretch β€’ Suppose 𝑒 $ is the shortest path distance in G β€’ Suppose 𝑒 % 𝑣, 𝑀 = 𝑑 β‹… 𝑒 $ 𝑣, 𝑀 β€’ S is called the stretch of distance between u,v β€’ The idea is to have compressed network H with small stretch and few edges

  5. Spanners β€’ Suppose 𝑒 $ is the shortest path distance in G β€’ H is a 𝑒 -spanner of G if: β€’ 𝑒 % 𝑣, 𝑀 ≀ 𝑒 β‹… 𝑒 $ 𝑣, 𝑀 – A multiplicative spanner – The stretch of the spanner is 𝑒 β€’ More generally, H is a (𝛽, 𝛾) -spanner of G if: β€’ 𝑒 % 𝑣, 𝑀 ≀ 𝛽 β‹… 𝑒 $ 𝑣, 𝑀 + 𝛾

  6. Examples Images from: http://cs.yazd.ac.ir/farshi/Teaching/Spanner- 3932/Slides/GSN-Course.pdf

  7. Examples β€’ Compress road maps and still find good paths β€’ Compress computer/communication networks and get smaller routing tables β€’ β€œBridges” are part of spanner β€’ Small set of distances among moving objects. – To detect possible collisions – A β€œshort edge” must always be in the spanner – Thus, we need to only check edges in the spanner

  8. Simple greedy algorithm β€’ Given graph G=(V, E) and stretch t β€’ We want to construct H=(V, E’) β€’ Sort all edges in E by length β€’ Proceed from shortest to longest edge – Take edge e=(u,v) – If 𝑒 % 𝑣, 𝑀 > 𝑒 β‹… 𝑒 $ 𝑣, 𝑀 , add e to E’ β€’ Output H

  9. Geometric spanner β€’ Suppose we have only a set of points in the plane, and no graph (e.g. position of robots) β€’ Then the same algorithm applies – With G as the complete graph with, planar distance as the edge length

  10. H is a spanner β€’ Claim: 𝑒 % 𝑣, 𝑀 ≀ 𝑒 β‹… 𝑒 $ 𝑣, 𝑀 β€’ If (u,v) is an edge in G, then this holds by construction. β€’ If not, suppose P is the path between them of length 𝑒 $ 𝑣, 𝑀 β€’ For each edge 𝑏, 𝑐 ∈ 𝑄 , the claim holds. – Therefore. It holds for the sum of their lengths.

  11. Number of edges β€’ Theorem: β€’ The greedily constructed 𝑒 -spanner has β€’ π‘œ 89 : ;<= edges β€’ Proof: Ommitted

  12. Deformable spanners β€’ Suppose we have n points in ℝ @ β€’ We want to compute a good spanner – With stretch 1 + πœ— – Number of edges π‘œ/πœ— @

  13. Discrete centers β€’ Give a radius 𝑠 β€’ A set S of discrete centers is a subset of V β€’ Such that: – Any point of V is within distance 𝑠 of some 𝑑 ∈ 𝑇 . – Any two points 𝑑 8 , 𝑑 " ∈ 𝑇 are at least 𝑠 apart β€’ That is, a set of balls with far apart centers, that covers all points

  14. Discrete center hierarchy β€’ Compute a set 𝑇 F of discrete centers – For each 𝑠 = 2 F – Such that 𝑇 F βŠ† 𝑇 FI8 β€’ Start from smallest distance between a pair of points – At this lowest level each node is a center β€’ Highest level is diameter of the set

  15. Spanner β€’ Suppose s, t ∈ 𝑇 F are centers β€’ Add edge s, t if 𝑑𝑒 ≀ 𝑑 β‹… 2 F – For 𝑑 = 4 + 16/πœ— β€’ Take the union of edges created at all levels β€’ To get a graph G

  16. Theorems β€’ G is a (1 + πœ—) spanner – That is, for any two points p and q, there is a path in G of length at most 1 + πœ— π‘žπ‘Ÿ β€’ G has π‘œ/πœ— @ edges β€’ If the ratio of diameter to smallest distance is 𝛽 , then each node has O((log 𝛽)/πœ— @ ) edges

  17. Useful properties β€’ Applies to metrics of bounded doubling dimension β€’ Relatively small number of edges β€’ Each node has a small number of edges – Efficient in checking for collisions and near neighbors – Each robot has to keep small amount of information β€’ Can be updated easily as nodes move, join, leave – Hence the name β€œdeformable” β€’ Multi-scale simplification of the network – Gives a summary of the network at different scales – An important topic in current algorithms and ML – Computation for large datasets need simplified data

  18. β€’ There are other more complex algorithms β€’ Areas of research: – Specialized graphs – Fault–tolerant spanners – Dynamic spanners – for changing graphs – …

  19. Course β€’ No class on Friday 23 rd Nov β€’ No office hours Thursday 22 nd Nov β€’ Final class on Tuesday 27 th : review – We will discuss the course in general – What to expect in exam

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend