Introduction to Graph Theory

Slides:



Advertisements
Similar presentations
CSE 211 Discrete Mathematics
Advertisements

Lecture 7. Network Flows We consider a network with directed edges. Every edge has a capacity. If there is an edge from i to j, there is an edge from.
Connectivity - Menger’s Theorem Graphs & Algorithms Lecture 3.
Lecture 5 Graph Theory. Graphs Graphs are the most useful model with computer science such as logical design, formal languages, communication network,
Edge-connectivity and super edge-connectivity of P 2 -path graphs Camino Balbuena, Daniela Ferrero Discrete Mathematics 269 (2003) 13 – 20.
Midwestern State University Department of Computer Science Dr. Ranette Halverson CMPS 2433 – CHAPTER 4 GRAPHS 1.
Introduction to Graphs
 Distance Problems: › Post Office Problem › Nearest Neighbors and Closest Pair › Largest Empty and Smallest Enclosing Circle  Sub graphs of Delaunay.
CSC401 – Analysis of Algorithms Lecture Notes 14 Graph Biconnectivity
Minimum Spanning Tree CSE 331 Section 2 James Daly.
Some Graph Problems. LINIAL’S CONJECTURE Backgound: In a partially ordered set we have Dilworth’s Theorem; The largest size of an independent set (completely.
CMPS 2433 Discrete Structures Chapter 5 - Trees R. HALVERSON – MIDWESTERN STATE UNIVERSITY.
Approximation Algorithms Chapter 5: k-center. Overview n Main issue: Parametric pruning –Technique for approximation algorithms n 2-approx. algorithm.
Tirgul 8 Graph algorithms: Strongly connected components.
Introduction to Graph Theory Lecture 19: Digraphs and Networks.
Data Structures, Spring 2004 © L. Joskowicz 1 Data Structures – LECTURE 14 Strongly connected components Definition and motivation Algorithm Chapter 22.5.
1 Numerical geometry of non-rigid shapes Consistent approximation of geodesics in graphs Consistent approximation of geodesics in graphs Tutorial 3 © Alexander.
Definition Hamiltonian graph: A graph with a spanning cycle (also called a Hamiltonian cycle). Hamiltonian graph Hamiltonian cycle.
Data Structures, Spring 2006 © L. Joskowicz 1 Data Structures – LECTURE 14 Strongly connected components Definition and motivation Algorithm Chapter 22.5.
The Mathematics of Networks Chapter 7. Trees A tree is a graph that –Is connected –Has no circuits Tree.
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 10, Monday, September 22.
Discrete Mathematics Lecture 9 Alexander Bukharovich New York University.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley. All rights reserved.
1 Shortest Path Calculations in Graphs Prof. S. M. Lee Department of Computer Science.
Introduction to Graph Theory
GRAPH Learning Outcomes Students should be able to:
5.4 Shortest-path problem  Let G=(V,E,w) be a weighted connected simple graph, w is a function from edges set E to position real numbers set. We denoted.
Lecture 13 Graphs. Introduction to Graphs Examples of Graphs – Airline Route Map What is the fastest way to get from Pittsburgh to St Louis? What is the.
GRAPHS CSE, POSTECH. Chapter 16 covers the following topics Graph terminology: vertex, edge, adjacent, incident, degree, cycle, path, connected component,
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.
A Clustering Algorithm based on Graph Connectivity Balakrishna Thiagarajan Computer Science and Engineering State University of New York at Buffalo.
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.
Boundary vertices in graphs Discrete Mathematics 263 (2003) Gary Chartrand, David Erwin Garry L. Johns, Ping Zhang.
Discrete Structures Lecture 12: Trees Ji Yanyan United International College Thanks to Professor Michael Hvidsten.
Introduction to Graph Theory
Basic Notions on Graphs. The House-and-Utilities Problem.
Partitioning the Labeled Spanning Trees of an Arbitrary Graph into Isomorphism Classes Austin Mohr.
COSC 2007 Data Structures II Chapter 14 Graphs I.
Connectivity and Paths 報告人:林清池. Connectivity A separating set of a graph G is a set such that G-S has more than one component. The connectivity of G,
Introduction to Graphs. This Lecture In this part we will study some basic graph theory. Graph is a useful concept to model many problems in computer.
 Quotient graph  Definition 13: Suppose G(V,E) is a graph and R is a equivalence relation on the set V. We construct the quotient graph G R in the follow.
Introduction to Graph Theory
Introduction to Graph Theory
Introduction to Graph Theory
Introduction to Graph Theory
Indian Institute of Technology Kharagpur PALLAB DASGUPTA Graph Theory: Trees Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering, IIT
1 Assignment #3 is posted: Due Thursday Nov. 15 at the beginning of class. Make sure you are also working on your projects. Come see me if you are unsure.
Algorithms for hard problems Parameterized complexity Bounded tree width approaches Juris Viksna, 2015.
Network Partition –Finding modules of the network. Graph Clustering –Partition graphs according to the connectivity. –Nodes within a cluster is highly.
 2004 SDU 1 Lecture5-Strongly Connected Components.
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.
12. Lecture WS 2012/13Bioinformatics III1 V12 Menger’s theorem Borrowing terminology from operations research consider certain primal-dual pairs of optimization.
CSC317 1 At the same time: Breadth-first search tree: If node v is discovered after u then edge uv is added to the tree. We say that u is a predecessor.
Trees.
Theory of Computational Complexity Probability and Computing Chapter Hikaru Inada Iwama and Ito lab M1.
Introduction to the Design and Analysis of Algorithms
Graph theory Definitions Trees, cycles, directed graphs.
Graph Theory and Algorithm 01
CS 3343: Analysis of Algorithms
Autumn 2016 Lecture 11 Minimum Spanning Trees (Part II)
Autumn 2015 Lecture 11 Minimum Spanning Trees (Part II)
Discrete Mathematics and its Applications Lecture 1 – Graph Theory
Trees.
Discrete Mathematics Lecture 13_14: Graph Theory and Tree
V12 Menger’s theorem Borrowing terminology from operations research
Warm Up – Tuesday Find the critical times for each vertex.
Winter 2019 Lecture 11 Minimum Spanning Trees (Part II)
Graph Theory: Cuts and Connectivity
Graph Theory: Euler Graphs and Digraphs
Autumn 2019 Lecture 11 Minimum Spanning Trees (Part II)
Presentation transcript:

Introduction to Graph Theory Lecture 08: Distance and Connectivity

Introduction We have came across the concept of distance when we studied isomorphism. Many graph algorithms are related to searching for paths of various lengths within the graph. Connectivity is important since it is strongly related to reliability and vulnerability of computer networks.

Distance Distance d(u,v) is the number of edges in any u-v geodesic in G. d(u,v) obeys metric rules: and , known as triangle inequality

Terminology Eccentricity If e(v)=t, then the distance from v to any other vertex of G is no more than t There is at least one vertex whose distance from v is t. If d(v,w)=e(v) then w is an eccentric vertex of v Should v be the eccentric vertex of w? If u and v are eccentric vertices of one another, they are mutually eccentric.

Terminology The minimum eccentricity among the vertices of a graph is called the radius of G, rad(G). A set of vertices with minimum eccentricity is called the center. What is the importance of the notion of center in applications? Maximum eccentricity is call the diameter, diam(G). (What if G is disconnected?) Periphery, P(G), is the set of vertices with maximum eccentricity. For any graph G,

Terminology An antipodal/diametral pair of vertices u and v satisfies d(u,v)=diam(G); each vertex is termed an antipode of the other. Antipodal vertices are always mutually eccentric. A radial path is a geodesic joining the central vertex to one of its eccentric vertices. A diametral path is a geodesic joining the diametral pair of vertices.

Exercise (Example 4.1) n b g a c f k t j

Theorem on Eccentricity Theorem: If u and v are adjacent vertices in a connected graph, then . In other words, eccentricities of adjacent vertices differ by at most 1. Proof: for all x Let w be an eccentric vertex of v, so …

Distance Properties for Trees P1: Given 2 vertices u, v, and w, such that u and v are adjacent, we have P2: All eccentric vertices of a tree are end vertices P3: Pairs of antipodal vertices of a tree are end vertices P4: The periphery of a tree consists of end vertices P5: In any tree T, every diametral path includes all central vertices of T.

The Center of a Tree Theorem: The center of a tree consists of either a single vertex or two adjacent vertices. Proof: by pruning We prune the end vertices one layer at a time This decrease the eccentricity of each surviving vertex by exactly 1 (by P2) Center remains unchanged What remains is either a single vertex or 2 adjacent vertices.

The Center of a Tree Theorem: For any tree T, if |C(T)|=1, then diam(T)=2*rad(T), and if |C(T)|=2, then diam(T)=2*rad(T)-1. Proof: for |C(T)|=1, and let C(T)={v} If V(T)=1, then it is trivial If V(T)>=3, then there are at least 2 branches at v Two such branches must contain radial paths Let x and y be the end vertices of the two radial path The geodesic joining x and y is 2*rad(T)=diam(T)

The Center of a Tree Proof: for |C(T)|=2, and let C(T)={v,u} From previous theorem, we know that d(u,v)=1 All the radial path starting from u contains v, and vice versa. So all the radial paths have uv in common By P5, every diametral x-y path contains uv The x-y path is geodesic x->C(T) + uv + C(T)->y Thus x-y path composed of two radial paths overlapping at uv Thus diam(T)=2rad(T)-1

Centroid of Tree Given a vertex v of a tree T, the maximal subtrees that have v as an end vertex are called branches at v. Weight of a vertex is the largest number of edges among all of its branches. v v Number of branches for v is 4, weight is 2

Centroid of Tree The centroid of a tree T is the set of vertices with minimum weight. It consisting of a single vertex or two adjacent vertices. The center and centroid may be disjoint. v=center w=centroid