Closed
Description
Description of the problem
The following algorithms(both serial and parallel version) are to be added through a series of PRs.
- Prim's Algorithm - https://en.wikipedia.org/wiki/Prim%27s_algorithm
- Kruskal's Algorithm - https://en.wikipedia.org/wiki/Kruskal%27s_algorithm
The APIs for the algorithms can be as simple as,
minimum_spanning_tree(graph, algorithm)
- This will return a new graph for the spanning tree.minimum_spanning_tree_parallel(graph, algorithm, num_threads)
- This will do the computation of the MST using given number of threads.
Example of the problem
References/Other comments
This issue is not open for contributors though anyone is free to comment on the APIs and review the code.