CSCE 411 Lecture 8
Jump to navigation
Jump to search
« previous | Wednesday, September 12, 2012 | next »
Greedy Algorithms (cont'd)
Matroids
Let be a set, and be a set of subsets of
- If and , then . (hereditary)
- If and are in such that is smaller than , then there's an element that's in but not in . Adding to produces a set that is also in (exchange property)
Graphs
Induced subgraph has a subset of edges from an original graph
Spanning Tree is an induced subgraph that happens to be a tree (i.e. no cycles) and connects all vertices
Graphic Matroids
Let be an undirected graph.
would just be the edges
. A forest is just 1 or more trees that can be made from the edges of
- hereditary property mandates that any forest can be split into more trees by removing an edge.
- exchange property states that an edge can be added to a forest to create another forest.