1 / 8

Minimum Spanning Tree

Minimum Spanning Tree. Kevin Schaffer. Chapter 15.5 from “Distributed Algorithms” by Nancy A. Lynch. GHS. Named for Gallager, Humblet, and Spira Synchronous version is SynchGHS Components are combined into larger components through minimum-weight outgoing edges (MWOEs)

irisa
Download Presentation

Minimum Spanning Tree

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Minimum Spanning Tree Kevin Schaffer Chapter 15.5 from “Distributed Algorithms” by Nancy A. Lynch

  2. GHS • Named for Gallager, Humblet, and Spira • Synchronous version is SynchGHS • Components are combined into larger components through minimum-weight outgoing edges (MWOEs) • Assuming all weights to be unique ensures a unique MST • Combining is done in levels; at level k all components have at least 2k nodes

  3. Difficulties in GHS • Processes i and j might be in the same component but not realize it since process j might not have received notification • Components might be combined in an unbalanced way leading to a O(n2) message complexity • Possible interference from components at different levels

  4. How GHS Works • Processes in a component work together to find the MWOE • Once found, the component and the one attached to it across the MWOE combine into a new component • Every component has a level, but levels are not synchronized • Initially components are individual nodes with level 0 • Process continues until there is one component

  5. Combining Components • Components C and C’ can combine in one of two ways • Merge: If level(C) = level(C’) and C and C’ share a common MWOE then they form a new component whose level is level(C) + 1 • Absorb: If level(C) < level(C’) and the MWOE of C connects to a node in C’ then C is added to C’ • Ensures that components do not become unbalanced if some lag behind

  6. Messages in GHS • initiate: Starts the process to find an MWOE and carries the component identifier • report: Convergecast MWOE information • test, accept, reject: Test whether neighbors belong to the same component • changeroot, connect: Combine components

  7. Complexity of GHS • Message complexity: O(n log n + |E|) • test messages that lead to rejection and reject messages: O(|E|) • All other messages: O(n log n) • Time complexity: O(n log n(l + d))

  8. SimpleMST • Works more like SynchGHS • Processes wait until all their neighbors are at the same level before continuing • Much simpler than GHS • Higher message complexity: O(|E| log n) • Same time complexity

More Related