Package cc.mallet.types
Interface CachedMetric
-
- All Superinterfaces:
Metric
- All Known Implementing Classes:
NormalizedDotProductMetric
public interface CachedMetric extends Metric
Stores a hash for each object being compared for efficient computation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
distance(SparseVector a, int hashCodeA, SparseVector b, int hashCodeB)
-
-
-
Method Detail
-
distance
double distance(SparseVector a, int hashCodeA, SparseVector b, int hashCodeB)
-
-