Class ClassificationScheme.Distance

  • Enclosing class:
    ClassificationScheme

    public static class ClassificationScheme.Distance
    extends Object
    Representation of the distance between two points.

    Internally, nearness may be represented using values which are computationally cheaper while preserving distance information and ordering. This allows the true distance to be determined lazily, on an as-needed basis.

    • Method Detail

      • getDistance

        public double getDistance()
        Gets the actual distance.
        Returns:
        the distance value