Table 1. Time complexities and space complexities.
| Method | Time complexity | Space complexity |
|---|---|---|
| ASC with GNG | O(MT + M3 + NM) | O(N + M2) |
| ASC with NG | O(TM log M + M3 + NM) | O(N + M2) |
| ASC | O(MT + M3 + NM) | O(N + M2) |
| ASC with k-means | O(MNTkmeans + M3 + NM) | O(N + M2) |
| SC | O(N3) | O(N2) |