endrov.util.clusteringOld
Class HierCluster

java.lang.Object
  extended by endrov.util.clusteringOld.HierCluster

public class HierCluster
extends java.lang.Object

Hierarchial clustering. TODO refactor, test TODO nearest and furthest neighbour


Nested Class Summary
static class HierCluster.UniqueDouble
          Unique doubles
 
Field Summary
 java.util.TreeMap<HierCluster.UniqueDouble,Tuple<PointCluster,PointCluster>> distances
           
 
Constructor Summary
HierCluster()
           
 
Method Summary
 PointCluster cluster(double[][] arr)
          Cluster, given array of (x,y,z)
 PointCluster cluster(java.util.List<PointCluster> points)
           
 PointCluster clusterV3d(java.util.List<javax.vecmath.Vector3d> points)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

distances

public java.util.TreeMap<HierCluster.UniqueDouble,Tuple<PointCluster,PointCluster>> distances
Constructor Detail

HierCluster

public HierCluster()
Method Detail

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)