Class KNNJoin.Task

  • All Implemented Interfaces:
    java.lang.Comparable<KNNJoin.Task>
    Enclosing class:
    KNNJoin

    private static class KNNJoin.Task
    extends java.lang.Object
    implements java.lang.Comparable<KNNJoin.Task>
    Task in the processing queue.
    Author:
    Erich Schubert
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int i
      First offset.
      (package private) int j
      Second offset.
      (package private) double mindist
      Minimum distance.
    • Constructor Summary

      Constructors 
      Constructor Description
      Task​(double mindist, int i, int j)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compareTo​(KNNJoin.Task o)  
      • Methods inherited from class java.lang.Object

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

      • mindist

        final double mindist
        Minimum distance.
      • i

        final int i
        First offset.
      • j

        final int j
        Second offset.
    • Constructor Detail

      • Task

        public Task​(double mindist,
                    int i,
                    int j)
        Constructor.
        Parameters:
        mindist - Minimum distance
        i - First offset
        j - Second offset
    • Method Detail

      • compareTo

        public int compareTo​(KNNJoin.Task o)
        Specified by:
        compareTo in interface java.lang.Comparable<KNNJoin.Task>