Package elki.distance
Class AbstractDatabaseDistance.Instance<O>
- java.lang.Object
-
- elki.distance.AbstractDatabaseDistance.Instance<O>
-
- All Implemented Interfaces:
DatabaseDistanceQuery<O>
,DistanceQuery<O>
- Direct Known Subclasses:
AbstractSimilarityAdapter.Instance
- Enclosing class:
- AbstractDatabaseDistance<O>
public abstract static class AbstractDatabaseDistance.Instance<O> extends java.lang.Object implements DatabaseDistanceQuery<O>
The actual instance bound to a particular database.- Author:
- Erich Schubert
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Distance<? super O>
getDistance()
Get the inner distance function.Relation<? extends O>
getRelation()
Access the underlying data query.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elki.database.query.distance.DatabaseDistanceQuery
distance, distance, distance
-
Methods inherited from interface elki.database.query.distance.DistanceQuery
distance
-
-
-
-
Method Detail
-
getRelation
public Relation<? extends O> getRelation()
Description copied from interface:DistanceQuery
Access the underlying data query.- Specified by:
getRelation
in interfaceDistanceQuery<O>
- Returns:
- data query in use
-
getDistance
public Distance<? super O> getDistance()
Description copied from interface:DistanceQuery
Get the inner distance function.- Specified by:
getDistance
in interfaceDistanceQuery<O>
- Returns:
- Distance function
-
-