de.lmu.ifi.dbs.elki.index.preprocessed.localpca
Class RangeQueryFilteredPCAIndex.Factory<V extends NumberVector<V,?>>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.index.preprocessed.localpca.AbstractFilteredPCAIndex.Factory<V,RangeQueryFilteredPCAIndex<V>>
      extended by de.lmu.ifi.dbs.elki.index.preprocessed.localpca.RangeQueryFilteredPCAIndex.Factory<V>
All Implemented Interfaces:
IndexFactory<V,RangeQueryFilteredPCAIndex<V>>, FilteredLocalPCAIndex.Factory<V,RangeQueryFilteredPCAIndex<V>>, LocalProjectionIndex.Factory<V,RangeQueryFilteredPCAIndex<V>>, InspectionUtilFrequentlyScanned, Parameterizable
Enclosing class:
RangeQueryFilteredPCAIndex<NV extends NumberVector<? extends NV,?>>

public static class RangeQueryFilteredPCAIndex.Factory<V extends NumberVector<V,?>>
extends AbstractFilteredPCAIndex.Factory<V,RangeQueryFilteredPCAIndex<V>>

Factory class


Nested Class Summary
static class RangeQueryFilteredPCAIndex.Factory.Parameterizer<NV extends NumberVector<NV,?>>
          Parameterization class.
 
Field Summary
protected  DoubleDistance epsilon
          Holds the value of EPSILON_ID.
static OptionID EPSILON_ID
          Parameter to specify the maximum radius of the neighborhood to be considered in the PCA, must be suitable to the distance function specified.
 
Fields inherited from class de.lmu.ifi.dbs.elki.index.preprocessed.localpca.AbstractFilteredPCAIndex.Factory
pca, PCA_DISTANCE_ID, pcaDistanceFunction
 
Constructor Summary
RangeQueryFilteredPCAIndex.Factory(DistanceFunction<V,DoubleDistance> pcaDistanceFunction, PCAFilteredRunner<V> pca, DoubleDistance epsilon)
          Constructor.
 
Method Summary
 RangeQueryFilteredPCAIndex<V> instantiate(Relation<V> relation)
          Instantiate the index for a given database.
 
Methods inherited from class de.lmu.ifi.dbs.elki.index.preprocessed.localpca.AbstractFilteredPCAIndex.Factory
getInputTypeRestriction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EPSILON_ID

public static final OptionID EPSILON_ID
Parameter to specify the maximum radius of the neighborhood to be considered in the PCA, must be suitable to the distance function specified. Key: -localpca.epsilon


epsilon

protected DoubleDistance epsilon
Holds the value of EPSILON_ID.

Constructor Detail

RangeQueryFilteredPCAIndex.Factory

public RangeQueryFilteredPCAIndex.Factory(DistanceFunction<V,DoubleDistance> pcaDistanceFunction,
                                          PCAFilteredRunner<V> pca,
                                          DoubleDistance epsilon)
Constructor.

Parameters:
pcaDistanceFunction - distance function
pca - PCA
epsilon - range value
Method Detail

instantiate

public RangeQueryFilteredPCAIndex<V> instantiate(Relation<V> relation)
Description copied from interface: FilteredLocalPCAIndex.Factory
Instantiate the index for a given database.

Specified by:
instantiate in interface IndexFactory<V extends NumberVector<V,?>,RangeQueryFilteredPCAIndex<V extends NumberVector<V,?>>>
Specified by:
instantiate in interface FilteredLocalPCAIndex.Factory<V extends NumberVector<V,?>,RangeQueryFilteredPCAIndex<V extends NumberVector<V,?>>>
Specified by:
instantiate in interface LocalProjectionIndex.Factory<V extends NumberVector<V,?>,RangeQueryFilteredPCAIndex<V extends NumberVector<V,?>>>
Specified by:
instantiate in class AbstractFilteredPCAIndex.Factory<V extends NumberVector<V,?>,RangeQueryFilteredPCAIndex<V extends NumberVector<V,?>>>
Parameters:
relation - Relation to use
Returns:
Index

Release 0.4.0 (2011-09-20_1324)