throw new UnsupportedOperationException("Not supported yet.");
}
public static void main(String[] args)
{
IDataList data = DataSequence.create.list();
data.add(Doubles.create.arrayFrom(-1.4));
data.add(Doubles.create.arrayFrom(-1));
data.add(Doubles.create.arrayFrom(1));
data.add(Doubles.create.arrayFrom(1.1));
data.add(Doubles.create.arrayFrom(1.2));
data.add(Doubles.create.arrayFrom(-1.3));
data.add(Doubles.create.arrayFrom(-1.2));
data.add(Doubles.create.arrayFrom(-1.1));
data.add(Doubles.create.arrayFrom(1.3));
data.add(Doubles.create.arrayFrom(1.4));
DensityBasedClusteringOPTICS clustering = new DensityBasedClusteringOPTICS(0.5, 2, 2);
clustering.setInput(data);
clustering.setMetric(new EuclideanDistance());
clustering.perform();