public void merge ( CandidateCluster other ) { indices . addAll ( other . indices ) ; VectorMath . add ( sumVector , other . sumVector ) ; centroid = null ; }
Merges the elements assigned to the other cluster into this one .