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

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

public class UnweightedAverage
extends Method

MultiDendrograms

Unweighted Average clustering algorithm

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

Constructor Summary
UnweightedAverage(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

UnweightedAverage

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

CalculLinkage

protected double CalculLinkage()
Specified by:
CalculLinkage in class Method

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