0% found this document useful (0 votes)
164 views

UNIT III Directed Paths and Connectedness

This document discusses strong and weak connectedness in directed graphs. [1] Strong connectedness means there is a path between every pair of vertices, while weak connectedness means the underlying undirected graph is connected. [2] An example graph is given that is weakly but not strongly connected. [3] Removing an edge can cause a graph to lose both strong and weak connectedness.

Uploaded by

yashnaik7664
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
164 views

UNIT III Directed Paths and Connectedness

This document discusses strong and weak connectedness in directed graphs. [1] Strong connectedness means there is a path between every pair of vertices, while weak connectedness means the underlying undirected graph is connected. [2] An example graph is given that is weakly but not strongly connected. [3] Removing an edge can cause a graph to lose both strong and weak connectedness.

Uploaded by

yashnaik7664
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

UNIT III Directed Paths and Connectedness

-----------------------------------------------------------------------------------------------
Asst. Prof. D.R. Khadapkar
GEC, Information Technology & Engineering

Connectedness of a Directed Graph


When dealing with directed graphs, we define two kinds of
connectedness, strong and weak. Strong connectedness of a directed
graph is defined as follows:

Definition (Strong Connectedness of a Directed Graph) A directed


graph is strongly connected if there is a path in G between
every pair of vertices in .

For example, Figure shows the directed graph given by

Notice that the graph is not connected! E.g., there is no path from
any of the vertices in to any of the vertices in .
Nevertheless, the graph ``looks'' connected in the sense that it is not
made of up of separate parts in the way that the graph in Figure is.

This idea of ``looking'' connected is what weak


connectedness represents. To define weak connectedness, we need to
introduce first the notion of the undirected graph that underlies a
directed graph: Consider a directed graph . The underlying
undirected graph is the graph where represents the set of
undirected edges that is obtained by removing the arrowheads from
the directed edges in G:
Figure: A Weakly Connected Directed Graph and the Underlying
Undirected Graph

Weak connectedness of a directed graph is defined with respect to its


underlying, undirected graph:

Definition (Weak Connectedness of a Directed Graph) A directed


graph is weakly connected if the underlying undirected
graph is connected.

For example, since the undirected graph in Figure is connected, the


directed graph is weakly connected. Consider what happens when
we remove the edge (b,e) from the directed graph . The underlying
undirected graph that we get is in Figure. Therefore, when we
remove edge (b,e) from , the graph that remains is neither strongly
connected nor weakly connected.

A traversal of a directed graph (either depth-first or breadth-first)


starting from a given vertex will only visit all the vertices of an
undirected graph if there is a path from the start vertex to every other
vertex. Therefore, a simple way to test whether a directed graph is
strongly connected uses traversals--one starting from each vertex
in . Each time the number of vertices visited is counted. The graph is
strongly connected if all the vertices are visited in each traversal.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy