Click or drag to resize

Linkage Class

Class Linkage provides functions for computing the distance between clusters of objects.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreLinkage

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public class Linkage

The Linkage type exposes the following members.

Constructors
 NameDescription
Public methodLinkageInitializes a new instance of the Linkage class
Top
Methods
 NameDescription
Public methodStatic memberCentroidLinkage Computes the distance between two clusters as the difference between centroids.
Public methodStatic memberCompleteLinkage Computes the distance between two clusters as the greatest distance between any two objects in the different clusters (furthest neighbors).
Public methodStatic memberMedianLinkage Computes the distance between two clusters as the difference between centroids, using the size of each cluster as a weighting factor.
Public methodStatic memberSingleLinkage Computes the distance between two clusters as the distance of the two closest objects (nearest neighbors) in the clusters.
Public methodStatic memberUnweightedAverageLinkage Computes the distance between two clusters as the average distance between all pairs of objects in the two different clusters.
Public methodStatic memberWardLinkage Computes the distance between two clusters using Ward's method.
Public methodStatic memberWeightedAverageLinkage Computes the distance between two clusters as the average distance between all pairs of objects in the two different clusters, using the size of each cluster as a weighting factor.
Top
Fields
 NameDescription
Public fieldStatic memberCentroidFunction Centroid linkage function. Encapsulates Linkage.CentroidLinkage as a Linkage.Function delegate.
Public fieldStatic memberCompleteFunction Complete (farthest-neighbor) linkage function. Encapsulates Linkage.CompleteLinkage as a Linkage.Function delegate.
Public fieldStatic memberMedianFunction Median linkage function. Encapsulates Linkage.MedianLinkage as a Linkage.Function delegate.
Public fieldStatic memberSingleFunction Single (nearest-neighbor) linkage function. Encapsulates Linkage.SingleLinkage as a Linkage.Function delegate.
Public fieldStatic memberUnweightedAverageFunction Unweighted average linkage function. Encapsulates Linkage.UnweightedAverageLinkage as a Linkage.Function delegate.
Public fieldStatic memberWardFunction Ward linkage function. Encapsulates Linkage.WardLinkage as a Linkage.Function delegate.
Public fieldStatic memberWeightedAverageFunction Weighted average linkage function. Encapsulates Linkage.WeightedAverageLinkage as a Linkage.Function delegate.
Top
Remarks
Instances of delegate type Linkage.Function are used by class ClusterAnalysis to compute the distance between clusters of objects. Delegates are provided as static variables for single, complete, unweighted average, weighted average, centroid, median, and Ward's linkage functions.
See Also