Content deleted Content added
→Pseudocode: move explanatory text before pseudocode so the pseudocode does not clash with Template:Graph search algorithm |
→Pseudocode: Here's the reason I am removing this 2nd opt as original research, again: I still don't see how it helps. Maintaining components dynamically when each edge is added doesn't help, because we don't need that information until the next interation when we have plenty of time to recompute. And it does hurt, because even with union-find dynamic connectivity is not a constant-time operation. |
||
Line 68:
Add its cheapest edge to ''E'''
As an optimization,
== Complexity ==
|