Paths. Path is a sequence of edges that begins at a vertex of a graph and travels from vertex to vertex along edges of the graph.

Similar documents
CS 311 Discrete Math for Computer Science Dr. William C. Bulko. Graphs

Graphs. Introduction To Graphs: Exercises. Definitions:

2. CONNECTIVITY Connectivity

Graphs. Pseudograph: multiple edges and loops allowed

Introduction to Graphs

Paths, Circuits, and Connected Graphs

Discrete Structures CISC 2315 FALL Graphs & Trees

Varying Applications (examples)

Number Theory and Graph Theory

GRAPHS, GRAPH MODELS, GRAPH TERMINOLOGY, AND SPECIAL TYPES OF GRAPHS

Graph Theory S 1 I 2 I 1 S 2 I 1 I 2

CSC Intro to Intelligent Robotics, Spring Graphs

Introduction III. Graphs. Motivations I. Introduction IV

1 Digraphs. Definition 1

Graph and Digraph Glossary

Introduction to Graph Theory

CMSC 380. Graph Terminology and Representation

(5.2) 151 Math Exercises. Graph Terminology and Special Types of Graphs. Malek Zein AL-Abidin

CS 441 Discrete Mathematics for CS Lecture 26. Graphs. CS 441 Discrete mathematics for CS. Final exam

Let G = (V, E) be a graph. If u, v V, then u is adjacent to v if {u, v} E. We also use the notation u v to denote that u is adjacent to v.

Characterizing Graphs (3) Characterizing Graphs (1) Characterizing Graphs (2) Characterizing Graphs (4)

Part II. Graph Theory. Year

UNDIRECTED GRAPH: a set of vertices and a set of undirected edges each of which is associated with a set of one or two of these vertices.

GRAPH THEORY - CONNECTIVITY

Assignment 4 Solutions of graph problems

Fundamental Properties of Graphs

Algorithms. Graphs. Algorithms

Graphs: Introduction. Ali Shokoufandeh, Department of Computer Science, Drexel University

Basics of Graph Theory

CONNECTIVITY AND NETWORKS

Algorithms: Graphs. Amotz Bar-Noy. Spring 2012 CUNY. Amotz Bar-Noy (CUNY) Graphs Spring / 95

Adjacent: Two distinct vertices u, v are adjacent if there is an edge with ends u, v. In this case we let uv denote such an edge.

4. (a) Draw the Petersen graph. (b) Use Kuratowski s teorem to prove that the Petersen graph is non-planar.

CPCS Discrete Structures 1

Graph Theory CS/Math231 Discrete Mathematics Spring2015

Domination, Independence and Other Numbers Associated With the Intersection Graph of a Set of Half-planes

Compatible circuits in eulerian digraphs

Assignment 1 Introduction to Graph Theory CO342

Elements of Graph Theory

K 4 C 5. Figure 4.5: Some well known family of graphs

Discrete Mathematics (2009 Spring) Graphs (Chapter 9, 5 hours)

Module 11. Directed Graphs. Contents

Graph Theory. Connectivity, Coloring, Matching. Arjun Suresh 1. 1 GATE Overflow

An Introduction to Graph Theory

WUCT121. Discrete Mathematics. Graphs

22 Elementary Graph Algorithms. There are two standard ways to represent a

SCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics. An Introduction to Graph Theory

V :non-empty vertex ornode set E V V :edge set G (V, E) :directed graph on V, or digraph on V

Outline. Introduction. Representations of Graphs Graph Traversals. Applications. Definitions and Basic Terminologies

DEFINITION OF GRAPH GRAPH THEORY GRAPHS ACCORDING TO THEIR VERTICES AND EDGES EXAMPLE GRAPHS ACCORDING TO THEIR VERTICES AND EDGES

Week 9-10: Connectivity

CMSC 451: Lecture 22 Approximation Algorithms: Vertex Cover and TSP Tuesday, Dec 5, 2017

11/22/2016. Chapter 9 Graph Algorithms. Introduction. Definitions. Definitions. Definitions. Definitions

Chapter 9 Graph Algorithms

Best known solution time is Ω(V!) Check every permutation of vertices to see if there is a graph edge between adjacent vertices

22 Elementary Graph Algorithms. There are two standard ways to represent a

Graph theory - solutions to problem set 1

CS6702 GRAPH THEORY AND APPLICATIONS 2 MARKS QUESTIONS AND ANSWERS

Lecture 4: Walks, Trails, Paths and Connectivity

Graph Theory: Introduction

Matching and Planarity

Chapter 2 Graphs. 2.1 Definition of Graphs

CS473-Algorithms I. Lecture 13-A. Graphs. Cevdet Aykanat - Bilkent University Computer Engineering Department

HW Graph Theory SOLUTIONS (hbovik)

Inf 496/596 Topics in Informatics: Analysis of Social Network Data

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI

Eulerian circuits with no monochromatic transitions

DS UNIT 4. Matoshri College of Engineering and Research Center Nasik Department of Computer Engineering Discrete Structutre UNIT - IV

Math 170- Graph Theory Notes

Graphs and Trees. An example. Graphs. Example 2

γ(ɛ) (a, b) (a, d) (d, a) (a, b) (c, d) (d, d) (e, e) (e, a) (e, e) (a) Draw a picture of G.

Chapter 3: Paths and Cycles

V10 Metabolic networks - Graph connectivity

Minimum-Spanning-Tree problem. Minimum Spanning Trees (Forests) Minimum-Spanning-Tree problem

Theorem 3.1 (Berge) A matching M in G is maximum if and only if there is no M- augmenting path.

MTL 776: Graph Algorithms. B S Panda MZ 194

Ma/CS 6b Class 5: Graph Connectivity

0.0.1 Network Analysis

Graph Connectivity G G G

6. Lecture notes on matroid intersection

CHAPTER 2. Graphs. 1. Introduction to Graphs and Graph Isomorphism

CHAPTER 10 GRAPHS AND TREES. Alessandro Artale UniBZ - artale/z

v V Question: How many edges are there in a graph with 10 vertices each of degree 6?

Lesson 22: Basic Graph Concepts

Graphs II: Trailblazing

Graph Theory. Part of Texas Counties.

CSE 101, Winter Discussion Section Week 1. January 8 - January 15

Some Strong Connectivity Concepts in Weighted Graphs

Worksheet for the Final Exam - Part I. Graphs

Super Connectivity of Line Graphs and Digraphs

AMS /672: Graph Theory Homework Problems - Week V. Problems to be handed in on Wednesday, March 2: 6, 8, 9, 11, 12.

11/26/17. directed graphs. CS 220: Discrete Structures and their Applications. graphs zybooks chapter 10. undirected graphs

Graphs and Network Flows IE411. Lecture 21. Dr. Ted Ralphs

Definition For vertices u, v V (G), the distance from u to v, denoted d(u, v), in G is the length of a shortest u, v-path. 1

Cuts, Connectivity, and Flow

Definition: A graph G = (V, E) is called a tree if G is connected and acyclic. The following theorem captures many important facts about trees.

Math Summer 2012

Network Topology and Graph

Theorem 2.9: nearest addition algorithm

Decreasing a key FIB-HEAP-DECREASE-KEY(,, ) 3.. NIL. 2. error new key is greater than current key 6. CASCADING-CUT(, )

Transcription:

Paths Path is a sequence of edges that begins at a vertex of a graph and travels from vertex to vertex along edges of the graph.

Formal Definition of a Path (Undirected) Let n be a nonnegative integer and G an undirected graph. A path of length n from u to v in G is a sequence of n edges e 1,, e n of G for which there exists a sequence x 0 = u, x 1, x n-1, x n = v of vertices such that e i has, for i = 1,, n, the endpoints x i-1 and x i. When the graph is simple, we denote this path by its vertex sequence x 0, x 1,, x n (because listing these vertices uniquely determines the path) The path is a circuit if begins and ends at the same vertex (if u = v and length > 0) The path is said to pass through the vertices x 1, x 2,, x n-1 or traverse edges e 1, e 2, e n A path or circuit is simple if it does not contain the same edge more than once.

Formal Definition of a Path (Directed) Let n be a nonnegative integer and G a directed graph. A path of length n from u to v in G is a sequence of edges e 1, e 2,, e n of G such that e 1 is associated with (x 0, x 1 ), e 2 is associated with (x 1, x 2 ) and so on, with e n associated with (x n-1, x n ), where x 0 = u and x n = v. When there are no multiple edges in the directed graph, this path is denoted by its vertex sequence x 0, x 1, x 2,, x n. A path of length greater than zero that begins and ends at the same vertex is called a circuit or cycle. A path or circuit is called simple if it does not contain the same edge more than once.

Connectedness in Undirected Graphs An undirected graph is called connected if there is a path between every pair of distinct vertices of the graph. An undirected graph that is not connected is called disconnected. We say that we disconnect a graph when we remove vertices or edges or both to produce a disconnected subgraph.

Theorem 10.4.1 There is a simple path between every pair of distinct vertices of a connected undirected graph.

Connected Components A connected component of a graph G is a connected subgraph of G that is not a proper subgraph of another connected subgraph of G. That is, a connected component of a graph G is a maximal connected subgraph of G A graph G that is not connected has two or more connected components that are disjoint and have G as their union.

Cut Vertices and Edges A vertex whose removal, along with the removal of all incident edges, produces a subgraph with more connected components is called a cut vertex. Connected graphs without cut vertices are called non-separable graphs. An edge whose removal produces a graph with more connected components than the original graph is called a cut edge

Vertex Connectivity A subset V of the vertex set V of G = (V, E) is a vertex cut if G V is disconnected We define the vertex connectivity of a noncomplete graph G, denoted by κ(g), as the minimum number of vertices in a vertex cut. We say that a graph is k-connected if κ(g) k

Edge Connectivity A set of edges E is called an edge cut of G if the subgraph G E is disconnected. The edge connectivity of a graph, denoted by λ(g), is the minimum number of edges in an edge cut of G. Inequality for Vertex/Edge Connectivity κ(g) λ(g) min(deg(v)) for v ϵ V

Connectivity in Directed Graphs A directed graph is strongly connected if there is a path from a to b and from b to a whenever a and b are vertices in the graph A directed graph is weakly connected if there is a path between every two vertices in the underlying undirected graph

Strongly Connected Components A subgraph that is strongly connected, but not contained in a larger strongly connected subgraph is called a strongly connected component.

Paths and Isomorphism The existence of a simple circuit of a particular length is an invariant that can be used to show that two graphs are not isomorphic Paths can also be used as a guideline when constructing an isomorphism between two graphs.

Counting Paths between Vertices Theorem: Let G be a graph with adjacency matrix A with respect to the ordering v 1, v 2,, v n of vertices of the graph (with directed or undirected edges, with multiple edges and loops allowed). The number of different paths of length r from v i to v j, where r is a positive integer equals the (i, j) th entry of A r.