edu.ucla.stat.SOCR.analyses.util.methods
Class SingleLinkage

java.lang.Object
  extended by edu.ucla.stat.SOCR.analyses.util.methods.Method
      extended by edu.ucla.stat.SOCR.analyses.util.methods.SingleLinkage

public class SingleLinkage
extends Method

MultiDendrograms

Single Linkage clustering algorithm

Since:
JDK 6.0
Author:
Justo Montiel, David Torres, Sergio Gómez, Alberto Fernández

Constructor Summary
SingleLinkage(Cluster ci, Cluster cj, MatriuDistancies md)
           
 
Method Summary
protected  double CalculLinkage()
           
protected  double getAlfa_ij(Cluster i, Cluster j)
           
protected  double getBeta_ii(Cluster i, Cluster ii)
           
protected  double getBeta_jj(Cluster j, Cluster jj)
           
protected  double getGamma_ij(Cluster i, Cluster j)
           
 
Methods inherited from class edu.ucla.stat.SOCR.analyses.util.methods.Method
Distancia, getcI, getcJ, getDistanciaMax, getDistanciaMin, setcI, setcJ
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleLinkage

public SingleLinkage(Cluster ci,
                     Cluster cj,
                     MatriuDistancies md)
Method Detail

getAlfa_ij

protected double getAlfa_ij(Cluster i,
                            Cluster j)
Specified by:
getAlfa_ij in class Method

getBeta_ii

protected double getBeta_ii(Cluster i,
                            Cluster ii)
Specified by:
getBeta_ii in class Method

getBeta_jj

protected double getBeta_jj(Cluster j,
                            Cluster jj)
Specified by:
getBeta_jj in class Method

getGamma_ij

protected double getGamma_ij(Cluster i,
                             Cluster j)
Specified by:
getGamma_ij in class Method

CalculLinkage

protected double CalculLinkage()
                        throws java.lang.Exception
Specified by:
CalculLinkage in class Method
Throws:
java.lang.Exception