|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.distance.distancefunction.AbstractDatabaseDistanceFunction<O,D>
O
- the type of DatabaseObject to compute the distances in betweenD
- the type of Distance usedpublic abstract class AbstractDatabaseDistanceFunction<O,D extends Distance<D>>
Abstract super class for distance functions needing a database context.
Nested Class Summary | |
---|---|
static class |
AbstractDatabaseDistanceFunction.Instance<O,D extends Distance<D>>
The actual instance bound to a particular database. |
Constructor Summary | |
---|---|
AbstractDatabaseDistanceFunction()
Constructor, supporting Parameterizable style
classes. |
Method Summary | |
---|---|
abstract D |
getDistanceFactory()
Method to get the distance functions factory. |
boolean |
isMetric()
Is this distance function metric (in particular, does it satisfy the triangle equation?) |
boolean |
isSymmetric()
Is this function symmetric? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.lmu.ifi.dbs.elki.distance.distancefunction.DistanceFunction |
---|
getInputTypeRestriction, instantiate |
Constructor Detail |
---|
public AbstractDatabaseDistanceFunction()
Parameterizable
style
classes.
Method Detail |
---|
public abstract D getDistanceFactory()
DistanceFunction
getDistanceFactory
in interface DistanceFunction<O,D extends Distance<D>>
public boolean isMetric()
DistanceFunction
isMetric
in interface DistanceFunction<O,D extends Distance<D>>
true
when metric.public boolean isSymmetric()
DistanceFunction
isSymmetric
in interface DistanceFunction<O,D extends Distance<D>>
true
when symmetric
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |