Package cc.mallet.types
Interface Metric
-
- All Known Subinterfaces:
CachedMetric
- All Known Implementing Classes:
EuclideanDistance
,InfiniteDistance
,ManhattenDistance
,Minkowski
,NormalizedDotProductMetric
public interface Metric
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
distance(SparseVector a, SparseVector b)
-
-
-
Method Detail
-
distance
double distance(SparseVector a, SparseVector b)
-
-