Class RdKNNTreeFactory<O extends NumberVector>
- java.lang.Object
-
- elki.index.PagedIndexFactory<O>
-
- elki.index.tree.spatial.rstarvariants.AbstractRStarTreeFactory<O,RdKNNNode,RdKNNEntry,RdkNNSettings>
-
- elki.index.tree.spatial.rstarvariants.rdknn.RdKNNTreeFactory<O>
-
- Type Parameters:
O- Object type
- All Implemented Interfaces:
IndexFactory<O>
public class RdKNNTreeFactory<O extends NumberVector> extends AbstractRStarTreeFactory<O,RdKNNNode,RdKNNEntry,RdkNNSettings>
Factory for RdKNN R*-Trees.- Since:
- 0.7.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRdKNNTreeFactory.Par<O extends NumberVector>Parameterization class.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.Class<?>DEFAULT_DISTANCE_FUNCTIONThe default distance function.static OptionIDDISTANCE_FUNCTION_IDParameter for distance functionstatic OptionIDK_IDParameter for k-
Fields inherited from class elki.index.tree.spatial.rstarvariants.AbstractRStarTreeFactory
settings
-
-
Constructor Summary
Constructors Constructor Description RdKNNTreeFactory(PageFileFactory<?> pageFileFactory, RdkNNSettings settings)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Class<RdKNNNode>getNodeClass()RdKNNTree<O>instantiate(Relation<O> relation)Sets the database in the distance function of this index (if existing).-
Methods inherited from class elki.index.tree.spatial.rstarvariants.AbstractRStarTreeFactory
getInputTypeRestriction
-
Methods inherited from class elki.index.PagedIndexFactory
makePageFile
-
-
-
-
Constructor Detail
-
RdKNNTreeFactory
public RdKNNTreeFactory(PageFileFactory<?> pageFileFactory, RdkNNSettings settings)
Constructor.- Parameters:
pageFileFactory- Data storagesettings- Settings class
-
-
Method Detail
-
instantiate
public RdKNNTree<O> instantiate(Relation<O> relation)
Description copied from interface:IndexFactorySets the database in the distance function of this index (if existing).- Parameters:
relation- the relation to index
-
getNodeClass
protected java.lang.Class<RdKNNNode> getNodeClass()
-
-