edu.ucla.stat.SOCR.analyses.util.methods
Class Method
java.lang.Object
edu.ucla.stat.SOCR.analyses.util.methods.Method
- Direct Known Subclasses:
- CompleteLinkage, JointBetweenWithin, SingleLinkage, UnweightedAverage, UnweightedCentroid, WeightedAverage, WeightedCentroid
public abstract class Method
- extends java.lang.Object
MultiDendrograms
Abstract class for the different clustering methods available
- Since:
- JDK 6.0
- Author:
- Justo Montiel, David Torres, Sergio Gómez, Alberto Fernández
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method
public Method(Cluster ci,
Cluster cj,
MatriuDistancies md)
Distancia
public double Distancia()
throws java.lang.Exception
- Throws:
java.lang.Exception
CalculLinkage
protected abstract double CalculLinkage()
throws java.lang.Exception
- Throws:
java.lang.Exception
getAlfa_ij
protected abstract double getAlfa_ij(Cluster i,
Cluster j)
getBeta_ii
protected abstract double getBeta_ii(Cluster i,
Cluster ii)
getBeta_jj
protected abstract double getBeta_jj(Cluster j,
Cluster jj)
getGamma_ij
protected abstract double getGamma_ij(Cluster i,
Cluster j)
getcI
public Cluster getcI()
setcI
public void setcI(Cluster i)
getcJ
public Cluster getcJ()
setcJ
public void setcJ(Cluster j)
getDistanciaMax
protected double getDistanciaMax(Cluster ci,
Cluster cj)
throws java.lang.Exception
- Throws:
java.lang.Exception
getDistanciaMin
protected double getDistanciaMin(Cluster ci,
Cluster cj)
throws java.lang.Exception
- Throws:
java.lang.Exception