de.lmu.ifi.dbs.elki.index.preprocessed.subspaceproj
Class AbstractSubspaceProjectionIndex.Factory<NV extends NumberVector<?,?>,D extends Distance<D>,I extends AbstractSubspaceProjectionIndex<NV,D,?>>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.index.preprocessed.subspaceproj.AbstractSubspaceProjectionIndex.Factory<NV,D,I>
All Implemented Interfaces:
IndexFactory<NV,I>, LocalProjectionIndex.Factory<NV,I>, SubspaceProjectionIndex.Factory<NV,I>, InspectionUtilFrequentlyScanned, Parameterizable
Direct Known Subclasses:
FourCSubspaceIndex.Factory, PreDeConSubspaceIndex.Factory
Enclosing class:
AbstractSubspaceProjectionIndex<NV extends NumberVector<?,?>,D extends Distance<D>,P extends ProjectionResult>

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

Factory class


Nested Class Summary
static class AbstractSubspaceProjectionIndex.Factory.Parameterizer<NV extends NumberVector<?,?>,D extends Distance<D>,C>
          Parameterization class.
 
Field Summary
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 Summary
AbstractSubspaceProjectionIndex.Factory(D epsilon, DistanceFunction<NV,D> rangeQueryDistanceFunction, int minpts)
          Constructor.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

epsilon

protected D extends Distance<D> epsilon
Contains the value of parameter epsilon;


rangeQueryDistanceFunction

protected DistanceFunction<NV extends NumberVector<?,?>,D extends Distance<D>> rangeQueryDistanceFunction
The distance function for the variance analysis.


minpts

protected int minpts
Holds the value of parameter minpts.

Constructor Detail

AbstractSubspaceProjectionIndex.Factory

public AbstractSubspaceProjectionIndex.Factory(D epsilon,
                                               DistanceFunction<NV,D> rangeQueryDistanceFunction,
                                               int minpts)
Constructor.

Parameters:
epsilon -
rangeQueryDistanceFunction -
minpts -
Method Detail

instantiate

public abstract I instantiate(Relation<NV> relation)
Description copied from interface: SubspaceProjectionIndex.Factory
Instantiate the index for a given database.

Specified by:
instantiate in interface IndexFactory<NV extends NumberVector<?,?>,I extends AbstractSubspaceProjectionIndex<NV,D,?>>
Specified by:
instantiate in interface LocalProjectionIndex.Factory<NV extends NumberVector<?,?>,I extends AbstractSubspaceProjectionIndex<NV,D,?>>
Specified by:
instantiate in interface SubspaceProjectionIndex.Factory<NV extends NumberVector<?,?>,I extends AbstractSubspaceProjectionIndex<NV,D,?>>
Parameters:
relation - Relation
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<NV extends NumberVector<?,?>,I extends AbstractSubspaceProjectionIndex<NV,D,?>>
Returns:
Type restriction

Release 0.4.0 (2011-09-20_1324)