O
- the type of DatabaseObject to compute the distances in betweenpublic abstract class AbstractDatabaseDistanceFunction<O> extends 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 (in particular, does it satisfy the
triangle equation?)
|
boolean |
isSymmetric()
Is this function symmetric?
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInputTypeRestriction, instantiate
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 © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.