spanning and weighted spanning trees a different kind of
play

Spanning and weighted spanning trees A different kind of - PowerPoint PPT Presentation

Spanning and weighted spanning trees A different kind of optimization (graph theory is cool.) Spanning and weighted spanning trees courtesy of dr. sarah-marie belcastro, http://www.mathily.org Spanning and weighted spanning trees A different


  1. Spanning and weighted spanning trees A different kind of optimization (graph theory is cool.) Spanning and weighted spanning trees courtesy of dr. sarah-marie belcastro, http://www.mathily.org

  2. Spanning and weighted spanning trees A different kind of optimization (graph theory is cool.) Definitions and examples Spanning and weighted spanning trees courtesy of dr. sarah-marie belcastro, http://www.mathily.org

  3. Graphs A graph is a collection of vertices (that look like dots ) and edges (that look like curves ), where each edge joins two vertices. (Formally, a graph is a pair G = ( V , E ), where V is a set of dots and E is a set of pairs of vertices.) Spanning and weighted spanning trees courtesy of dr. sarah-marie belcastro, http://www.mathily.org

  4. Graphs A graph is a collection of vertices (that look like dots ) and edges (that look like curves ), where each edge joins two vertices. (Formally, a graph is a pair G = ( V , E ), where V is a set of dots and E is a set of pairs of vertices.) Here are a few examples of graphs: e b f a Spanning and weighted spanning trees courtesy of dr. sarah-marie belcastro, http://www.mathily.org

  5. Graphs A graph is a collection of vertices (that look like dots ) and edges (that look like curves ), where each edge joins two vertices. (Formally, a graph is a pair G = ( V , E ), where V is a set of dots and E is a set of pairs of vertices.) Here are a few examples of graphs: e b f a Two vertices joined by an edge are called adjacent (see a and b ). Two edges that meet at a vertex are called incident (see e and f ). Spanning and weighted spanning trees courtesy of dr. sarah-marie belcastro, http://www.mathily.org

  6. Subgraphs A subgraph is a graph that is contained within another graph. For example, here the second graph is a subgraph of the fourth graph. e b f a Spanning and weighted spanning trees courtesy of dr. sarah-marie belcastro, http://www.mathily.org

  7. Subgraphs A subgraph is a graph that is contained within another graph. For example, here the second graph is a subgraph of the fourth graph. e b f a Here is the second graph, shown as a subgraph of the fourth graph. Spanning and weighted spanning trees courtesy of dr. sarah-marie belcastro, http://www.mathily.org

  8. Trees In a connected graph, there is a way to get from any vertex to any other vertex without leaving the graph. Spanning and weighted spanning trees courtesy of dr. sarah-marie belcastro, http://www.mathily.org

  9. Trees In a connected graph, there is a way to get from any vertex to any other vertex without leaving the graph. The left graph above is not connected. Spanning and weighted spanning trees courtesy of dr. sarah-marie belcastro, http://www.mathily.org

  10. Trees In a connected graph, there is a way to get from any vertex to any other vertex without leaving the graph. The left graph above is not connected. A cycle is a sequence that alternates between vertices and edges, and whose only repetition is the first/last vertex. Spanning and weighted spanning trees courtesy of dr. sarah-marie belcastro, http://www.mathily.org

  11. Trees In a connected graph, there is a way to get from any vertex to any other vertex without leaving the graph. The left graph above is not connected. A cycle is a sequence that alternates between vertices and edges, and whose only repetition is the first/last vertex. A cycle is shown by itself as the top part of the left graph above. Spanning and weighted spanning trees courtesy of dr. sarah-marie belcastro, http://www.mathily.org

  12. Trees In a connected graph, there is a way to get from any vertex to any other vertex without leaving the graph. The left graph above is not connected. A cycle is a sequence that alternates between vertices and edges, and whose only repetition is the first/last vertex. A cycle is shown by itself as the top part of the left graph above. A tree is a graph that is connected and has no cycles. One is shown to the right above. A forest is a bunch of trees. Spanning and weighted spanning trees courtesy of dr. sarah-marie belcastro, http://www.mathily.org

  13. Spanning Trees A spanning tree is a tree that contains all the vertices of a given graph. Basically, it is the largest tree contained in a graph. Spanning and weighted spanning trees courtesy of dr. sarah-marie belcastro, http://www.mathily.org

  14. Spanning Trees A spanning tree is a tree that contains all the vertices of a given graph. Basically, it is the largest tree contained in a graph. Here are spanning trees of the above-pictured graphs: Spanning and weighted spanning trees courtesy of dr. sarah-marie belcastro, http://www.mathily.org

  15. Spanning Trees A spanning tree is a tree that contains all the vertices of a given graph. Basically, it is the largest tree contained in a graph. Here are spanning trees of the above-pictured graphs: Spanning and weighted spanning trees courtesy of dr. sarah-marie belcastro, http://www.mathily.org

  16. Weighted Graphs Weights are labels on the edges and/or vertices of a graph that often denote costs or distances or energies. Here’s a weighted graph: 3 2 3 2 2 1 1 Spanning and weighted spanning trees courtesy of dr. sarah-marie belcastro, http://www.mathily.org

  17. Weighted Spanning Trees The total weight of a spanning tree is the sum of the weights on its edges. A minimum-weight spanning tree is one that has the lowest possible total weight. Spanning and weighted spanning trees courtesy of dr. sarah-marie belcastro, http://www.mathily.org

  18. Weighted Spanning Trees The total weight of a spanning tree is the sum of the weights on its edges. A minimum-weight spanning tree is one that has the lowest possible total weight. Here are a weighted graph, a spanning tree of total weight 6, and a spanning tree of total weight 7; are either of these minimum-weight spanning trees? 3 2 2 3 3 2 2 2 2 1 1 1 1 1 1 Spanning and weighted spanning trees courtesy of dr. sarah-marie belcastro, http://www.mathily.org

  19. Time for Worksheets! No, really. It’s time to work on worksheets now. Spanning and weighted spanning trees courtesy of dr. sarah-marie belcastro, http://www.mathily.org

  20. Final notes: MathILy ◮ intensive summer program for super-smart, super-cool students ◮ extremely interactive and silly and inventive classes ◮ discrete and applicable college-level mathematics ◮ Root class, then Week of Chaos, then Branch classes http://www.mathily.org Spanning and weighted spanning trees courtesy of dr. sarah-marie belcastro, http://www.mathily.org

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend