@PublicAPI public class BestProximityDescriptor extends TopologyDescriptor
Modifier and Type | Field and Description |
---|---|
static DistanceFunction |
AVG
AVG - the mean distance between elements of each cluster (also called average linkage clustering)
The similarity of two clusters is the similarity of their centers.
|
protected DistanceFunction |
function |
static DistanceFunction |
MAX
MAX - the maximum distance between elements of each cluster (also called complete linkage clustering)
The similarity of two clusters is the similarity of their most dissimilar members.
|
static DistanceFunction |
MIN
MIN - the minimum distance between elements of each cluster (also called single-linkage clustering)
The similarity of two clusters is the similarity of their most similar members.
|
ARBITRARY, BEST_PROXIMITY, DIFFERENT_HOSTS_EXCLUSIVE, MULTIPLE_HOSTS_EXCLUSIVE, SINGLE_HOST, SINGLE_HOST_EXCLUSIVE
Constructor and Description |
---|
BestProximityDescriptor()
Constructs new instance of the class.
|
Modifier and Type | Method and Description |
---|---|
DistanceFunction |
getDistanceFunction()
Gets the distance function.
|
isTopologyBased, toString
protected DistanceFunction function
public static final DistanceFunction AVG
public static final DistanceFunction MAX
public static final DistanceFunction MIN
public BestProximityDescriptor()
public DistanceFunction getDistanceFunction()