Class 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.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • reinsertAmount

        protected double reinsertAmount
        Amount of entries to reinsert
    • Constructor Detail

      • AbstractPartialReinsert

        public AbstractPartialReinsert​(double reinsertAmount,
                                       SpatialPrimitiveDistance<?> distance)
        Constructor.
        Parameters:
        reinsertAmount - Relative amount of objects to reinsert.
        distance - Distance function to use