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

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

public class WeightedAverage
extends Method

MultiDendrograms

Weighted Average clustering algorithm

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

Constructor Summary
WeightedAverage(Cluster ci, Cluster cj, MatriuDistancies md)
           
 
Method Summary
 double CalculLinkage()
           
 double getAlfa_ij(Cluster i, Cluster j)
           
 double getBeta_ii(Cluster i, Cluster j)
           
 double getBeta_jj(Cluster j, Cluster jj)
           
 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

WeightedAverage

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

getAlfa_ij

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

getBeta_ii

public double getBeta_ii(Cluster i,
                         Cluster j)
Specified by:
getBeta_ii in class Method

getBeta_jj

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

getGamma_ij

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

CalculLinkage

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