de.lmu.ifi.dbs.elki.index
Interface IndexFactory<V,I extends Index>

Type Parameters:
V - Input object type
I - Index type
All Superinterfaces:
InspectionUtilFrequentlyScanned, Parameterizable
All Known Subinterfaces:
FilteredLocalPCAIndex.Factory<NV,I>, LocalProjectionIndex.Factory<V,I>, PreferenceVectorIndex.Factory<V,I>, SharedNearestNeighborIndex.Factory<O,I>, SubspaceProjectionIndex.Factory<NV,I>
All Known Implementing Classes:
AbstractFilteredPCAIndex.Factory, AbstractMaterializeKNNPreprocessor.Factory, AbstractMkTreeUnifiedFactory, AbstractMTreeFactory, AbstractPreferenceVectorIndex.Factory, AbstractRStarTreeFactory, AbstractSubspaceProjectionIndex.Factory, DeLiCluTreeFactory, DiSHPreferenceVectorIndex.Factory, FourCSubspaceIndex.Factory, HiSCPreferenceVectorIndex.Factory, KNNQueryFilteredPCAIndex.Factory, MaterializeKNNAndRKNNPreprocessor.Factory, MaterializeKNNPreprocessor.Factory, MetricalIndexApproximationMaterializeKNNPreprocessor.Factory, MkAppTreeFactory, MkCopTreeFactory, MkMaxTreeFactory, MkTabTreeFactory, MTreeFactory, PartitionApproximationMaterializeKNNPreprocessor.Factory, PreDeConSubspaceIndex.Factory, RangeQueryFilteredPCAIndex.Factory, RStarTreeFactory, SharedNearestNeighborPreprocessor.Factory, SpatialApproximationMaterializeKNNPreprocessor.Factory, TreeIndexFactory

public interface IndexFactory<V,I extends Index>
extends Parameterizable

Factory interface for indexes.


Method Summary
 TypeInformation getInputTypeRestriction()
          Get the input type restriction used for negotiating the data query.
 I instantiate(Relation<V> relation)
          Sets the database in the distance function of this index (if existing).
 

Method Detail

instantiate

I 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

Release 0.4.0 (2011-09-20_1324)