@Reference(authors="G. N. Lance, W. T. Williams", title="A general theory of classificatory sorting strategies 1. Hierarchical systems", booktitle="The Computer Journal 9.4", url="https://doi.org/10.1093/comjnl/9.4.373", bibkey="doi:10.1093/comjnl/9.4.373") public interface Linkage
Reference:
G. N. Lance, W. T. Williams
A general theory of classificatory sorting strategies
1. Hierarchical systems
The Computer Journal 9.4
Modifier and Type | Method and Description |
---|---|
double |
combine(int sizex,
double dx,
int sizey,
double dy,
int sizej,
double dxy)
Compute combined linkage for two clusters.
|
default double |
initial(double d,
boolean issquare)
Initialization of the distance matrix.
|
default double |
restore(double d,
boolean issquare)
Restore a distance to the original scale.
|
default double initial(double d, boolean issquare)
d
- Distanceissquare
- Flag to indicate the input values are already squareddefault double restore(double d, boolean issquare)
d
- Distanceissquare
- Flag to indicate the input values were already squareddouble combine(int sizex, double dx, int sizey, double dy, int sizej, double dxy)
sizex
- Size of first cluster x before mergingdx
- Distance of cluster x to j before mergingsizey
- Size of second cluster y before mergingdy
- Distance of cluster y to j before mergingsizej
- Size of candidate cluster jdxy
- Distance between clusters x and y before mergingCopyright © 2019 ELKI Development Team. License information.