Skip to content

Commit 3e7d394

Browse files
committed
(#2) Add algorithm info in Minimal spanning tree
1 parent 2581809 commit 3e7d394

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/mst.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,10 @@ Obtains the minimum spanning tree.
134134
135135
- `::MstResult`: A MstResult object that holds the results.
136136
137+
# Details
138+
139+
- This function uses Prim's algorithm to find the minimum spanning tree. It maintains a set of assigned and unassigned nodes, expanding the tree by adding the nearest unassigned node.
140+
137141
# Examples
138142
139143
```julia

0 commit comments

Comments
 (0)