de.lmu.ifi.dbs.elki.index.tree.spatial.rstarvariants.rstar
Class RStarTreeFactory<O extends NumberVector<O,?>>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.index.tree.TreeIndexFactory<O,I>
      extended by de.lmu.ifi.dbs.elki.index.tree.spatial.rstarvariants.AbstractRStarTreeFactory<O,RStarTreeNode,SpatialEntry,RStarTreeIndex<O>>
          extended by 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.


Nested Class Summary
static class RStarTreeFactory.Parameterizer<O extends NumberVector<O,?>>
          Parameterization class.
 
Field Summary
 
Fields inherited from class de.lmu.ifi.dbs.elki.index.tree.spatial.rstarvariants.AbstractRStarTreeFactory
BULK_SPLIT_ID, bulkSplitter, INSERTION_STRATEGY_ID, insertionStrategy
 
Fields inherited from class de.lmu.ifi.dbs.elki.index.tree.TreeIndexFactory
CACHE_SIZE_ID, cacheSize, FILE_ID, fileName, PAGE_SIZE_ID, pageSize
 
Constructor Summary
RStarTreeFactory(String fileName, int pageSize, long cacheSize, BulkSplit bulkSplitter, InsertionStrategy insertionStrategy)
          Constructor.
 
Method Summary
protected  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 de.lmu.ifi.dbs.elki.index.tree.spatial.rstarvariants.AbstractRStarTreeFactory
getInputTypeRestriction
 
Methods inherited from class de.lmu.ifi.dbs.elki.index.tree.TreeIndexFactory
makePageFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RStarTreeFactory

public RStarTreeFactory(String fileName,
                        int pageSize,
                        long cacheSize,
                        BulkSplit bulkSplitter,
                        InsertionStrategy insertionStrategy)
Constructor.

Parameters:
fileName -
pageSize -
cacheSize -
bulkSplitter - Bulk loading strategy
insertionStrategy - the strategy to find the insertion child
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).

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()

Release 0.4.0 (2011-09-20_1324)