public abstract static class AbstractSubspaceProjectionIndex.Factory<NV extends NumberVector<?>,D extends Distance<D>,I extends AbstractSubspaceProjectionIndex<NV,D,?>> extends Object implements SubspaceProjectionIndex.Factory<NV,I>, Parameterizable
Modifier and Type | Class and Description |
---|---|
static class |
AbstractSubspaceProjectionIndex.Factory.Parameterizer<NV extends NumberVector<?>,D extends Distance<D>,C>
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
protected D |
epsilon
Contains the value of parameter epsilon;
|
protected int |
minpts
Holds the value of parameter minpts.
|
protected DistanceFunction<NV,D> |
rangeQueryDistanceFunction
The distance function for the variance analysis.
|
Constructor and Description |
---|
AbstractSubspaceProjectionIndex.Factory(D epsilon,
DistanceFunction<NV,D> rangeQueryDistanceFunction,
int minpts)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TypeInformation |
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.
|
abstract I |
instantiate(Relation<NV> relation)
Instantiate the index for a given database.
|
protected DistanceFunction<NV extends NumberVector<?>,D extends Distance<D>> rangeQueryDistanceFunction
protected int minpts
public AbstractSubspaceProjectionIndex.Factory(D epsilon, DistanceFunction<NV,D> rangeQueryDistanceFunction, int minpts)
epsilon
- rangeQueryDistanceFunction
- minpts
- public abstract I instantiate(Relation<NV> relation)
SubspaceProjectionIndex.Factory
instantiate
in interface IndexFactory<NV extends NumberVector<?>,I extends AbstractSubspaceProjectionIndex<NV,D,?>>
instantiate
in interface LocalProjectionIndex.Factory<NV extends NumberVector<?>,I extends AbstractSubspaceProjectionIndex<NV,D,?>>
instantiate
in interface SubspaceProjectionIndex.Factory<NV extends NumberVector<?>,I extends AbstractSubspaceProjectionIndex<NV,D,?>>
relation
- Relationpublic TypeInformation getInputTypeRestriction()
IndexFactory
getInputTypeRestriction
in interface IndexFactory<NV extends NumberVector<?>,I extends AbstractSubspaceProjectionIndex<NV,D,?>>