25 - also globally optimal. We will discuss two algorithms...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
1 A minimum spanning tree of a weighted graph is a spanning tree whose sum of weights on edges is smallest possible among all spanning trees of the graph. A graph can have more than one minimum spanning tree, however we will show that if all weights on edges of the graph are different, then the minimum spanning tree is unique. In Figure 13.5 a minimum spanning tree is depicted in bold edges. There are efficient algorithms for constructing minimum spanning tree in a given graph. In fact there are greedy algorithms, so at each step the local best choice turns out to be
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 4
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 6
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: also globally optimal. We will discuss two algorithms here - one of Kruskal and Prim. 2 Apply Kruskals Algorithm to the graph. 3 4 Part 1) can be implemented using merge sort in Part 2) can be implemented using a technique of flag component by having a flag for each edge reporting the corresponding component it belongs to in 5 Apply Prims Algorithm to the graph. 6 Show that if the weight of each edge in a graph is unique then the graph has unique minimum spanning tree....
View Full Document

This note was uploaded on 04/11/2011 for the course MACM 201 taught by Professor Marnimishna during the Spring '09 term at Simon Fraser.

Page1 / 6

25 - also globally optimal. We will discuss two algorithms...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online