2022-010
Discovering the strongly connected components in a graph is an important
task in many applications for real problems. Kosaraju-Sharir’s algorithm
is one of the algorithms that produce these important components on
graphs and uses the DFS (depth-first search) algorithm in some of its
phases.
Consider the figures below, where Figure (a) is the original directed
graph, and Figure (b) is the same graph in reverse order.
Using the Kosaraju-Sharir’s algorithm, analyze the statements about the Strongly Connected Components (SCC) extracted from the graph:
1. There are only the three SCC: 7,8 – 11,12,9,10 – 0,5,4,2,3
2. There are only the three SCC: 6,11,12,9,10 – 0,1,5,4,2,3 – 7,8
3. Single node is always a SCC, and in the graph, they are the nodes 1
and 6
4. There are five SCC: 1 – 7,8 – 11,12,9,10 – 6 – 0,5,4,2,3
Select the correct alternative:

No comments:
Post a Comment