Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs for Prim's algorithm updated #220

Merged
merged 1 commit into from
Mar 26, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pydatastructs/graphs/algorithms.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ def minimum_spanning_tree_parallel(graph, algorithm, num_threads):
supported,
'kruskal' -> Kruskal's algorithm as given in
[1].
'prim' -> Prim's algorithm as given in [2].
num_threads: int
The number of threads to be used.

Expand Down Expand Up @@ -426,6 +427,7 @@ def minimum_spanning_tree_parallel(graph, algorithm, num_threads):
==========

.. [1] https://en.wikipedia.org/wiki/Kruskal%27s_algorithm#Parallel_algorithm
.. [2] https://en.wikipedia.org/wiki/Prim%27s_algorithm#Parallel_algorithm

Note
====
Expand Down