Package elki.index.invertedlist
Class InMemoryInvertedIndex.Factory<V extends NumberVector>
- java.lang.Object
-
- elki.index.invertedlist.InMemoryInvertedIndex.Factory<V>
-
- Type Parameters:
V
- Vector type
- All Implemented Interfaces:
IndexFactory<V>
- Enclosing class:
- InMemoryInvertedIndex<V extends NumberVector>
public static class InMemoryInvertedIndex.Factory<V extends NumberVector> extends java.lang.Object implements IndexFactory<V>
Index factory- Author:
- Erich Schubert
-
-
Constructor Summary
Constructors Constructor Description Factory()
-
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.InMemoryInvertedIndex<V>
instantiate(Relation<V> relation)
Sets the database in the distance function of this index (if existing).
-
-
-
Method Detail
-
instantiate
public InMemoryInvertedIndex<V> instantiate(Relation<V> relation)
Description copied from interface:IndexFactory
Sets the database in the distance function of this index (if existing).- Specified by:
instantiate
in interfaceIndexFactory<V extends NumberVector>
- 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<V extends NumberVector>
- Returns:
- Type restriction
-
-