de.lmu.ifi.dbs.elki.index.preprocessed.preference
Class AbstractPreferenceVectorIndex.Factory<V extends NumberVector<?,?>,I extends PreferenceVectorIndex<V>>

java.lang.Object
  extended by 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


Constructor Summary
AbstractPreferenceVectorIndex.Factory()
           
 
Method Summary
 TypeInformation getInputTypeRestriction()
          Get the input type restriction used for negotiating the data query.
abstract  I instantiate(Relation<V> relation)
          Instantiate the index for a given database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractPreferenceVectorIndex.Factory

public AbstractPreferenceVectorIndex.Factory()
Method Detail

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

Release 0.4.0 (2011-09-20_1324)