O
- the type of DatabaseObject to compute the distances in betweenpublic abstract class AbstractDatabaseDistanceFunction<O> extends java.lang.Object implements DistanceFunction<O>
Modifier and Type | Class and Description |
---|---|
static class |
AbstractDatabaseDistanceFunction.Instance<O>
The actual instance bound to a particular database.
|
Constructor and Description |
---|
AbstractDatabaseDistanceFunction()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isMetric()
Is this distance function metric (satisfy the triangle inequality)
|
boolean |
isSymmetric()
Is this function symmetric?
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInputTypeRestriction, instantiate, isSquared
public AbstractDatabaseDistanceFunction()
public boolean isMetric()
DistanceFunction
isMetric
in interface DistanceFunction<O>
true
when metric.public boolean isSymmetric()
DistanceFunction
isSymmetric
in interface DistanceFunction<O>
true
when symmetricCopyright © 2019 ELKI Development Team. License information.