Class RTreeSettings
- java.lang.Object
-
- elki.index.tree.spatial.rstarvariants.RTreeSettings
-
- Direct Known Subclasses:
RdkNNSettings
public class RTreeSettings extends java.lang.ObjectClass to wrap common Rtree settings.- Since:
- 0.6.0
- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description protected BulkSplitbulkSplitterThe strategy for bulk load.protected InsertionStrategyinsertionStrategyThe insertion strategy to use.protected SplitStrategynodeSplitterThe split strategy.private OverflowTreatmentoverflowTreatmentOverflow treatment.protected doublerelativeMinFillRelative minimum fill.
-
Constructor Summary
Constructors Constructor Description RTreeSettings()Constructor with default values.RTreeSettings(BulkSplit bulkSplitter)Constructor with default values and bulk loader.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OverflowTreatmentgetOverflowTreatment()voidsetBulkStrategy(BulkSplit bulkSplitter)Set the bulk loading strategy.voidsetInsertionStrategy(InsertionStrategy insertionStrategy)Set insertion strategy.voidsetMinimumFill(double relative)Set the relative minimum fill.voidsetNodeSplitStrategy(SplitStrategy nodeSplitter)Set the node splitting strategy.voidsetOverflowTreatment(OverflowTreatment overflowTreatment)Set the overflow treatment strategy.
-
-
-
Field Detail
-
bulkSplitter
protected BulkSplit bulkSplitter
The strategy for bulk load.
-
nodeSplitter
protected SplitStrategy nodeSplitter
The split strategy.
-
insertionStrategy
protected InsertionStrategy insertionStrategy
The insertion strategy to use.
-
overflowTreatment
private OverflowTreatment overflowTreatment
Overflow treatment.
-
relativeMinFill
protected double relativeMinFill
Relative minimum fill.
-
-
Constructor Detail
-
RTreeSettings
public RTreeSettings()
Constructor with default values.
-
RTreeSettings
public RTreeSettings(BulkSplit bulkSplitter)
Constructor with default values and bulk loader.
-
-
Method Detail
-
setBulkStrategy
public void setBulkStrategy(BulkSplit bulkSplitter)
Set the bulk loading strategy.- Parameters:
bulkSplitter- Bulk loading strategy
-
setNodeSplitStrategy
public void setNodeSplitStrategy(SplitStrategy nodeSplitter)
Set the node splitting strategy.- Parameters:
nodeSplitter- the split strategy to set
-
setInsertionStrategy
public void setInsertionStrategy(InsertionStrategy insertionStrategy)
Set insertion strategy.- Parameters:
insertionStrategy- the insertion strategy to set
-
setOverflowTreatment
public void setOverflowTreatment(OverflowTreatment overflowTreatment)
Set the overflow treatment strategy.- Parameters:
overflowTreatment- overflow treatment strategy
-
setMinimumFill
public void setMinimumFill(double relative)
Set the relative minimum fill. (Only supported before the tree was used!)- Parameters:
relative- Relative minimum fill
-
getOverflowTreatment
public OverflowTreatment getOverflowTreatment()
- Returns:
- the overflowTreatment
-
-