Understanding Strongly Connected Components in Directed Graphs

strongly connected components scc in a graph n.w
1 / 56
Embed
Share

Explore Strongly Connected Components (SCC) in graphs through Path-Based Depth-First Search Algorithm. Learn how SCCs are defined and identified in directed graphs using path connections between vertices. Dive into various examples showcasing different SCC configurations within graphs.

  • Graph Theory
  • Depth-First Search
  • Strongly Connected Components
  • Directed Graphs
  • Path-Based Algorithm

Uploaded on | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. Strongly Connected Components (SCC) in a Graph Hamed Pouya 6/6/2025 1

  2. Strongly Connected Components A subset of a directed graph is called strongly connected if there is a path in each direction between each pair of vertices of the subset. 2 5 7 1 3 4 6 6/6/2025 2

  3. Path-Based Depth-First Search Algorithm [1] 6/6/2025 3

  4. Path-Based Depth-First Search Alg. SCCs P a b c d e f 6/6/2025 4

  5. Path-Based Depth-First Search Alg. SCCs P a a b c d e f 6/6/2025 5

  6. Path-Based Depth-First Search Alg. SCCs P a a b b c d e f 6/6/2025 6

  7. Path-Based Depth-First Search Alg. SCCs P a a b c b c d e f 6/6/2025 7

  8. Path-Based Depth-First Search Alg. SCCs P a c a b b d e f 6/6/2025 8

  9. Path-Based Depth-First Search Alg. SCCs P a c a b d b d e f 6/6/2025 9

  10. Path-Based Depth-First Search Alg. SCCs P a c a b d b e d e f 6/6/2025 10

  11. Path-Based Depth-First Search Alg. SCCs P a c a b d b e d e f 6/6/2025 11

  12. Path-Based Depth-First Search Alg. SCCs P a c a b,d,e b d e f 6/6/2025 12

  13. Path-Based Depth-First Search Alg. SCCs P a c a b,d,e f b d e f 6/6/2025 13

  14. Path-Based Depth-First Search Alg. SCCs P a c a b,d,e f b d e f 6/6/2025 14

  15. Path-Based Depth-First Search Alg. SCCs P a c a b,d,e,f b d e f 6/6/2025 15

  16. Path-Based Depth-First Search Alg. SCCs P a c a b,d,e,f b d e f 6/6/2025 16

  17. Path-Based Depth-First Search Alg. SCCs P a c a b,d,e,f 6/6/2025 17

  18. Path-Based Depth-First Search Alg. SCCs P a c a b,d,e,f a 6/6/2025 18

  19. Path-Based Depth-First Search Alg. SCCs P c b,d,e,f a 6/6/2025 19

  20. Complexity ?(? + ?) 6/6/2025 20

  21. Kosaraju-Sharir algorithm [2] 6/6/2025 21

  22. Kosaraju-Sharir algorithm [2] a 0 - Seen, not finished yet. c b 0 - Finished. d e f 6/6/2025 22

  23. Kosaraju-Sharir algorithm [2] a 1 - c b d e f 6/6/2025 23

  24. Kosaraju-Sharir algorithm [2] a 1 - c 2 - b d e f 6/6/2025 24

  25. Kosaraju-Sharir algorithm [2] a 1 - c 2 3 b d e f 6/6/2025 25

  26. Kosaraju-Sharir algorithm [2] a 1 - c 2 3 b d e f 6/6/2025 26

  27. Kosaraju-Sharir algorithm [2] a 1 - c 4 - 2 3 b d e f 6/6/2025 27

  28. Kosaraju-Sharir algorithm [2] a 1 - c 4 - 2 3 b d 5 - e f 6/6/2025 28

  29. Kosaraju-Sharir algorithm [2] a 1 - c 4 - 2 3 b d 5 - e f 6 - 6/6/2025 29

  30. Kosaraju-Sharir algorithm [2] a 1 - c 4 - 2 3 b d 5 - e f 6 - 6/6/2025 30

  31. Kosaraju-Sharir algorithm [2] a 1 - c 4 - 2 3 b d 5 - e f 6 - 6/6/2025 31

  32. Kosaraju-Sharir algorithm [2] a 1 - c 4 - 2 3 b d 5 - e f 6 - 7 - 6/6/2025 32

  33. Kosaraju-Sharir algorithm [2] a 1 - c 4 - 2 3 b d 5 - e f 6 - 7 - 6/6/2025 33

  34. Kosaraju-Sharir algorithm [2] a 1 - c 4 - 2 3 b d 5 - e f 6 - 7 - 6/6/2025 34

  35. Kosaraju-Sharir algorithm [2] a 1 - c 4 - 2 3 b d 5 - e f 6 - 7 - 6/6/2025 35

  36. Kosaraju-Sharir algorithm [2] a 1 - c 4 - 2 3 b d 5 - e f 6 - 7 8 6/6/2025 36

  37. Kosaraju-Sharir algorithm [2] a 1 - c 4 - 2 3 b d 5 - e f 6 6 - 9 7 8 6/6/2025 37

  38. Kosaraju-Sharir algorithm [2] a 1 - c 4 - 2 3 b d 5 - e f 6 6 - 9 7 8 6/6/2025 38

  39. Kosaraju-Sharir algorithm [2] a 1 - c 4 - 2 3 b d 5 - e f 6 6 - 9 7 8 6/6/2025 39

  40. Kosaraju-Sharir algorithm [2] a 1 - c 4 - 2 3 b d 5 5 - 10 e f 6 6 - 9 7 8 6/6/2025 40

  41. Kosaraju-Sharir algorithm [2] a 1 - c 4 - 2 3 b d 5 5 - 10 e f 6 6 - 9 7 8 6/6/2025 41

  42. Kosaraju-Sharir algorithm [2] a 1 - c 4 - 2 3 b d 5 5 - 10 e f 6 6 - 9 7 8 6/6/2025 42

  43. Kosaraju-Sharir algorithm [2] a 1 - c 4 4 - 11 2 3 b d 5 5 - 10 e f 6 6 - 9 7 8 6/6/2025 43

  44. Kosaraju-Sharir algorithm [2] a 1 1 - 12 c 4 4 - 11 2 3 b d 5 5 - 10 e f 6 6 - 9 7 8 6/6/2025 44

  45. Kosaraju-Sharir algorithm [2] a ?,?,?,?,?,? 1 1 - 12 c 4 4 - 11 2 3 b d 5 5 - 10 e f 6 6 - 9 7 8 6/6/2025 45

  46. Kosaraju-Sharir algorithm [2] a c b d e f 6/6/2025 46

  47. Kosaraju-Sharir algorithm [2] a c b d e f 6/6/2025 47

  48. Kosaraju-Sharir algorithm [2] a ?,?,?,?,?,? c b d e f 6/6/2025 48

  49. Kosaraju-Sharir algorithm [2] SCCs a ?,?,?,?,?,? ? c b d e f 6/6/2025 49

  50. Kosaraju-Sharir algorithm [2] SCCs a ?,?,?,?,?,? ? c b d e f 6/6/2025 50

More Related Content