de.lmu.ifi.dbs.elki.index.preprocessed.preference
Class AbstractPreferenceVectorIndex.Factory<V extends NumberVector<?,?>,I extends PreferenceVectorIndex<V>>
java.lang.Object
de.lmu.ifi.dbs.elki.index.preprocessed.preference.AbstractPreferenceVectorIndex.Factory<V,I>
- All Implemented Interfaces:
- IndexFactory<V,I>, PreferenceVectorIndex.Factory<V,I>, InspectionUtilFrequentlyScanned, Parameterizable
- Direct Known Subclasses:
- DiSHPreferenceVectorIndex.Factory, HiSCPreferenceVectorIndex.Factory
- Enclosing class:
- AbstractPreferenceVectorIndex<NV extends NumberVector<?,?>>
public abstract static class AbstractPreferenceVectorIndex.Factory<V extends NumberVector<?,?>,I extends PreferenceVectorIndex<V>>
- extends Object
- implements PreferenceVectorIndex.Factory<V,I>, Parameterizable
Factory class
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractPreferenceVectorIndex.Factory
public AbstractPreferenceVectorIndex.Factory()
instantiate
public abstract I instantiate(Relation<V> relation)
- Description copied from interface:
PreferenceVectorIndex.Factory
- Instantiate the index for a given database.
- Specified by:
instantiate
in interface IndexFactory<V extends NumberVector<?,?>,I extends PreferenceVectorIndex<V>>
- Specified by:
instantiate
in interface PreferenceVectorIndex.Factory<V extends NumberVector<?,?>,I extends PreferenceVectorIndex<V>>
- Parameters:
relation
- Relation to use
- Returns:
- 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 interface IndexFactory<V extends NumberVector<?,?>,I extends PreferenceVectorIndex<V>>
- Returns:
- Type restriction