private void initializeClustering(){
  assert dataPointSet != null;
  assert clusterList != null;
  Iterator<String> it=dataPointSet.iterator();
  while (it.hasNext()) {
    ArrayList<String> dataSet=new ArrayList<String>();
    dataSet.add(it.next());
    Cluster aCluster=new Cluster(dataSet);
    clusterList.add(aCluster);
  }
}

private void initializeClustering ( ) { assert dataPointSet != null ; assert clusterList != null ; Iterator < String > it = dataPointSet . iterator ( ) ; while ( it . hasNext ( ) ) { ArrayList < String > dataSet = new ArrayList < String > ( ) ; dataSet . add ( it . next ( ) ) ; Cluster aCluster = new Cluster ( dataSet ) ; clusterList . add ( aCluster ) ; } }
to initialize each sample as a single cluster
