
O - Object typepublic class RStarTreeFactory<O extends NumberVector<?>> extends AbstractRStarTreeFactory<O,RStarTreeNode,SpatialEntry,RStarTreeIndex<O>>
| Modifier and Type | Class and Description |
|---|---|
static class |
RStarTreeFactory.Parameterizer<O extends NumberVector<?>>
Parameterization class.
|
BULK_SPLIT_ID, bulkSplitter, INSERTION_STRATEGY_ID, insertionStrategy, MINIMUM_FILL_ID, minimumFill, nodeSplitter, OVERFLOW_STRATEGY_ID, overflowTreatment, SPLIT_STRATEGY_IDCACHE_SIZE_ID, cacheSize, FILE_ID, fileName, PAGE_SIZE_ID, pageSize| Constructor and Description |
|---|
RStarTreeFactory(String fileName,
int pageSize,
long cacheSize,
BulkSplit bulkSplitter,
InsertionStrategy insertionStrategy,
SplitStrategy nodeSplitter,
OverflowTreatment overflowTreatment,
double minimumFill)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Class<RStarTreeNode> |
getNodeClass() |
RStarTreeIndex<O> |
instantiate(Relation<O> relation)
Sets the database in the distance function of this index (if existing).
|
getInputTypeRestrictionmakePageFilepublic RStarTreeFactory(String fileName, int pageSize, long cacheSize, BulkSplit bulkSplitter, InsertionStrategy insertionStrategy, SplitStrategy nodeSplitter, OverflowTreatment overflowTreatment, double minimumFill)
fileName - pageSize - cacheSize - bulkSplitter - Bulk loading strategyinsertionStrategy - the strategy to find the insertion childnodeSplitter - the strategy for splitting nodes.overflowTreatment - the strategy to use for overflow treatmentminimumFill - the relative minimum fillpublic RStarTreeIndex<O> instantiate(Relation<O> relation)
IndexFactoryinstantiate in interface IndexFactory<O extends NumberVector<?>,RStarTreeIndex<O extends NumberVector<?>>>instantiate in class TreeIndexFactory<O extends NumberVector<?>,RStarTreeIndex<O extends NumberVector<?>>>relation - the relation to indexprotected Class<RStarTreeNode> getNodeClass()