edited by
7,755 views
1 votes
1 votes
Hi Guys,

Is there any quick way of verifying Graph is Strongly Connected, Unilaterally connected and weakly Connected ?

For Example - If  1 dead point then graph is Unilaterally Connected and If  2 dead points then graph is Weakly Connected.
edited by

1 Answer

1 votes
1 votes

Strongly connected graph: A directed graph is said to be strongly connected if for any pair of nodes there is a path from each one to the other. That means there is a route between every two nodes.

Strongly connected graph: 

 

in this directed Graph there is a path between every pair of vertices, so it is a strongly connected graph.

Unilaterally connected graph: A directed graph is said to be unilaterally connected if for any pair of nodes at least one of the nodes is reachable from the other. That means a directed graph is unilaterally connected if, for any two vertices A and B, there is a directed path from A to B or from B to A, but not necessarily both (although there could be).

Strongly connected implies that both directed paths exist. This means that strongly connected graphs are a subset of unilaterally connected graphs.

 

Unilaterally connected graph: here we can see, there is a path between C to B, there is no path between B to C.

Weakly connected Graph: A directed graph is weakly connected if it's underlying graph (means graph without direction) is connected. ​​​​​​​ 

Check if a graph is strongly connected(Kosaraju using DFS) https://www.geeksforgeeks.org/connectivity-in-a-directed-graph/

Strongly Connected Components https://www.geeksforgeeks.org/strongly-connected-components/

Tarjan’s Algorithm to find Strongly Connected Components https://www.geeksforgeeks.org/tarjan-algorithm-find-strongly-connected-components/

edited by

Related questions

0 votes
0 votes
1 answer
1
Lakshman Bhaiya asked Oct 21, 2018
3,396 views
How to find Strongly connected components and weakly connected components in the given graph?
7 votes
7 votes
1 answer
2
Lakshman Bhaiya asked Jan 12, 2018
949 views
Find the no of strongly connected components for the below graph.$5$$4$$9$$2$
4 votes
4 votes
1 answer
3
worst_engineer asked Dec 29, 2015
9,103 views
Consider the following graph (G):How many strongly connected components are there in the above graph?