Class EuclideanMetricVector2D


  • public class EuclideanMetricVector2D
    extends MetricVector2D
    Euclidean distance metric for vector types.

    The distance between two points
    P = (p_1, p_2, ..., p_n)
    and
    Q = (q_1, q_2, ..., q_n)
    is defined as
    \sqrt{\sum_{i=1}^{n}(p_i - q_i)^2}

    • Constructor Detail

      • EuclideanMetricVector2D

        public EuclideanMetricVector2D​(long cPtr,
                                       boolean cMemoryOwn)
      • EuclideanMetricVector2D

        public EuclideanMetricVector2D()