You are running Kosaraju’s algorithm to find the SCCs of a directed graph. During the first DFS on the original directed graph 𝐺 , you record finishing times 𝑓 [ 𝑣 ] for all vertices. You then process vertices in decreasing order of finishing times when running the second DFS on the transpose graph . Which of the following statements accurately describe the behavior and meaning of these timings? 多项选择题
The vertex with the largest finishing time belongs to a “sink” SCC in the condensation graph
The second DFS, when started from the vertex with the largest finishing time, visits exactly one SCC and no others.
The second DFS must process vertices in decreasing order of finishing times in order to guarantee correctness of Kosaraju’s algorithm on all directed graphs.
Running the second DFS on G instead of GT would still correctly identify SCCs.
The vertex with the smallest finishing time belongs to a “source” SCC in the condensation graph .
If there is an edge from SCC C1 to SCC C2 in GSCC, then the maximum finishing time in C1 must be greater than the maximum finishing time in C2.
Kosaraju’s algorithm requires O(V2) time due to transposing the adjacency matrix.
The vertex with the largest finishing time in the first DFS always belongs to a source SCC in the condensation graph
登录即可查看完整答案
我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。
类似问题
Which of the following are strongly connected components of the above graph.
Consider the following graph: Which of the following node sets is not a strongly connected component of the graph?
What was the world's first widely adopted biodiversity policy?
The aim of the Paris Agreement is to ensure that the earth’s preindustrial temperature is not exceeded by more than º Celsius.
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!