public static class RangeQueryFilteredPCAIndex.Factory<V extends NumberVector<?>> extends AbstractFilteredPCAIndex.Factory<V,RangeQueryFilteredPCAIndex<V>>
Modifier and Type | Class and Description |
---|---|
static class |
RangeQueryFilteredPCAIndex.Factory.Parameterizer<NV extends NumberVector<?>>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
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.
|
pca, PCA_DISTANCE_ID, pcaDistanceFunction
Constructor and Description |
---|
RangeQueryFilteredPCAIndex.Factory(DistanceFunction<V,DoubleDistance> pcaDistanceFunction,
PCAFilteredRunner<V> pca,
DoubleDistance epsilon)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
RangeQueryFilteredPCAIndex<V> |
instantiate(Relation<V> relation)
Instantiate the index for a given database.
|
getInputTypeRestriction
public static final OptionID EPSILON_ID
-localpca.epsilon
protected DoubleDistance epsilon
EPSILON_ID
.public RangeQueryFilteredPCAIndex.Factory(DistanceFunction<V,DoubleDistance> pcaDistanceFunction, PCAFilteredRunner<V> pca, DoubleDistance epsilon)
pcaDistanceFunction
- distance functionpca
- PCAepsilon
- range valuepublic RangeQueryFilteredPCAIndex<V> instantiate(Relation<V> relation)
FilteredLocalPCAIndex.Factory
instantiate
in interface IndexFactory<V extends NumberVector<?>,RangeQueryFilteredPCAIndex<V extends NumberVector<?>>>
instantiate
in interface FilteredLocalPCAIndex.Factory<V extends NumberVector<?>,RangeQueryFilteredPCAIndex<V extends NumberVector<?>>>
instantiate
in interface LocalProjectionIndex.Factory<V extends NumberVector<?>,RangeQueryFilteredPCAIndex<V extends NumberVector<?>>>
instantiate
in class AbstractFilteredPCAIndex.Factory<V extends NumberVector<?>,RangeQueryFilteredPCAIndex<V extends NumberVector<?>>>
relation
- Relation to use