Class SplitOnlyOverflowTreatment
- java.lang.Object
-
- elki.index.tree.spatial.rstarvariants.strategies.overflow.SplitOnlyOverflowTreatment
-
- All Implemented Interfaces:
OverflowTreatment
public class SplitOnlyOverflowTreatment extends java.lang.Object implements OverflowTreatment
Always split, as in the original R-Tree- Since:
- 0.5.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSplitOnlyOverflowTreatment.ParParameterization class.
-
Field Summary
Fields Modifier and Type Field Description static SplitOnlyOverflowTreatmentSTATICStatic instance
-
Constructor Summary
Constructors Constructor Description SplitOnlyOverflowTreatment()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <N extends AbstractRStarTreeNode<N,E>,E extends SpatialEntry>
booleanhandleOverflow(AbstractRStarTree<N,E,?> tree, N node, IndexTreePath<E> path)Handle overflow in the given node.voidreinitialize()Reinitialize the reinsertion treatment (for a new primary insertion).
-
-
-
Field Detail
-
STATIC
public static final SplitOnlyOverflowTreatment STATIC
Static instance
-
-
Method Detail
-
handleOverflow
public <N extends AbstractRStarTreeNode<N,E>,E extends SpatialEntry> boolean handleOverflow(AbstractRStarTree<N,E,?> tree, N node, IndexTreePath<E> path)
Description copied from interface:OverflowTreatmentHandle overflow in the given node.- Specified by:
handleOverflowin interfaceOverflowTreatment- Type Parameters:
N- NodeE- Entry- Parameters:
tree- Treenode- Nodepath- Path- Returns:
- true when already handled (e.g., by reinserting)
-
reinitialize
public void reinitialize()
Description copied from interface:OverflowTreatmentReinitialize the reinsertion treatment (for a new primary insertion).- Specified by:
reinitializein interfaceOverflowTreatment
-
-