Package elki.index.distancematrix
Class PrecomputedDistanceMatrix.Factory<O>
- java.lang.Object
-
- elki.index.distancematrix.PrecomputedDistanceMatrix.Factory<O>
-
- Type Parameters:
O
- Object type
- All Implemented Interfaces:
IndexFactory<O>
- Enclosing class:
- PrecomputedDistanceMatrix<O>
public static class PrecomputedDistanceMatrix.Factory<O> extends java.lang.Object implements IndexFactory<O>
Factory for the index.- Author:
- Erich Schubert
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeInformation
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.PrecomputedDistanceMatrix<O>
instantiate(Relation<O> relation)
Sets the database in the distance function of this index (if existing).
-
-
-
Method Detail
-
instantiate
public PrecomputedDistanceMatrix<O> instantiate(Relation<O> relation)
Description copied from interface:IndexFactory
Sets the database in the distance function of this index (if existing).- Specified by:
instantiate
in interfaceIndexFactory<O>
- Parameters:
relation
- the relation to index
-
getInputTypeRestriction
public TypeInformation getInputTypeRestriction()
Description copied from interface:IndexFactory
Get the input type restriction used for negotiating the data query.- Specified by:
getInputTypeRestriction
in interfaceIndexFactory<O>
- Returns:
- Type restriction
-
-