Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD