Uses of Class
ffx.numerics.clustering.Distance
Packages that use Distance
Package
Description
The clustering package provides hierarchical agglomerative clustering utilities,
including linkage strategies (single, complete, average, weighted), distance map
management, and supporting data structures and algorithms.
-
Uses of Distance in ffx.numerics.clustering
Methods in ffx.numerics.clustering that return DistanceModifier and TypeMethodDescriptionAverageLinkageStrategy.calculateDistance(Collection<Distance> distances) Computes the average of the provided distances.CompleteLinkageStrategy.calculateDistance(Collection<Distance> distances) Computes the complete-linkage distance, i.e., the maximum of provided distances.LinkageStrategy.calculateDistance(Collection<Distance> distances) Computes the linkage distance between two clusters from a collection of pairwise distances between their members (and possibly weights).SingleLinkageStrategy.calculateDistance(Collection<Distance> distances) Computes the single-linkage distance, i.e., the minimum of provided distances.WeightedLinkageStrategy.calculateDistance(Collection<Distance> distances) Computes a weighted average of provided distances using their weights.Distance.clone()Creates a clone of this Distance.Cluster.getDistance()Gets the Distance metadata for this cluster (linkage distance and weight).Methods in ffx.numerics.clustering with parameters of type DistanceModifier and TypeMethodDescriptionintCompares by distance value, with null other treated as greater (this < other).voidCluster.setDistance(Distance distance) Sets the Distance metadata for this cluster.Method parameters in ffx.numerics.clustering with type arguments of type DistanceModifier and TypeMethodDescriptionAverageLinkageStrategy.calculateDistance(Collection<Distance> distances) Computes the average of the provided distances.CompleteLinkageStrategy.calculateDistance(Collection<Distance> distances) Computes the complete-linkage distance, i.e., the maximum of provided distances.LinkageStrategy.calculateDistance(Collection<Distance> distances) Computes the linkage distance between two clusters from a collection of pairwise distances between their members (and possibly weights).SingleLinkageStrategy.calculateDistance(Collection<Distance> distances) Computes the single-linkage distance, i.e., the minimum of provided distances.WeightedLinkageStrategy.calculateDistance(Collection<Distance> distances) Computes a weighted average of provided distances using their weights.