O
- Object typepublic class RStarTreeFactory<O extends NumberVector<O,?>> extends AbstractRStarTreeFactory<O,RStarTreeNode,SpatialEntry,RStarTreeIndex<O>>
Modifier and Type | Class and Description |
---|---|
static class |
RStarTreeFactory.Parameterizer<O extends NumberVector<O,?>>
Parameterization class.
|
BULK_SPLIT_ID, bulkSplitter, INSERTION_STRATEGY_ID, insertionStrategy, MINIMUM_FILL_ID, minimumFill, nodeSplitter, OVERFLOW_STRATEGY_ID, overflowTreatment, SPLIT_STRATEGY_ID
CACHE_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).
|
getInputTypeRestriction
makePageFile
public 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)
IndexFactory
instantiate
in interface IndexFactory<O extends NumberVector<O,?>,RStarTreeIndex<O extends NumberVector<O,?>>>
instantiate
in class TreeIndexFactory<O extends NumberVector<O,?>,RStarTreeIndex<O extends NumberVector<O,?>>>
relation
- the relation to indexprotected Class<RStarTreeNode> getNodeClass()