de.lmu.ifi.dbs.elki.distance.distancefunction
Interface PrimitiveDoubleDistanceFunction<O>

Type Parameters:
O - Object type
All Superinterfaces:
DistanceFunction<O,DoubleDistance>, InspectionUtilFrequentlyScanned, Parameterizable, PrimitiveDistanceFunction<O,DoubleDistance>
All Known Subinterfaces:
SpatialPrimitiveDoubleDistanceFunction<V>
All Known Implementing Classes:
AbstractCosineDistanceFunction, AbstractDimensionsSelectingDoubleDistanceFunction, AbstractEditDistanceFunction, AbstractVectorDoubleDistanceFunction, ArcCosineDistanceFunction, CosineDistanceFunction, DimensionSelectingDistanceFunction, DimensionSelectingLatLngDistanceFunction, DimensionsSelectingEuclideanDistanceFunction, DTWDistanceFunction, EDRDistanceFunction, ERPDistanceFunction, EuclideanDistanceFunction, HistogramIntersectionDistanceFunction, HSBHistogramQuadraticDistanceFunction, LatLngDistanceFunction, LCSSDistanceFunction, LngLatDistanceFunction, LPNormDistanceFunction, ManhattanDistanceFunction, MaximumDistanceFunction, MinimumDistanceFunction, PearsonCorrelationDistanceFunction, RGBHistogramQuadraticDistanceFunction, SquaredEuclideanDistanceFunction, SquaredPearsonCorrelationDistanceFunction, WeightedDistanceFunction, WeightedLPNormDistanceFunction, WeightedPearsonCorrelationDistanceFunction, WeightedSquaredEuclideanDistanceFunction, WeightedSquaredPearsonCorrelationDistanceFunction

public interface PrimitiveDoubleDistanceFunction<O>
extends PrimitiveDistanceFunction<O,DoubleDistance>

Interface for distance functions that can provide a raw double value. This is for use in performance-critical situations that need to avoid the boxing/unboxing cost of regular distance API.


Method Summary
 double doubleDistance(O o1, O o2)
          Computes the distance between two given Objects according to this distance function.
 
Methods inherited from interface de.lmu.ifi.dbs.elki.distance.distancefunction.PrimitiveDistanceFunction
distance, getInputTypeRestriction
 
Methods inherited from interface de.lmu.ifi.dbs.elki.distance.distancefunction.DistanceFunction
getDistanceFactory, instantiate, isMetric, isSymmetric
 

Method Detail

doubleDistance

double doubleDistance(O o1,
                      O o2)
Computes the distance between two given Objects according to this distance function.

Parameters:
o1 - first Object
o2 - second Object
Returns:
the distance between two given Objects according to this distance function

Release 0.4.0 (2011-09-20_1324)