@Beta @PublicAPI public interface MetricMetadata extends Serializable
Please note that the word Metric here is used in the sense of way descriptors compared. Thus not
all represented comparisons fulfill the definition of metric spaces (see isMetricSpace()
).
The attributes described here refers to the properties of dissimilarity values.
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 |
---|---|
boolean |
isDissimilarityZeroIFFEquals()
Zero dissimilarity and identity.
|
boolean |
isMetricSpace()
Metric space.
|
boolean |
isNonNegative()
Non negativeness of the dissimilarity values.
|
boolean |
isSymmetric()
Symmetry.
|
boolean |
isTriangeInequalityHolds()
Triangle inequality.
|
boolean isSymmetric()
d(x,y) = d(y,x)
boolean isNonNegative()
d(x,y) >= 0
boolean isDissimilarityZeroIFFEquals()
boolean isTriangeInequalityHolds()
d(x,z) <= d(x,y) + d( y,z)
boolean isMetricSpace()