Algorithm Analysis (CSC 301 2015F) : EBoards

CSC301.01 2015F, Class 26: Minimum Spanning Trees


Overview

Preliminaries

Admin

Checking in on terms and algorithms. I am confident in my understanding; I know some things; I don't know.

Upcoming Work

Extra Credit

Academic

Peer Support

Questions

There is no topological sort for 5-2. What should we do?

Indicate why there is no way to topologically sort 5-2.

Remove an edge to permit topological sort and then topologically sort it.

Ask yourself whether this was intentional on Skiena's part or not (no answer to this last part needed).

Minimum spanning trees

Given a weighted non-directed connected graph, G(V,E) [connected: path from any vertex to any other vertex] [complete: edge from every vertex to every other vertex], build a new connected graph G(V,E'), s.t.

Why do we call it a minimum spanning tree and not a minimum spanning graph?

What techniques can we use?

Here's a graph! (Picture on the board.)

 Vertices: A, B, C, D, E, F, G
 Edges: AB(6), AC(7), AE(8), BD(9), CD(1), CE(1), CF(2), DF(5),
 EF(10), EG(14), FG(8).

An Exhaustive Algorithm

Three Approaches