CIS 825 Lecture 9. Minimum Spanning tree construction Each node is a subtree/fragment by itself. Select the minimum outgoing edge of the fragment Send.

Slides:



Advertisements
Similar presentations
Chapter 5: Tree Constructions
Advertisements

Graph Algorithms Algorithm Design and Analysis Victor AdamchikCS Spring 2014 Lecture 11Feb 07, 2014Carnegie Mellon University.
Distributed Minimum Spanning Tree Gallagher, Humblet, Spira (1983) pseudocode adaptation by Kenneth J. Goldman September 2002.
Chapter 13 Leader Election. Breaking the symmetry in system Similar to distributed mutual exclusion problems, the first process to enter the CS can be.
Leader Election Breaking the symmetry in a system.
O(N 1.5 ) divide-and-conquer technique for Minimum Spanning Tree problem Step 1: Divide the graph into  N sub-graph by clustering. Step 2: Solve each.
Lecture 8: Asynchronous Network Algorithms
Leader Election Let G = (V,E) define the network topology. Each process i has a variable L(i) that defines the leader.  i,j  V  i,j are non-faulty.
Binary Trees CSC 220. Your Observations (so far data structures) Array –Unordered Add, delete, search –Ordered Linked List –??
Minimum Spanning Tree Sarah Brubaker Tuesday 4/22/8.
1 2 Lecture Outline 1.Problem description TThe distinct weights demand 2.Review of spanning trees PProperties of spanning trees KKruskal’s algorithm.
Lecture 7: Synchronous Network Algorithms
Breadth-First Search Seminar – Networking Algorithms CS and EE Dept. Lulea University of Technology 27 Jan Mohammad Reza Akhavan.
Minimum Spanning Trees
Minimum Spanning Trees
CPSC 668Set 2: Basic Graph Algorithms1 CPSC 668 Distributed Algorithms and Systems Spring 2008 Prof. Jennifer Welch.
Branch and Bound Similar to backtracking in generating a search tree and looking for one or more solutions Different in that the “objective” is constrained.
1 Minimum Spanning Trees Gallagher-Humblet-Spira (GHS) Algorithm.
1 Dijkstra’s Shortest Path Algorithm Gordon College.
HyperCuP – P2P Network Boyko Syarov. 2 Outline  HyperCup: What is it?  Basic Concepts  Broadcasting Algorithm  Topology Construction  Ontology Based.
A Distributed Algorithm for Minimum-Weight Spanning Trees by R. G. Gallager, P.A. Humblet, and P. M. Spira ACM, Transactions on Programming Language and.
NETWORK TOPOLOGY.
Network topologies. What is a network topology? Physical arrangement of the devices in a communications network. Most commonly used are bus and star.
CIS 720 Distributed algorithms. “Paint on the forehead” problem Each of you can see other’s forehead but not your own. I announce “some of you have paint.
Complexity of Bellman-Ford Theorem. The message complexity of Bellman-Ford algorithm is exponential. Proof outline. Consider a topology with an even number.
Distributed Algorithms 2014 Igor Zarivach A Distributed Algorithm for Minimum Weight Spanning Trees By Gallager, Humblet,Spira (GHS)
Broadcast & Convergecast Downcast & Upcast
Information Technology Lecture No 3 By: Khurram Shahid.
Minimum Spanning Trees
Minimum Spanning Tree Given a weighted graph G = (V, E), generate a spanning tree T = (V, E’) such that the sum of the weights of all the edges is minimum.
Diffusing Computation. Using Spanning Tree Construction for Solving Leader Election Root is the leader In the presence of faults, –There may be multiple.
1 Broadcast. 2 3 Use a spanning tree Root 4 synchronous It takes the same time at link to send a message It takes the same time at each node to process.
1 Shape Segmentation and Applications in Sensor Networks Xianjin Xhu, Rik Sarkar, Jie Gao Department of CS, Stony Brook University INFOCOM 2007.
1 Leader Election in Rings. 2 A Ring Network Sense of direction left right.
Tarry vs Awerbuchs Shawn Biesan. Background Tarry’s Transversal Algorithm – Initiator forwards token to one of neighbors, each neighbor forwards token.
Diffusing Computation. Using Spanning Tree Construction for Solving Leader Election Root is the leader In the presence of faults, –There may be multiple.
Minimum Spanning Tree. Given a weighted graph G = (V, E), generate a spanning tree T = (V, E’) such that the sum of the weights of all the edges is minimum.
Leader Election (if we ignore the failure detection part)
DISTRIBUTED ALGORITHMS Spring 2014 Prof. Jennifer Welch Set 2: Basic Graph Algorithms 1.
Tree Constructions Distributed Algorithms for Multi-Agent Networks Instructor: K. Sinan YILDIRIM.
Graph Theory Trees. WHAT YOU WILL LEARN Trees, spanning trees, and minimum-cost spanning trees.
Super computers Parallel Processing
Hwajung Lee. Let G = (V,E) define the network topology. Each process i has a variable L(i) that defines the leader.   i,j  V  i,j are non-faulty ::
Sebastian Ortiz 10th Omega. What is a network topology? In communication networks, a topology is a usually schematic description of the arrangement of.
© M. Winter COSC/MATH 4P61 - Theory of Computation Minimum-weight Spanning Tree Weighted Graph Spanning.
CIS 825 Review session. P1: Assume that processes are arranged in a ring topology. Consider the following modification of the Lamport’s mutual exclusion.
Minimum Spanning Tree Given a weighted graph G = (V, E), generate a spanning tree T = (V, E’) such that the sum of the weights of all the edges is minimum.
Construction of Optimal Data Aggregation Trees for Wireless Sensor Networks Deying Li, Jiannong Cao, Ming Liu, and Yuan Zheng Computer Communications and.
1 3/21/2016 MATH 224 – Discrete Mathematics First we determine if a graph is connected.
CIS 825 Lecture 8. Leader Election Aim is to elect exactly one node as the leader.
Paola Flocchini Election in Arbitrary Networks Mega-Merger Yo-Yo Some Considerations.
1 Traversal Algorithms  sequential polling algorithm  traversing connected networks (tree construction) complexity measures tree terminology tarry’s.
Leader Election Let G = (V,E) define the network topology. Each process i has a variable L(i) that defines the leader.  i,j  V  i,j are non-faulty ::
B/B+ Trees 4.7.
Chapter 15: Distributed Structures
A Distributed Algorithm for Minimum-Weight Spanning Trees
CS60002: Distributed Systems
Lecture 9: Asynchronous Network Algorithms
Leader Election (if we ignore the failure detection part)
MST GALLAGER HUMBLET SPIRA ALGORITHM
Back Tracking.
Tree Construction (BFS, DFS, MST) Chapter 5
4-4 Graph Theory Trees.
Minimum Spanning Tree.
Global state collection
MST GALLAGER HUMBLET SPIRA ALGORITHM
A Introduction to Computing II Lecture 13: Trees
Lecture 8: Synchronous Network Algorithms
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS
Chapter 15.5 from “Distributed Algorithms” by Nancy A. Lynch
Presentation transcript:

CIS 825 Lecture 9

Minimum Spanning tree construction Each node is a subtree/fragment by itself. Select the minimum outgoing edge of the fragment Send message to connect to the fragment on the other side of this edge to form a larger fragment

Selecting minimum outgoing edge Each fragment has a leader/root Leader send FIND message to all nodes in the fragment Each node sends test message on outgoing edges, one at a time in increasing cost order, to find an outgoing edge Each node reports outgoing edges to the leader Leader then selects the minimum one Root is changed to the node with the minimum outgoing edge

Level Numbers Initially, fragments of size one are at level 0 When two fragments of size L merge, a new fragment of size L + 1 is created Level number is included in all messages When a node receives a message from a node with a higher level number X, it delays response until its fragment number becomes at least X.

When a node receives a message from a node with a higher level number X, it delays response until its fragment number becomes at least X

Fragment absorption If node x in fragment F at level L sends message to node y in fragment G at level L’ to combine such that L < L’, then if y is still finding outgoing edge then it absorbs F into G x

Message complexity A node is involved in at most one step of finding minimum outgoing edge per level number

Time complexity

Computing Functions Site i has x i. Compute F(x 1,...., x n )

Topology determination Is the topology of the network a tree? Is the topology of the network a ring?

Depth First Search

Initiator: not_visited = neighbor list select j from not_visited; remove j from not_visited; send visit() to j; : Any other site I - receive visit() from k visited i = true; parent = k; L: if (not_visited != {}) { select j from not_visited; remove j from not_visited; send visit() to j; } else send backtrack() to parent; -receive visit() from k remove k from not_visited; send ack() to k; -Receive backtrack() or ack() go to L: