public class ClusterUtils
extends java.lang.Object
Constructor and Description |
---|
ClusterUtils() |
Modifier and Type | Method and Description |
---|---|
static double |
calculateDiameter(FMClusterNode cluster) |
static double |
calculateDistance(FMClusterNode a,
FMClusterNode b) |
static double |
calculateDistance(FMClusterNode cluster,
FMNode node) |
static double |
calculateDistance(FMNode a,
FMNode b) |
protected static java.util.ArrayList<FMNode> |
findPath(FMNode a,
FMNode b,
FMNode[] nodeSet,
int maxDepth) |
protected static double |
getPathCorrelation(java.util.ArrayList<FMNode> path) |
public static double calculateDistance(FMClusterNode cluster, FMNode node)
public static double calculateDistance(FMClusterNode a, FMClusterNode b)
public static double calculateDiameter(FMClusterNode cluster)
protected static java.util.ArrayList<FMNode> findPath(FMNode a, FMNode b, FMNode[] nodeSet, int maxDepth)
protected static double getPathCorrelation(java.util.ArrayList<FMNode> path)