@Override
public Model<VectorWritable>[] sampleFromPosterior(Model<VectorWritable>[] posterior) {
Model<VectorWritable>[] result = new DistanceMeasureCluster[posterior.length];
for (int i = 0; i < posterior.length; i++) {
DistanceMeasureCluster m = (DistanceMeasureCluster) posterior[i];
result[i] = m.sampleFromPosterior();
}
return result;
}
public void setMeasure(DistanceMeasure measure) {