@Beta @PublicAPI public interface LanceWilliamsMerge
Please note that this interface is marked with Beta annotation, so it can be subject of incompatible
changes or removal in later releases.
| Modifier and Type | Method and Description |
|---|---|
double |
dijk(int ni,
int nj,
int nk,
double dij,
double dik,
double djk)
Returns the distance of cluster k and the cluster resulted from merging cluster i and j.
|
double dijk(int ni,
int nj,
int nk,
double dij,
double dik,
double djk)
ni - Size of cluster i to be mergednj - Size of cluster j to be mergednk - Size of cluster kdij - Distance of clusters i and jdik - Distance of clusters i and kdjk - Distance of clusters j and k