Lecture 17 — Minimum Spanning Tree Parallel and Sequential Data

نویسندگان

  • Margaret Reid-Miller
  • Kanat Tangwongsan
چکیده

You have seen Minimum Weight Spanning Trees in 15-122 and possibly in 15-251. These classes went over Kruskal’s and Prim’s algorithms. At a glance, Kruskal’s and Prim’s seem to be two drastically different approaches to solving MST: whereas Kruskal’s sorts edges by weight and considers the edges in order, using a union-find data structure to detect when two vertices are in the same component and join them if not, Prim’s maintains a tree grown so far and a priority queue of edges incident on the current tree, pulling the minimum edge from it to add to the tree. The two algorithms, in fact, rely on the same underlying principle about “cuts” in a graph, which we’ll discuss next.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Lecture 18 — Minimum Spanning Tree Parallel and Sequential Data

You have seen Minimum Weigh Spanning Trees in both 15-122 and possibly 15-251. In previous classes, you went over Kruskal’s and Prim’s algorithms. At a glance, Kruskal’s and Prim’s seem to be two drastically different approaches to solving MST: whereas Kruskal’s sorts edges by weight and considers the edges in order, using a union-find data structure to detect when two vertices are in the same ...

متن کامل

An Optimal EREW PRAM Algorithm For Minimum Spanning Tree Veri cation

We present a deterministic parallel algorithm on the EREW PRAM model to verify a minimum spanning tree of a graph. The algorithm runs on a graph with n vertices and m edges in O(logn) time and O(m+ n) work. The algorithm is a parallelization of King's linear time sequential algorithm for the problem.

متن کامل

Parallel Real-Time Optimization: Beyond Speedup

Traditionally, interest in parallel computation centered around the speedup provided by parallel algorithms over their sequential counterparts. In this paper, we ask a di erent type of question: Can parallel computers, due to their speed, do more than simply speed up the solution to a problem? We show that for real-time optimization problems, a parallel computer can obtain a solution that is be...

متن کامل

An Optimal EREW PRAM Algorithm for Minimum Spanning Tree Verification

We present a deterministic parallel algorithm on the EREW PRAM model to verify a minimum spanning tree of a graph. The algorithm runs on a graph with n vertices and m edges in O(log n) time and O(m + n) work. The algorithm is a parallelization of King's linear time sequential algorithm for the problem.

متن کامل

A Metaheuristic Algorithm for the Minimum Routing Cost Spanning Tree Problem

The routing cost of a spanning tree in a weighted and connected graph is defined as the total length of paths between all pairs of vertices. The objective of the minimum routing cost spanning tree problem is to find a spanning tree such that its routing cost is minimum. This is an NP-Hard problem that we present a GRASP with path-relinking metaheuristic algorithm for it. GRASP is a multi-start ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2013