de.lmu.ifi.dbs.elki.index.tree.spatial.rstarvariants.rstar
Class RStarTreeFactory<O extends NumberVector<O,?>>
java.lang.Object
de.lmu.ifi.dbs.elki.index.tree.TreeIndexFactory<O,I>
de.lmu.ifi.dbs.elki.index.tree.spatial.rstarvariants.AbstractRStarTreeFactory<O,RStarTreeNode,SpatialEntry,RStarTreeIndex<O>>
de.lmu.ifi.dbs.elki.index.tree.spatial.rstarvariants.rstar.RStarTreeFactory<O>
- Type Parameters:
O
- Object type
- All Implemented Interfaces:
- IndexFactory<O,RStarTreeIndex<O>>, InspectionUtilFrequentlyScanned, Parameterizable
public class RStarTreeFactory<O extends NumberVector<O,?>>
- extends AbstractRStarTreeFactory<O,RStarTreeNode,SpatialEntry,RStarTreeIndex<O>>
Factory for regular R*-Trees.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RStarTreeFactory
public RStarTreeFactory(String fileName,
int pageSize,
long cacheSize,
BulkSplit bulkSplitter,
InsertionStrategy insertionStrategy)
- Constructor.
- Parameters:
fileName
- pageSize
- cacheSize
- bulkSplitter
- Bulk loading strategyinsertionStrategy
- the strategy to find the insertion child
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).
- Specified by:
instantiate
in interface IndexFactory<O extends NumberVector<O,?>,RStarTreeIndex<O extends NumberVector<O,?>>>
- Specified by:
instantiate
in class TreeIndexFactory<O extends NumberVector<O,?>,RStarTreeIndex<O extends NumberVector<O,?>>>
- Parameters:
relation
- the relation to index
getNodeClass
protected Class<RStarTreeNode> getNodeClass()