Interface MetricSpaceElement<E extends MetricSpaceElement<E,​S>,​S extends Scalar<S>>

  • Type Parameters:
    E - self reference
    S - the type of the distance
    All Superinterfaces:
    Sizeable<S>

    public interface MetricSpaceElement<E extends MetricSpaceElement<E,​S>,​S extends Scalar<S>>
    extends Sizeable<S>
    Elements of a metric space define a distanceTo(MetricSpaceElement) other elements in the same MetricSpace
    Since:
    0.4
    Author:
    Michiel Meeuwissen