Package elki.index
Interface IndexFactory<V>
-
- Type Parameters:
V- Input object type
- All Known Subinterfaces:
SharedNearestNeighborIndex.Factory<O>
- All Known Implementing Classes:
AbstractCoverTree.Factory,AbstractMaterializeKNNPreprocessor.Factory,AbstractMkTreeUnifiedFactory,AbstractMTreeFactory,AbstractRStarTreeFactory,CachedDoubleDistanceKNNPreprocessor.Factory,CoverTree.Factory,DeLiCluTreeFactory,FlatRStarTreeFactory,GNAT.Factory,InMemoryIDistanceIndex.Factory,InMemoryInvertedIndex.Factory,InMemoryLSHIndex,KNNJoinMaterializeKNNPreprocessor.Factory,LAESA.Factory,LatLngAsECEFIndex.Factory,LngLatAsECEFIndex.Factory,MaterializeKNNAndRKNNPreprocessor.Factory,MaterializeKNNPreprocessor.Factory,MemoryKDTree.Factory,MetricalIndexApproximationMaterializeKNNPreprocessor.Factory,MinimalisticMemoryKDTree.Factory,MkAppTreeFactory,MkCopTreeFactory,MkMaxTreeFactory,MkTabTreeFactory,MTreeFactory,NaiveProjectedKNNPreprocessor.Factory,NNDescent.Factory,PagedIndexFactory,PartialVAFile.Factory,PartitionApproximationMaterializeKNNPreprocessor.Factory,PINN,PrecomputedDistanceMatrix.Factory,PrecomputedSimilarityMatrix.Factory,ProjectedIndex.Factory,RandomSampleKNNPreprocessor.Factory,RdKNNTreeFactory,RStarTreeFactory,SharedNearestNeighborPreprocessor.Factory,SimplifiedCoverTree.Factory,SmallMemoryKDTree.Factory,SpacefillingKNNPreprocessor.Factory,SpacefillingMaterializeKNNPreprocessor.Factory,SpatialApproximationMaterializeKNNPreprocessor.Factory,VAFile.Factory,VPTree.Factory
public interface IndexFactory<V>Factory interface for indexes.- Since:
- 0.4.0
- Author:
- Erich Schubert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypeInformationgetInputTypeRestriction()Get the input type restriction used for negotiating the data query.Indexinstantiate(Relation<V> relation)Sets the database in the distance function of this index (if existing).
-
-
-
Method Detail
-
instantiate
Index instantiate(Relation<V> relation)
Sets the database in the distance function of this index (if existing).- Parameters:
relation- the relation to index
-
getInputTypeRestriction
TypeInformation getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.- Returns:
- Type restriction
-
-