Class LinearScanDistanceRangeByObject<O>

  • Type Parameters:
    O - relation object type
    All Implemented Interfaces:
    LinearScanQuery, RangeSearcher<O>

    public class LinearScanDistanceRangeByObject<O>
    extends java.lang.Object
    implements RangeSearcher<O>, LinearScanQuery
    Default linear scan range query class.
    Since:
    0.4.0
    Author:
    Erich Schubert
    • Field Detail

      • distanceQuery

        private DistanceQuery<O> distanceQuery
        Distance to use.
    • Constructor Detail

      • LinearScanDistanceRangeByObject

        public LinearScanDistanceRangeByObject​(DistanceQuery<O> distanceQuery)
        Constructor.
        Parameters:
        distanceQuery - Distance function to use