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

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

public class WeightedCentroid
extends Method

MultiDendrograms

Weighted Centroid clustering algorithm

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

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

WeightedCentroid

public WeightedCentroid(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()
Specified by:
CalculLinkage in class Method