Package elki.distance
Class AbstractIndexBasedDistance.Instance<O,I extends elki.index.Index,F extends elki.distance.Distance<? super O>>
- java.lang.Object
-
- elki.distance.AbstractIndexBasedDistance.Instance<O,I,F>
-
- Type Parameters:
O- Object typeI- Index typeF- Distance function type
- All Implemented Interfaces:
DatabaseDistanceQuery<O>,elki.database.query.distance.DistanceQuery<O>,IndexBasedDistance.Instance<O,I>
- Enclosing class:
- AbstractIndexBasedDistance<O,F extends elki.index.IndexFactory<O>>
public abstract static class AbstractIndexBasedDistance.Instance<O,I extends elki.index.Index,F extends elki.distance.Distance<? super O>> extends java.lang.Object implements IndexBasedDistance.Instance<O,I>
The actual instance bound to a particular database.- Author:
- Erich Schubert
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FgetDistance()IgetIndex()Get the index used.elki.database.relation.Relation<? extends O>getRelation()-
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
-
-
-
-
Method Detail
-
getRelation
public elki.database.relation.Relation<? extends O> getRelation()
- Specified by:
getRelationin interfaceelki.database.query.distance.DistanceQuery<O>
-
getIndex
public I getIndex()
Description copied from interface:IndexBasedDistance.InstanceGet the index used.- Specified by:
getIndexin interfaceIndexBasedDistance.Instance<O,I extends elki.index.Index>- Returns:
- the index used
-
-