de.aitools.aq.algebra.vector.functions
Interface Distance<T>

Type Parameters:
T - The class of the objects of which the distance can be computed
All Superinterfaces:
Proximity<T>
All Known Implementing Classes:
EuclideanDistance, ManhattanDistance

public interface Distance<T>
extends Proximity<T>

A measure for computing how far away two objects are from each other.
The Proximity of a distance measure is most likely the negative distance.

Version:
$Id: Distance.java,v 1.2 2011/02/21 20:19:01 dogu3912 Exp $
Author:
tim.gollub(/\t)uni-weimar.de, johannes.kiesel(/\t)uni-weimar.de

Method Summary
 double computeDistance(T v1, T v2)
          Compute a kind of distance between two objects.
 
Methods inherited from interface de.aitools.aq.algebra.vector.functions.Proximity
computeNormalizedProximity, computeProximity
 

Method Detail

computeDistance

double computeDistance(T v1,
                       T v2)
Compute a kind of distance between two objects. A higher value signals higher distance.

Parameters:
v1 - One object, to be compared to the...
v2 - ...second object
Returns:
Computed distance