endrov.util.clusteringOld
Class HierCluster
java.lang.Object
endrov.util.clusteringOld.HierCluster
public class HierCluster
- extends java.lang.Object
Hierarchial clustering.
TODO refactor, test
TODO nearest and furthest neighbour
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
distances
public java.util.TreeMap<HierCluster.UniqueDouble,Tuple<PointCluster,PointCluster>> distances
HierCluster
public HierCluster()
cluster
public PointCluster cluster(double[][] arr)
- Cluster, given array of (x,y,z)
clusterV3d
public PointCluster clusterV3d(java.util.List<javax.vecmath.Vector3d> points)
cluster
public PointCluster cluster(java.util.List<PointCluster> points)