Content deleted Content added
→Time and space analysis: Complexity of variants Tags: Reverted Mobile edit Mobile web edit |
Undid revision 1275193820 by 2A02:3100:3C9B:9500:C880:B670:2E09:30C5 (talk) unsourced |
||
Line 100:
For the same reason, the total time used by the algorithm outside of these distance calculations is {{math|O(''n''<sup>2</sup>)}}.<ref name="murtagh-tcj"/>
Since the only data structure is the set of active clusters and the stack containing a subset of the active clusters, the space required is linear in the number of input points.<ref name="murtagh-tcj"/>
==Correctness==
|