1 Section 8.4 Connectivity. 2 Paths In an undirected graph, a path of length n from u to v, where n is a positive integer, is a sequence of edges e 1,

Slides:



Advertisements
Similar presentations
CSE 211 Discrete Mathematics
Advertisements

CSE 211 Discrete Mathematics
Discrete Mathematics University of Jazeera College of Information Technology & Design Khulood Ghazal Connectivity Lecture _13.
Graphs, representation, isomorphism, connectivity
Based on slides by Y. Peng University of Maryland
Chapter 9 Graphs.
22C:19 Discrete Math Graphs Fall 2010 Sukumar Ghosh.
Graph-02.
 期中测验时间:本周五上午 9 : 40  教师 TA 答疑时间 : 周三晚上 6 : 00—8 : 30  地点:软件楼 315 房间,  教师 TA :李弋老师  开卷考试.
1 Slides based on those of Kenneth H. Rosen Slides by Sylvia Sorkin, Community College of Baltimore County - Essex Campus Graphs.
1 Section 8.1 Introduction to Graphs. 2 Graph A discrete structure consisting of a set of vertices and a set of edges connecting these vertices –used.
Applied Discrete Mathematics Week 12: Trees
Introduction to Graphs
Applications of Depth-First Search
4/17/2017 Section 8.5 Euler & Hamilton Paths ch8.5.
KNURE, Software department, Ph , N.V. Bilous Faculty of computer sciences Software department, KNURE Discrete.
Discrete Mathematics Lecture 9 Alexander Bukharovich New York University.
22C:19 Discrete Math Graphs Spring 2014 Sukumar Ghosh.
GRAPH Learning Outcomes Students should be able to:
Graph Theoretic Concepts. What is a graph? A set of vertices (or nodes) linked by edges Mathematically, we often write G = (V,E)  V: set of vertices,
© 2006 Pearson Addison-Wesley. All rights reserved14 A-1 Chapter 14 Graphs.
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.
© by Kenneth H. Rosen, Discrete Mathematics & its Applications, Sixth Edition, Mc Graw-Hill, 2007 Chapter 9 (Part 2): Graphs  Graph Terminology (9.2)
1 CS104 : Discrete Structures Chapter V Graph Theory.
Based on slides by Y. Peng University of Maryland
Module #19: Graph Theory: part II Rosen 5 th ed., chs. 8-9.
Graphs.  Definition A simple graph G= (V, E) consists of vertices, V, a nonempty set of vertices, and E, a set of unordered pairs of distinct elements.
Graphs What are Graphs? General meaning in everyday math: A plot or chart of numerical data using a coordinate system. Technical meaning in discrete.
September1999 CMSC 203 / 0201 Fall 2002 Week #13 – 18/20/22 November 2002 Prof. Marie desJardins.
Lecture 10: Graph-Path-Circuit
Graphs 9.1 Graphs and Graph Models أ. زينب آل كاظم 1.
Graphs A graphs is an abstract representation of a set of objects, called vertices or nodes, where some pairs of the objects are connected by links, called.
MAT 2720 Discrete Mathematics Section 8.2 Paths and Cycles
 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.
Discrete Structures CISC 2315 FALL 2010 Graphs & Trees.
Graphs Upon completion you will be able to:
Introduction to Graph Theory
Graphs. Contents Terminology Graphs as ADTs Applications of Graphs.
Chapter 9: Graphs.
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.
Graph Concepts Illustrated Using The Leda Library Amanuel Lemma CS252 Algorithms.
CSC 252: Algorithms October 28, 2000 Homework #5: Graphs Victoria Manfredi (252a-ad) notes: -Definitions for each of the graph concepts are those presented.
Graphs Rosen, Chapter 8. NOT ONE OF THESE! One of these!
Chap 7 Graph Def 1: Simple graph G=(V,E) V : nonempty set of vertices E : set of unordered pairs of distinct elements of V called edges Def 2: Multigraph.
1. 期中测验时间和地点: 11 月 4 日, 上午 9:40—11 : 40 地点: 教室 2. 答疑时间和地点: 1)11 月 1 日 ( 周五 )13:00—15:00 软件楼 319 2)11 月 2 日和 3 日, 14:00—17:00 软件楼 3 楼 机房讨论室.
DATA STRUCTURE Presented By: Mahmoud Rafeek Alfarra Using C# MINISTRY OF EDUCATION & HIGHER EDUCATION COLLEGE OF SCIENCE AND TECHNOLOGY KHANYOUNIS- PALESTINE.
Graph Terms By Susan Ott. Vertices Here are 7 vertices without any edges Each Vertex is labeled a different color and number.
Leda Demos By: Kelley Louie Credits: definitions from Algorithms Lectures and Discrete Mathematics with Algorithms by Albertson and Hutchinson graphics.
رياضيات متقطعة لعلوم الحاسب MATH 226. Chapter 10.
CSC 252 Pallavi Moorthy Homework 5. 1.) Vertices, edges From cd../../handout/demo/graph_alg/gw_shortest_path.
Applied Discrete Mathematics Week 14: Trees
Chapter 9 (Part 2): Graphs
Special Graphs By: Sandeep Tuli Astt. Prof. CSE.
Graph Graphs and graph theory can be used to model:
Graphs Hubert Chan (Chapter 9) [O1 Abstract Concepts]
Graph theory Definitions Trees, cycles, directed graphs.
Discrete Structures – CNS2300
Spanning Trees Discrete Mathematics.
Based on slides by Y. Peng University of Maryland
Can you draw this picture without lifting up your pen/pencil?
CS100: Discrete structures
Connectivity Section 10.4.
10.1 Graphs and Graph Models
Graphs Examples on some basic graph concepts and definitions All graphics are taken from the LEDA demos: basic_graph_algorithms, gw_shortest_paths, graphwin.
10.4 Connectivity Dr. Halimah Alshehri.
Graphs G = (V, E) V are the vertices; E are the edges.
GRAPHS G=<V,E> Adjacent vertices Undirected graph
9.4 Connectivity.
Applied Discrete Mathematics Week 13: Graphs
Based on slides by Y. Peng University of Maryland
Presentation transcript:

1 Section 8.4 Connectivity

2 Paths In an undirected graph, a path of length n from u to v, where n is a positive integer, is a sequence of edges e 1, …, e n of the graph such that f(e 1 )={x 0,x 1 }, f(e 2 )={x 1,x 2 }, …, f(e n )={x n-1,x n } where x 0 = u and x n = v In a simple graph, we denote this path by its vertex sequence

3 Paths Circuit: a path that begins and ends at the same vertex (i.e., u=v) The path or circuit is said to pass through or traverse the vertices x 1, x 2, …, x n-1 Simple path or circuit: path or circuit that does not contain the same edge more than once

4 Example 1 In the simple graph at the left, the path: u1,u2,u4,u5 is a simple path of length 3 since {u1,u2}, {u2,u4}, {u4,u5} all exist as edges

5 Example 1 The path: u1,u2,u5,u4 is not a path, because no edge exists between u2 and u5 The path: u1,u2,u6,u5,u1 is a circuit of length 4

6 Paths in directed multigraphs Definition is virtually identical to definition of simple graph path When no multiple edges exist, the graph is denoted by its vertex sequence A circuit or cycle is a path that begins and ends at the same vertex A path or circuit is simple if it does not contain the same edge more than once

7 Connectedness in undirected graphs An undirected graph is connected if there is a path between every pair of distinct vertices The graph on the right is connected - can find at least one path between every pair of vertices

8 Connected components A graph that is not connected is the union of two or more connected subgraphs, each pair of which has no vertex in common These disjoint connected subgraphs are the connected components of the graph

9 Cut vertices and cut edges A cut vertex (or articulation point) is a vertex which, when removed with all its incident edges, leaves behind a subgraph with more connected components than were found in the original graph The removal of a cut vertex from a connected graph produces a subgraph that is not connected An edge whose removal produces a graph with more connected components than in the original graph is called a cut edge or bridge

10 Example Find the cut vertices and cut edges in the graph below:

11 Example Original graph: Vertex b is a cut vertex: Vertex c is a cut vertex: Vertex e is a cut vertex:

12 Example Cut edges are: {a, b}{c, e}

13 Connectedness in digraphs Strongly connected: a digraph is strongly connected if, for vertices a and b, there is a path from a to b and a pathfrom b to a Weakly connected: a digraph is weakly connected if there is a path between any two vertices in the underlying undirected graph A strongly connected graph is also weakly connected, but a weakly connected graph may not be strongly connected

14 Examples Strongly-connectedWeakly-connected

15 Paths and Isomorphism The existence of a simple circuit of length k, where k > 2, is a useful isomorphic invariant for simple graphs If one graph has such a circuit and the other does not, the graphs are not isomorphic

16 Section 8.4 Connectivity