650 likes | 782 Views
Eliran Natan . On the Complexity of Distributed Network Decomposition. Alessandro Panconesi , Aravind Srinivasan.
E N D
Eliran Natan On the Complexity of Distributed Network Decomposition Alessandro Panconesi, Aravind Srinivasan Open Problems in Distributed Computing (236825) Winter 2013
Definitions Let be an undirected graph.
Definitions Let be an undirected graph. Diameter The length of the longest shortest path between any two graph vertices.
Definitions Let be an undirected graph. Diameter The length of the longest shortest path between any two graph vertices.
Definitions Let be an undirected graph. Diameter The length of the longest shortest path between any two graph vertices.
Definitions Let be an undirected graph. Induced Subgraph Given , the Induced Subgraph has exactly the edges that appear in over the vertex set .
Definitions Let be an undirected graph. Induced Subgraph Given , the Induced Subgraph has exactly the edges that appear in over the vertex set . c a b d e
Definitions Let be an undirected graph. Induced Subgraph Given , the Induced Subgraph has exactly the edges that appear in over the vertex set . c a b d e
Definitions Let be an undirected graph. Cluster Graph Given a partition: the cluster graph is , where: ,
Definitions Let be an undirected graph. Cluster Graph Given a partition: the cluster graph is , where: c a b d , e
Definitions Let be an undirected graph. Cluster Graph Given a partition: the cluster graph is , where: c a b d , e
Definitions Let be an undirected graph. Cluster Graph Given a partition: the cluster graph is , where: c a b d , e 1 2 3
Definitions Let be an undirected graph. Vertex Coloring Assignment of colors to each vertex such that neighbors do not share the same color.
Definitions Let be an undirected graph. Vertex Coloring Assignment of colors to each vertex such that neighbors do not share the same color. c a b d e
Definitions Let be an undirected graph. Vertex Coloring Assignment of colors to each vertex such that neighbors do not share the same color. c a b d e
Definitions Let be an undirected graph. - Graph Decomposition A partition of such that: • Every is of diameter. • The cluster graph is vertex colored with colors. -coloring is a -decomposition.
Main Idea Given Prove that it is possible to compute a -Network Decomposition in a rounds, where . -Network Decomposition -Network Decomposition
Ruling Forest A forest of rooted trees , where each tree is a subgraph of , such that: • For every , the root of , called leader of and donated by , is in . • Every vertex in belongs to a unique tree. • Trees are vertex-disjoint. • for every • Trees depth is at most
Ruling Forest A forest of rooted trees , where each tree is a subgraph of , such that: • For every , the root of , called leader of and donated by , is in . • Every vertex in belongs to a unique tree. • Trees are vertex-disjoint. • for every • Trees depth is at most
Ruling Forest A forest of rooted trees , where each tree is a subgraph of , such that: • For every , the root of , called leader of and donated by , is in . • Every vertex in belongs to a unique tree. • Trees are vertex-disjoint. • for every • Trees depth is at most
Ruling Forest A forest of rooted trees , where each tree is a subgraph of , such that: • For every , the root of , called leader of and donated by , is in . • Every vertex in belongs to a unique tree. • Trees are vertex-disjoint. • for every • Trees depth is at most
Merging Decompositions Let be an undirected graph, where is partitioned to such that: : Given: -decomposition of -coloring of We can compute -decomposition of in time.
Algorithm Input An undirected graph such that Output A -network decomposition of .
Algorithm Compute .
Algorithm Compute .
Algorithm Compute a -ruling forest of with respect to .
Algorithm Compute a -ruling forest of with respect to . Lbe the graph induced by the resulting forest.
Algorithm Lbe the graph induced by the resulting forest. .
Algorithm Let be the rest of the graph.
Algorithm Let be the rest of the graph. Compute a -colouring to the rest of the graph.
Algorithm Merge and to a single decomposition of . time.
Algorithm Merge and to a single decomposition of . time.
Algorithm – Complexity Minimumis attained when: For this choice of we get: = Where .
The Trivial Distributed Algorithm • Given a graph and its decomposition: • Iterate through the color classes.
The Trivial Distributed Algorithm • Given a graph and its decomposition: • Iterate through the color classes. • All clusters from the same color computes a local solution in parallel.
The Trivial Distributed Algorithm • Given a graph and its decomposition: • Iterate through the color classes. • All clusters from the same color computes a local solution in parallel. • Inside each cluster: the leader computes a solution.
The Trivial Distributed Algorithm • Given a graph and its decomposition: • Iterate through the color classes. • All clusters from the same color computes a local solution in parallel. • Inside each cluster: the leader computes a solution. Efficient when the clusters are crowded, so massage passing is fast.
Algorithm Input An undirected graph Output A -network decomposition of .
Algorithm Use to compute a -decomposition of the -shortcut graph of
Algorithm For each :
Algorithm For each : Iterate over the color classes of so that all clusters of color are being processed in parallel.
Algorithm For each : Iterate over the color classes of so that all clusters of color are being processed in parallel. For each cluster keep a copy of , and execute the following routine:
Algorithm For each : Iterate over the color classes of so that all clusters of color are being processed in parallel. For each cluster keep a copy of , and execute the following routine: Choose an unvisited vertex.