CSCE 411 Lecture 8

From Notes
Jump to navigation Jump to search
Lecture Slides

« previous | Wednesday, September 12, 2012 | next »


Greedy Algorithms (cont'd)

Matroids

Let be a set, and be a set of subsets of

  1. If and , then . (hereditary)
  2. 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

  1. hereditary property mandates that any forest can be split into more trees by removing an edge.
  2. exchange property states that an edge can be added to a forest to create another forest.