The expected complexity of Prim's minimu
✍
Chip Martel
📂
Article
📅
2002
🏛
Elsevier Science
🌐
English
⚖ 60 KB
We study the expected performance of Prim's minimum spanning tree (MST) algorithm implemented using ordinary heaps. We show that this implementation runs in linear or almost linear expected time on a wide range of graphs. This helps to explain why Prim's algorithm often beats MST algorithms which ha