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