Class RStarTreeFactory<O extends NumberVector>
- java.lang.Object
-
- elki.index.PagedIndexFactory<O>
-
- elki.index.tree.spatial.rstarvariants.AbstractRStarTreeFactory<O,RStarTreeNode,SpatialEntry,RTreeSettings>
-
- elki.index.tree.spatial.rstarvariants.rstar.RStarTreeFactory<O>
-
- Type Parameters:
O
- Object type
- All Implemented Interfaces:
IndexFactory<O>
@Alias({"rstar","r*"}) public class RStarTreeFactory<O extends NumberVector> extends AbstractRStarTreeFactory<O,RStarTreeNode,SpatialEntry,RTreeSettings>
Factory for regular R*-Trees.- Since:
- 0.4.0
- Author:
- Erich Schubert
-
-
Field Summary
-
Fields inherited from class elki.index.tree.spatial.rstarvariants.AbstractRStarTreeFactory
settings
-
-
Constructor Summary
Constructors Constructor Description RStarTreeFactory(PageFileFactory<?> pageFileFactory, RTreeSettings settings)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Class<RStarTreeNode>
getNodeClass()
RStarTreeIndex<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
-
RStarTreeFactory
public RStarTreeFactory(PageFileFactory<?> pageFileFactory, RTreeSettings settings)
Constructor.- Parameters:
pageFileFactory
- Data storagesettings
- Tree settings
-
-
Method Detail
-
instantiate
public RStarTreeIndex<O> instantiate(Relation<O> relation)
Description copied from interface:IndexFactory
Sets the database in the distance function of this index (if existing).- Parameters:
relation
- the relation to index
-
getNodeClass
protected java.lang.Class<RStarTreeNode> getNodeClass()
-
-