Interface Norm<T>

Type Parameters:
T - The class of the objects used.
All Known Subinterfaces:
RealVectorNorm
All Known Implementing Classes:
AbstractRealVectorNorm, AggregatingNorm, EntropyNorm, ManhattanNorm, MaximumNorm, PNorm, ProbabilisticAggregatingNorm, ProbabilisticPNorm

public interface Norm<T>
A norm for vector spaces.
Author:
Matthias Thimm
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    distance(T obj1, T obj2)
    The distance between the two object, i.e.
    double
    norm(T obj)
    Returns the norm of the given object
  • Method Details

    • norm

      double norm(T obj)
      Returns the norm of the given object
      Parameters:
      obj - some object
      Returns:
      the norm of the object
    • distance

      double distance(T obj1, T obj2)
      The distance between the two object, i.e. the norm of the difference vector.
      Parameters:
      obj1 - some object
      obj2 - some object
      Returns:
      the distance between the two objects