graph_algorithm icon indicating copy to clipboard operation
graph_algorithm copied to clipboard

kruskal issue

Open babyYaoyuan opened this issue 5 years ago • 1 comments

The loop condition in 'kruskal.py' is: while len(visited) < len(nodes): If the code have visited all the nodes, the whole algorithm will end. But if the code generate some subgraph that does not connect, the algorithm will also end.

babyYaoyuan avatar Jul 09 '20 07:07 babyYaoyuan

The loop condition in 'kruskal.py' is: while len(visited) < len(nodes): If the code have visited all the nodes, the whole algorithm will end. But if the code generate some subgraph that does not connect, the algorithm will also end.

Also met this problem

ma-shangao avatar Apr 15 '21 08:04 ma-shangao