QtClustering API qtclustering-163 (20111029234107)

edu.cornell.med.icb.clustering
Class MaxLinkageDistanceCalculator

java.lang.Object
  extended by edu.cornell.med.icb.clustering.MaxLinkageDistanceCalculator
All Implemented Interfaces:
SimilarityDistanceCalculator

public abstract class MaxLinkageDistanceCalculator
extends Object
implements SimilarityDistanceCalculator

Maximum distance linkage calculator. Calculate the distance of a point to a cluster as the maximum distance between the point and each point of the cluster.

Author:
Fabien Campagne Date: Oct 4, 2005 Time: 5:35:52 PM

Field Summary
protected  double ignoreDistance
          Default value to use when pairs are missing or unknown.
 
Constructor Summary
MaxLinkageDistanceCalculator()
          Create a new SimilarityDistanceCalculator.
 
Method Summary
 double getIgnoreDistance()
          When some distances between instance pairs are missing/unknown the ignoreDistance is returned.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.cornell.med.icb.clustering.SimilarityDistanceCalculator
distance
 

Field Detail

ignoreDistance

protected final double ignoreDistance
Default value to use when pairs are missing or unknown.

See Also:
Constant Field Values
Constructor Detail

MaxLinkageDistanceCalculator

public MaxLinkageDistanceCalculator()
Create a new SimilarityDistanceCalculator.

Method Detail

getIgnoreDistance

public final double getIgnoreDistance()
When some distances between instance pairs are missing/unknown the ignoreDistance is returned. The clustering algorithm uses ignoreDistance to recognize cases when the distance is unknown.

Specified by:
getIgnoreDistance in interface SimilarityDistanceCalculator
Returns:
The minimum value, so that max(min, a) = a;

QtClustering API qtclustering-163 (20111029234107)

Copyright © 2005-2011 Institute for Computational Biomedicine, All Rights Reserved.