If the feature Xi belongs to the subdivision Cj, the predi->j is 1; otherwise it is 0. Repeat the following three steps until the cluster members stabilize. (a) Generate a new clustering by assigning each spatial task to its closest cluster center according to Equation (3). cit := ...