incremental_components.expected 300 B

123456789101112131415161718
  1. An undirected graph:
  2. 0 <--> 1 4
  3. 1 <--> 0 4
  4. 2 <--> 5
  5. 3 <-->
  6. 4 <--> 1 0
  7. 5 <--> 2
  8. representative[0] = 1
  9. representative[1] = 1
  10. representative[2] = 5
  11. representative[3] = 3
  12. representative[4] = 1
  13. representative[5] = 5
  14. component 0 contains: 1 4 0
  15. component 1 contains: 3
  16. component 2 contains: 5 2