Prim's algorithm
Summary
Prim's algorithm finds a minimum spanning tree of a connected graph with weighted edges. It grows a single tree from a start vertex, adding at each step the lightest edge that joins the tree to a vertex outside it. It is a greedy algorithm, and with a binary heap it runs in time on vertices and edges.
Where this leads
1 page builds on this one.
Further reading
About this page
| Tag | ZAKCAS4GC7 |
|---|---|
| URI | m2://ZAKCAS4GC7 |
| Kind | concept |
| Writing | W0 stub |
| MSC | 05C85, 05C05, 90C27 |
| Specializes | Greedy algorithm |
| Same as | |
| Changed | 3 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.