Class AbstractPartialReinsert
- java.lang.Object
-
- elki.index.tree.spatial.rstarvariants.strategies.reinsert.AbstractPartialReinsert
-
- All Implemented Interfaces:
ReinsertStrategy
- Direct Known Subclasses:
CloseReinsert
,FarReinsert
public abstract class AbstractPartialReinsert extends java.lang.Object implements ReinsertStrategy
Abstract base class for reinsertion strategies that have a "relative amount" parameter to partially reinsert entries.- Since:
- 0.5.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractPartialReinsert.Par
Parameterization class.
-
Field Summary
Fields Modifier and Type Field Description (package private) SpatialPrimitiveDistance<?>
distance
Distance function to use for measuringprotected double
reinsertAmount
Amount of entries to reinsert
-
Constructor Summary
Constructors Constructor Description AbstractPartialReinsert(double reinsertAmount, SpatialPrimitiveDistance<?> distance)
Constructor.
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elki.index.tree.spatial.rstarvariants.strategies.reinsert.ReinsertStrategy
computeReinserts
-
-
-
-
Field Detail
-
reinsertAmount
protected double reinsertAmount
Amount of entries to reinsert
-
distance
SpatialPrimitiveDistance<?> distance
Distance function to use for measuring
-
-
Constructor Detail
-
AbstractPartialReinsert
public AbstractPartialReinsert(double reinsertAmount, SpatialPrimitiveDistance<?> distance)
Constructor.- Parameters:
reinsertAmount
- Relative amount of objects to reinsert.distance
- Distance function to use
-
-