The.Algorithm.Design.Manual.Springer-Verlag.1998

The.Algorithm.Design.Manual.Springer-Verlag.1998 The.Algorithm.Design.Manual.Springer-Verlag.1998

18.04.2013 Views

Lecture 16 - applications of DFS and BFS Because there is no edge from any previous DFS tree into the last tree!! Because we ordered the vertices by decreasing order of finish time, we can peel off the strongly connected components from right to left just be doing a DFS( ). Listen To Part 17-16 Example of Strong Components Algorithm 9, 10, 11, 12 can reach 9, oldest remaining finished is 5. 5, 6, 8 can reach 5, oldest remaining is 7. 7 can reach 7, oldest remaining is 1. 1, 2, 3 can reach 1, oldest remaining is 4. 4 can reach 4. file:///E|/LEC/LECTUR16/NODE16.HTM (4 of 5) [19/1/2003 1:35:10]

Lecture 16 - applications of DFS and BFS Next: Lecture 17 - minimum Up: No Title Previous: Lecture 15 - DFS Algorithms Mon Jun 2 09:21:39 EDT 1997 file:///E|/LEC/LECTUR16/NODE16.HTM (5 of 5) [19/1/2003 1:35:10]

Lecture 16 - applications of DFS and BFS<br />

Next: Lecture 17 - minimum Up: No Title Previous: Lecture 15 - DFS<br />

<strong>Algorithm</strong>s<br />

Mon Jun 2 09:21:39 EDT 1997<br />

file:///E|/LEC/LECTUR16/NODE16.HTM (5 of 5) [19/1/2003 1:35:10]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!