Class DistEntryP<T>

    • Constructor Detail

      • DistEntryP

        public DistEntryP​(double[] point,
                          T val,
                          double dist)
        Create a new entry with distance
        Parameters:
        point - point
        val - value
        dist - distance
    • Method Detail

      • dist

        public double dist()
        Description copied from interface: PointEntryDist
        An entry with distance property. This is, for example, used as a return value for nearest neighbour queries.
        Specified by:
        dist in interface PointEntryDist<T>
        Returns:
        the distance