de.lmu.ifi.dbs.elki.index.preprocessed.localpca
Class RangeQueryFilteredPCAIndex.Factory<V extends NumberVector<V,?>>
java.lang.Object
de.lmu.ifi.dbs.elki.index.preprocessed.localpca.AbstractFilteredPCAIndex.Factory<V,RangeQueryFilteredPCAIndex<V>>
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
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
.
RangeQueryFilteredPCAIndex.Factory
public RangeQueryFilteredPCAIndex.Factory(DistanceFunction<V,DoubleDistance> pcaDistanceFunction,
PCAFilteredRunner<V> pca,
DoubleDistance epsilon)
- Constructor.
- Parameters:
pcaDistanceFunction
- distance functionpca
- PCAepsilon
- range value
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