fr.inrialpes.exmo.ontosim.util.measures
Class MeasureCache<O>
java.lang.Object
fr.inrialpes.exmo.ontosim.util.measures.MeasureCache<O>
- All Implemented Interfaces:
- Measure<O>
public class MeasureCache<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 Matrix<O,O> mValues
m
protected Measure<O> m
fullMatrix
protected boolean fullMatrix
MeasureCache
public MeasureCache(Measure<O> m)
MeasureCache
public MeasureCache(Measure<O> m,
boolean fullMatrix)
createMatrix
protected void createMatrix()
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