Skip to content

Commit 6cc969c

Browse files
authored
Docs for Prim's algorithm updated (#220)
1 parent 4dc4c7d commit 6cc969c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pydatastructs/graphs/algorithms.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ def minimum_spanning_tree_parallel(graph, algorithm, num_threads):
398398
supported,
399399
'kruskal' -> Kruskal's algorithm as given in
400400
[1].
401+
'prim' -> Prim's algorithm as given in [2].
401402
num_threads: int
402403
The number of threads to be used.
403404
@@ -426,6 +427,7 @@ def minimum_spanning_tree_parallel(graph, algorithm, num_threads):
426427
==========
427428
428429
.. [1] https://en.wikipedia.org/wiki/Kruskal%27s_algorithm#Parallel_algorithm
430+
.. [2] https://en.wikipedia.org/wiki/Prim%27s_algorithm#Parallel_algorithm
429431
430432
Note
431433
====

0 commit comments

Comments
 (0)