Counting Spanning Trees Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan

Slides:



Advertisements
Similar presentations
Trees Chapter 11.
Advertisements

CompSci 102 Discrete Math for Computer Science April 19, 2012 Prof. Rodger Lecture adapted from Bruce Maggs/Lecture developed at Carnegie Mellon, primarily.
Sequence Alignment Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan
Heaviest Segments in a Number Sequence Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan.
Minimum Spanning Trees Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan
Graph Algorithms: Minimum Spanning Tree We are given a weighted, undirected graph G = (V, E), with weight function w:
Section 3.1 Properties of Trees Sarah Graham. Tree Talk: Vocabulary oTree: a tree is a special type of graph that contains designated vertex called a.
What is the next line of the proof? a). Let G be a graph with k vertices. b). Assume the theorem holds for all graphs with k+1 vertices. c). Let G be a.
R. Bar-Yehuda © 1 Graph theory – תורת הגרפים 2.3 CAYLEY’S THEOREM – משפט קיילי מבוסס על הספר : S. Even, "Graph Algorithms",
Is the following graph Hamiltonian- connected from vertex v? a). Yes b). No c). I have absolutely no idea v.
CS5371 Theory of Computation Lecture 1: Mathematics Review I (Basic Terminology)
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 11, Wednesday, September 24.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 330 Programming Language Structures Literate Programming in Haskell Fall.
03/01/2005Tucker, Sec Applied Combinatorics, 4th Ed. Alan Tucker Section 3.1 Properties of Trees Prepared by Joshua Schoenly and Kathleen McNamara.
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 10, Monday, September 22.
Space-Saving Strategies for Computing Δ-points Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University,
Foxconn Tries to Move Past the iPhone Kun-Mao Chao Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University,
Minimum Routing Cost Spanning Trees Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan.
7.1 and 7.2: Spanning Trees. A network is a graph that is connected –The network must be a sub-graph of the original graph (its edges must come from the.
Module 5 – Networks and Decision Mathematics Chapter 23 – Undirected Graphs.
DIAM About the number of vines on n nodes. TU Delft.
Multiple Sequence Alignment Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan WWW:
Cayley’s Formula - Srinivas Nambirajan. The Setting Arthur Cayley (August 16, 1821 – January 26, 1895) Pure Mathematician Group Theory (Cayley’s Theorem)
Apple Raises $17 Billion in Record Debt Sale Kun-Mao Chao Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan.
EMIS 8373: Integer Programming Combinatorial Relaxations and Duals Updated 8 February 2005.
Eye-Tracking Tech Kun-Mao Chao Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan A note.
Heaviest Segments in a Number Sequence Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan.
Great Theoretical Ideas in Computer Science for Some.
Dynamic Programming Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan
Indian Institute of Technology Kharagpur PALLAB DASGUPTA Graph Theory: Trees Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering, IIT
Graphs Definition: a graph is an abstract representation of a set of objects where some pairs of the objects are connected by links. The interconnected.
Never-ending stories Kun-Mao Chao ( 趙坤茂 ) Dept. of Computer Science and Information Engineering National Taiwan University, Taiwan
COMPSCI 102 Introduction to Discrete Mathematics.
Trees Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan
Space-Saving Strategies for Analyzing Biomolecular Sequences Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan.
Hacked A.P. Twitter Kun-Mao Chao Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan A note.
The Imitation Game Kun-Mao Chao Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan A note.
Spanning Trees Alyce Brady CS 510: Computer Algorithms.
Discrete Mathematics Graph: Planar Graph Yuan Luo
Proof technique (pigeonhole principle)
Sequence Alignment Kun-Mao Chao (趙坤茂)
Connected Components Minimum Spanning Tree
Minimum Spanning Trees
Shortest-Paths Trees Kun-Mao Chao (趙坤茂)
Heaviest Segments in a Number Sequence
Trees.
The Largest Known Prime Number
A Quick Note on Useful Algorithmic Strategies
A Note on Useful Algorithmic Strategies
Minimum Spanning Trees
A Note on Useful Algorithmic Strategies
A Note on Useful Algorithmic Strategies
Multiple Sequence Alignment
Facebook’s WhatsApp Purchase
Minimum Spanning Trees
7.4 Slope Objectives: To count slope To use slope formula.
Discrete Mathematics for Computer Science
Space-Saving Strategies for Computing Δ-points
Write the recursive and explicit formula for the following sequence
Space-Saving Strategies for Computing Δ-points
Space-Saving Strategies for Analyzing Biomolecular Sequences
Trees Kun-Mao Chao (趙坤茂)
Trees Kun-Mao Chao (趙坤茂)
Minimum Spanning Trees
Multiple Sequence Alignment
Space-Saving Strategies for Computing Δ-points
Space-Saving Strategies for Computing Δ-points
Dynamic Programming Kun-Mao Chao (趙坤茂)
Presentation transcript:

Counting Spanning Trees Kun-Mao Chao ( 趙坤茂 ) Department of Computer Science and Information Engineering National Taiwan University, Taiwan WWW:

2 Spanning Trees A spanning tree for a graph G is a subgraph of G that is a tree and contains all the vertices of G.

3 All 16 spanning trees of K 4

4 Cayley’s formula Back in 1889, Cayley devised the well- known formula n n-2 for the number of spanning trees in the complete graph K n The first explicit combinatorial proof of Cayley's formula was given by Pr\"{u}fer in 1918.

5 Pr\"{u}fer sequence A Pr\"{u}fer sequence of length n-2, for n >= 2, is any sequence of integers between 1 and n, with repetitions allowed. There are n n-2 Pr\"{u}fer sequences of length n-2.

6

7

8

9

10 Try the following Pr\"{u}fer sequences Assume that the vertex set is {1, 2,3, 4, 5, 6, 7, 8} (a line) (two-star) (star)

11 Knuth’s talk on counting spanning trees Donald E. Knuth gave a lecture on counting spanning trees in December (In fact, he likes to talk about trees in the Christmas season. Christmas trees …)Donald E. Knuth Try it?