| Algorithm 1: k-means for the Placement Scheme |
| Input: , , Number of cluster k |
| Output: , |
| Randomly select k points as the starting center |
| Do: |
| Set by |
| While changes |
| Find by minimal |
| Calculate |
| Algorithm 1: k-means for the Placement Scheme |
| Input: , , Number of cluster k |
| Output: , |
| Randomly select k points as the starting center |
| Do: |
| Set by |
| While changes |
| Find by minimal |
| Calculate |