fr.inrialpes.exmo.ontosim.util.measures
Class CachedMeasure<O>
java.lang.Object
fr.inrialpes.exmo.ontosim.util.measures.CachedMeasure<O>
- All Implemented Interfaces:
- Measure<O>
- Direct Known Subclasses:
- IterativeNodeSim
public class CachedMeasure<O>
- extends Object
- implements Measure<O>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mValues
protected MatrixDouble<O,O> mValues
type
protected Measure.TYPES type
CachedMeasure
public CachedMeasure(MatrixDouble<O,O> mValues,
Measure.TYPES typeM)
CachedMeasure
protected CachedMeasure(Measure.TYPES typeM)
getDissim
public double getDissim(O o1,
O o2)
- Specified by:
getDissim
in interface Measure<O>
getMType
public Measure.TYPES getMType()
- Specified by:
getMType
in interface Measure<O>
getMeasureValue
public double getMeasureValue(O o1,
O o2)
- Specified by:
getMeasureValue
in interface Measure<O>
getSim
public double getSim(O o1,
O o2)
- Specified by:
getSim
in interface Measure<O>
(C) INRIA & friends, 2008-2009