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 TypeInformationgetInputTypeRestriction()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:IndexFactorySets the database in the distance function of this index (if existing).- Specified by:
instantiatein interfaceIndexFactory<O>- Parameters:
relation- the relation to index
-
getInputTypeRestriction
public TypeInformation getInputTypeRestriction()
Description copied from interface:IndexFactoryGet the input type restriction used for negotiating the data query.- Specified by:
getInputTypeRestrictionin interfaceIndexFactory<O>- Returns:
- Type restriction
-
-