Minimum Spanning Trees, Majority Spanning Trees and Cotrees

Slides:



Advertisements
Similar presentations
Lecture 15. Graph Algorithms
Advertisements

O(N 1.5 ) divide-and-conquer technique for Minimum Spanning Tree problem Step 1: Divide the graph into  N sub-graph by clustering. Step 2: Solve each.
Combinatorial Algorithms
Introduction to Graph Theory Lecture 19: Digraphs and Networks.
Chapter 3 The Greedy Method 3.
Chapter 23 Minimum Spanning Trees
Applied Discrete Mathematics Week 12: Trees
Greedy Algorithms for Matroids Andreas Klappenecker.
Graph Algorithms: Minimum Spanning Tree We are given a weighted, undirected graph G = (V, E), with weight function w:
3 -1 Chapter 3 The Greedy Method 3 -2 The greedy method Suppose that a problem can be solved by a sequence of decisions. The greedy method has that each.
Greedy Algorithms Reading Material: Chapter 8 (Except Section 8.5)
Lecture 12 Minimum Spanning Tree. Motivating Example: Point to Multipoint Communication Single source, Multiple Destinations Broadcast – All nodes in.
TCOM 501: Networking Theory & Fundamentals
Is the following graph Hamiltonian- connected from vertex v? a). Yes b). No c). I have absolutely no idea v.
Minimum Spanning Trees CIS 606 Spring Problem A town has a set of houses and a set of roads. A road connects 2 and only 2 houses. A road connecting.
Greedy Algorithms Like dynamic programming algorithms, greedy algorithms are usually designed to solve optimization problems Unlike dynamic programming.
Minimum Spanning Trees. Subgraph A graph G is a subgraph of graph H if –The vertices of G are a subset of the vertices of H, and –The edges of G are a.
TECH Computer Science Graph Optimization Problems and Greedy Algorithms Greedy Algorithms  // Make the best choice now! Optimization Problems  Minimizing.
Minimum Spanning Tree By Jonathan Davis.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley. All rights reserved.
Design and Analysis of Computer Algorithm September 10, Design and Analysis of Computer Algorithm Lecture 5-2 Pradondet Nilagupta Department of Computer.
© The McGraw-Hill Companies, Inc., Chapter 3 The Greedy Method.
Lecture 12-2: Introduction to Computer Algorithms beyond Search & Sort.
ساختمانهای گسسته دانشگاه صنعتی شاهرود – اردیبهشت 1392.
Chapter 2 Graph Algorithms.
Trees and Distance. 2.1 Basic properties Acyclic : a graph with no cycle Forest : acyclic graph Tree : connected acyclic graph Leaf : a vertex of degree.
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.
1 CS104 : Discrete Structures Chapter V Graph Theory.
Lecture 19 Greedy Algorithms Minimum Spanning Tree Problem.
Fundamental Data Structures and Algorithms (Spring ’05) Recitation Notes: Graphs Slides prepared by Uri Dekel, Based on recitation.
Introduction to Graph Theory
Chapter 5 Graphs  the puzzle of the seven bridge in the Königsberg,  on the Pregel.
Minimum Spanning Trees CS 146 Prof. Sin-Min Lee Regina Wang.
Lecture19: Graph III Bohyung Han CSE, POSTECH CSED233: Data Structures (2014F)
EMIS 8373: Integer Programming Combinatorial Relaxations and Duals Updated 8 February 2005.
Relation. Combining Relations Because relations from A to B are subsets of A x B, two relations from A to B can be combined in any way two sets can be.
Spanning Tree Algorithms William T. Trotter and Mitchel T. Keller Math 3012 – Applied Combinatorics Spring 2009.
Graph Theory Trees. WHAT YOU WILL LEARN Trees, spanning trees, and minimum-cost spanning trees.
Minimum Bottleneck Spanning Trees (MBST)
Trees Dr. Yasir Ali. A graph is called a tree if, and only if, it is circuit-free and connected. A graph is called a forest if, and only if, it is circuit-free.
D EPARTMENT /S EMESTER (ECE – III SEM) NETWORK THEORY SECTION-D Manav Rachna University 1.
Lecture 19 Minimal Spanning Trees CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
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.
Grade 11 AP Mathematics Graph Theory Definition: A graph, G, is a set of vertices v(G) = {v 1, v 2, v 3, …, v n } and edges e(G) = {v i v j where 1 ≤ i,
Lecture 12 Algorithm Analysis Arne Kutzner Hanyang University / Seoul Korea.
Algorithm Design and Analysis June 11, Algorithm Design and Analysis Pradondet Nilagupta Department of Computer Engineering This lecture note.
Lecture 5 Graph Theory prepped by Lecturer ahmed AL tememe 1.
Khaled M. Alzoubi, Peng-Jun Wan, Ophir Frieder
Minimum Spanning Trees
Greedy Technique.
Minimum Spanning Tree Chapter 13.6.
COMP 6/4030 ALGORITHMS Prim’s Theorem 10/26/2000.
Lecture 12 Algorithm Analysis
Minimum Spanning Trees
EMIS 8373: Integer Programming
Visualizing Prim’s MST Algorithm Used to Trace the Algorithm in Class
Connected Components Minimum Spanning Tree
Minimum Spanning Tree.
4-4 Graph Theory Trees.
Chapter 23 Minimum Spanning Tree
CS 583 Analysis of Algorithms
Discrete Math II Howon Kim
Lecture 12 Algorithm Analysis
離散數學 DISCRETE and COMBINATORIAL MATHEMATICS
Text Book: Introduction to algorithms By C L R S
Introduction to Algorithms: Greedy Algorithms (and Graphs)
Minimum Spanning Trees (MSTs)
Lecture 12 Algorithm Analysis
INTRODUCTION A graph G=(V,E) consists of a finite non empty set of vertices V , and a finite set of edges E which connect pairs of vertices .
Minimum Spanning Trees
Presentation transcript:

Minimum Spanning Trees, Majority Spanning Trees and Cotrees Presented By: Dr. M. Kaykobad October 04, 2005

Contents Introduction Majority Spanning Tree Majority Co-Tree Theorems Minimum Spanning Tree (MST) MST Algorithm Majority Spanning Tree Fundamental Cutset Definition of Majority Spanning Tree Majority Co-Tree Fundamental Cycle Definition of Majority CoTree Theorems Applications Conclusion

Spanning Tree A subgraph that spans (reaches out to ) all vertices of a graph is called a spanning subgraph. A subgraph that is a tree and that spans (reaches out to ) all vertices of the original graph is called a spanning tree. Among all the spanning trees of a weighted and connected graph, the one (possibly more) with the least total weight is called a minimum spanning tree (MST).

Algorithms for finding MST The well known algorithms are: Kruskal's Algorithm Prim's Algorithm a b c d h g f e

Kruskal’s Algorithm 5 9 3 3 4 4 12 12 2 7 9 7 7 9 9 15 7 2 7 7 7 10 10 14 14 2 2 8 7 5 2 6 6 8 13 13 10 10 5 6 1 1 5 5 11 11 7 6

Prim’s Algorithm 5 9 3 3 4 4 12 12 2 7 9 7 7 9 9 15 7 2 7 7 7 10 10 14 14 2 2 8 7 5 2 6 6 8 13 13 10 10 5 6 1 1 5 5 11 11 7 6

Fundamental Cutset Fundamental Cutset Matrix: It is an defined analogously- Fundamental Cutset : Let T be any arbitrary spanning tree of G, Kk be the fundamental cutset defined by edge (i,j)=ek T, and where, Kk+ , Kk- are the set of forward and reverse edges of the cutset Kk.

Majority Spanning Tree Definition: A spanning tree T is said to be a majority spanning tree of the digraph G=(V,E) with real weight function P:ER+ if for each fundamental cutset Kk, determined by the edges of T, Pr(Kk) 0 For example, the value of the cut-set determined by the edge DA is (-5+3-8+11)=1>=0 since DA and GE are in the same orientation whereas AC and ED are in the opposite. In this way cut-set determined by other edges of the spanning tree with thick edges can be shown to have nonnegative weights. . D E A B F C G 8 4 3 5 7 9 11 13 Fig1: Majority Spanning Tree

CoTree and Fundamental Cycle Co-Spanning Tree : Let T be a spanning tree of the underlying graph of G, then is called a cotree or co-spanning tree. Fundamental Cycle :For every edge , contains a unique cycle, called fundamental cycle, whose orientation is along the direction of (i, j ) . Then fundamental cycle matrix is an defined as follows: be the weight of the cycle Ck, where each Ck is a fundamental cycle with respect to a spanning tree T and Ck+, Ck- are respectively the sets of forward and reverse edges in Ck.

A Majority CoTree Definition: A cotree is said to be a majority cotree of the digraph G=(V,E) with real weight function P:ER+ if for each fundamental cycle Ck, determined by the edges of T, P(Ck) 0. i.e. Let be the cotree consisting of the thick edges as shown in Fig. 2. The fundamental cycles CFDAC, CGEDAC and ABEDA, determined respectively by the edges CF, CG and AB of are directed. Evidently, P(CFDAC), P(CGEDAC) and P(ABEDA) are all non-negative, and hence is a majority cotree. D E A B F C G 9 13 8 4 3 5 7 11 Fig 2: A Majority Cotree

Theorems Theorem 2.1: Every digraph G=(V,A) with non-negative weight function P:ER+ has a majority spanning tree. Theorem 2.2: Every digraph G=(V,E) with non-negative weight function P:ER+ has a majority cotree. Theorem 2.3: For every digraph G=(V,E) with non-negative weight function P:E  R+ there is a majority spanning tree T such that T is a majority cotree.

Possible Applications Minimum Connection Time Problem : In a transportation system it is not always possible to provide for all passengers a direct connection from origin to destination. Some passengers may have to use several connecting trips to reach their destination. The connection time is the time a passenger has to wait between connecting trips. The problem that addresses how to construct a timetable for the transportation system that minimizes the total weighted connection time will be referred to as Minimum Connection Time (MCT) Problem

Theorem For MCT Problem Let Let p be the weight of edges of G(V,E). Then Theorem 3.1 For the optimal solution to the MCT problem, the set of edges with contains a majority spanning tree.

Possible Applications (cont.) Ranking Problem: Consider the problem of ranking players of a round-robin tournament by minimizing number of upsets, that is number of matches in which lowly ranked players have defeated highly ranked players. The results of such a tournament can be expressed in a digraph known as tournament digraph. In a tournament digraph players correspond to vertices and each edge corresponds to the result of a match in which case edge starts at the vertex corresponding to the winning player, and the defeated player corresponds to the head of the edge.

Theorem For Ranking Problem Let R be a ranking of players, VR=V and ER={(i,j)| rank of player corresponding to vertex j is immediately below that of player corresponding to vertex i}. It is obvious that GR=(VR,ER) is a spanning tree of G, more accurately GR=(VR,ER) is a Hamiltonian semipath. Theorem 4: Let R be any optimal ranking of a tournament represented by G=(V,E). Then GR=(VR,ER) is an MST of G.

Theorem For Ranking Problem (cont.) Let, Gij® be the subgraph of G induced by the set of vertices corresponding to players ranked from i to j, and GijR be the subgraph of Gij® having the same set of vertices, and only those edges that correspond to the results of matches between consecutively ranked players. Then Theorem 5: For any optimal ranking R and 1 i  j n, GijR must be an MST of Gij®.

Conclusion The novelty of these theorems is the discovery of a new class of spanning trees, termed as majority spanning trees, in directed graphs with non-negative weights on edges.

References Kaykobad, M., "Minimum connection time and some related complexity problems", Ph. D. Thesis, The Flinders University of South Australia, 1986. Kaykobad, M., Ahmed, Q. N. U., Khalid, A. T. M. S. and Bakhtiar, Rezwan Al, A new algorithm for ranking players of a round robin tournament, Computers Ops. Res. 22, 221-226 (1995).

Thank You