Class RTreeSettings
- java.lang.Object
-
- elki.index.tree.spatial.rstarvariants.RTreeSettings
-
- Direct Known Subclasses:
RdkNNSettings
public class RTreeSettings extends java.lang.Object
Class to wrap common Rtree settings.- Since:
- 0.6.0
- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description protected BulkSplit
bulkSplitter
The strategy for bulk load.protected InsertionStrategy
insertionStrategy
The insertion strategy to use.protected SplitStrategy
nodeSplitter
The split strategy.private OverflowTreatment
overflowTreatment
Overflow treatment.protected double
relativeMinFill
Relative 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 OverflowTreatment
getOverflowTreatment()
void
setBulkStrategy(BulkSplit bulkSplitter)
Set the bulk loading strategy.void
setInsertionStrategy(InsertionStrategy insertionStrategy)
Set insertion strategy.void
setMinimumFill(double relative)
Set the relative minimum fill.void
setNodeSplitStrategy(SplitStrategy nodeSplitter)
Set the node splitting strategy.void
setOverflowTreatment(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
-
-