Package org.meeuw.math.abstractalgebra
Interface MetricSpaceElement<E extends MetricSpaceElement<E,S>,S extends Scalar<S>>
-
- Type Parameters:
E
- self referenceS
- 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 adistanceTo(MetricSpaceElement)
other elements in the sameMetricSpace
- Since:
- 0.4
- Author:
- Michiel Meeuwissen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default S
abs()
S
distanceTo(E otherElement)
MetricSpace<E,S>
getStructure()
-