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
 double distance(SparseVector a, int hashCodeA, SparseVector b, int hashCodeB)
           
 
Methods inherited from interface cc.mallet.types.Metric
distance
 

Method Detail

distance

double distance(SparseVector a,
                int hashCodeA,
                SparseVector b,
                int hashCodeB)