public class CachedMeasure<O> extends Object implements Measure<O>
Measure.TYPES
Modifier and Type | Field and Description |
---|---|
protected Matrix<O,O> |
mValues |
protected Measure.TYPES |
type |
Modifier | Constructor and Description |
---|---|
|
CachedMeasure(Matrix<O,O> mValues,
Measure.TYPES typeM) |
protected |
CachedMeasure(Measure.TYPES typeM) |
Modifier and Type | Method and Description |
---|---|
double |
getDissim(O o1,
O o2) |
double |
getMeasureValue(O o1,
O o2) |
Measure.TYPES |
getMType() |
double |
getSim(O o1,
O o2) |
protected Measure.TYPES type
public CachedMeasure(Matrix<O,O> mValues, Measure.TYPES typeM)
protected CachedMeasure(Measure.TYPES typeM)
public Measure.TYPES getMType()
public double getMeasureValue(O o1, O o2)
getMeasureValue
in interface Measure<O>
(C) INRIA, Univ. Grenoble Alpes & friends, 2008-2017